Sun, 02 Sep 2012 16:03:56 -0700 Use fast path for RGB 565 -> 32-bit XRGB 8888
Sam Lantinga <slouken@libsdl.org> [Sun, 02 Sep 2012 16:03:56 -0700] rev 6410
Use fast path for RGB 565 -> 32-bit XRGB 8888 Hello Sam, while profiling ScummVM I noticed it was making use of the generic BlitNToN blitter, which struck me as odd because it should be a very classical codepath. After investigating, I saw that in the blit op chooser: { 0x0000F800,0x000007E0,0x0000001F, 4, 0x00FF0000,0x0000FF00,0x000000FF, 0, NULL, Blit_RGB565_ARGB8888, SET_ALPHA }, { 0x0000F800,0x000007E0,0x0000001F, 4, 0x000000FF,0x0000FF00,0x00FF0000, 0, NULL, Blit_RGB565_ABGR8888, SET_ALPHA }, { 0x0000F800,0x000007E0,0x0000001F, 4, 0xFF000000,0x00FF0000,0x0000FF00, 0, NULL, Blit_RGB565_RGBA8888, SET_ALPHA }, { 0x0000F800,0x000007E0,0x0000001F, 4, 0x0000FF00,0x00FF0000,0xFF000000, 0, NULL, Blit_RGB565_BGRA8888, SET_ALPHA }, Couldn't the optimized versions be used for NO_ALPHA too? I take it that the resulting alpha component can be undefined as it should never be used. I tried this (see attached patch) and it worked perfectly (and therefore faster) on ScummVM but there might be a trick (I'm not expert at the semantics of SDL, ie NO_ALPHA, SET_ALPHA and COPY_ALPHA there). What do you think? Cheers, Bertrand
Thu, 30 Aug 2012 12:58:58 -0700 Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Thu, 30 Aug 2012 12:58:58 -0700] rev 6409
Fixed compiler warning.
Sun, 26 Aug 2012 20:27:25 -0400 Removed AC_GNU_SOURCE from SDL2's configure script.
Ryan C. Gordon <icculus@icculus.org> [Sun, 26 Aug 2012 20:27:25 -0400] rev 6408
Removed AC_GNU_SOURCE from SDL2's configure script.
Sat, 25 Aug 2012 22:21:16 -0400 Fixed compiler warning on some versions of GCC.
Ryan C. Gordon <icculus@icculus.org> [Sat, 25 Aug 2012 22:21:16 -0400] rev 6407
Fixed compiler warning on some versions of GCC.
Sat, 25 Aug 2012 16:49:05 -0400 Fixed wglShareLists() call that used the wrong variable.
Ryan C. Gordon <icculus@icculus.org> [Sat, 25 Aug 2012 16:49:05 -0400] rev 6406
Fixed wglShareLists() call that used the wrong variable.
Sat, 25 Aug 2012 16:46:34 -0400 Removed _GNU_SOURCE define. We'll see if we need it. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Sat, 25 Aug 2012 16:46:34 -0400] rev 6405
Removed _GNU_SOURCE define. We'll see if we need it.
Fri, 24 Aug 2012 19:39:51 -0400 Whoops, removed wrong variable.
Ryan C. Gordon <icculus@icculus.org> [Fri, 24 Aug 2012 19:39:51 -0400] rev 6404
Whoops, removed wrong variable.
Fri, 24 Aug 2012 19:34:28 -0400 Fixed a bunch of compiler warnings with Cygwin/MingW.
Ryan C. Gordon <icculus@icculus.org> [Fri, 24 Aug 2012 19:34:28 -0400] rev 6403
Fixed a bunch of compiler warnings with Cygwin/MingW.
Fri, 24 Aug 2012 10:04:07 -0700 Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Fri, 24 Aug 2012 10:04:07 -0700] rev 6402
Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan Brad Smith 2012-08-01 20:10:19 PDT The attached patch from the OpenBSD ports tree is to increase the number of uhid devices to scan for joysticks. It's somewhat easy to exhaust the default number of devices which are scanned.
Fri, 24 Aug 2012 10:03:05 -0700 Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan
Sam Lantinga <slouken@libsdl.org> [Fri, 24 Aug 2012 10:03:05 -0700] rev 6401
Fixed bug 1561 - BSD joystick: Increase the number of uhid devices to scan Brad Smith 2012-08-01 20:10:19 PDT The attached patch from the OpenBSD ports tree is to increase the number of uhid devices to scan for joysticks. It's somewhat easy to exhaust the default number of devices which are scanned.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip