SDL/src/video
David Gow 84808ea4bb video: Add SDL_PremultiplySurfaceAlphaToARGB8888()
A number of video backends need to get ARGB8888 formatted surfaces with
premultiplied alpha, typically for mouse cursors. Add a new function to
do this, based loosely on legacy_alpha_premultiply_ARGB8888() from the
KMSDRM backend.

The new function, SDL_PremultiplySurfaceAlphaToARGB8888() takes two
arguments:
- src: an SDL_Surface to be converted.
- dst: a buffer which is filled with premultiplied ARGB8888 data of the
  same size as the surface (assuming pitch = w).

This is not heavily optimised: it just repeatedly calls SDL_GetRGBA() to
do the conversion, but should do for now.
2021-10-22 05:50:00 -07:00
..
android Work around hang in AAudioStream_write() during extended shared object loading while running in a debugger. Observed on a OnePlus 8T (KB2005) running Oxygen OS 11.0.10.10.KB05AA. 2021-10-13 09:33:51 -07:00
arm
cocoa Add SDL_GetWindowICCProfile(). (#4314) 2021-10-21 17:37:20 -07:00
directfb DirectFB: fixed creation of palette textures 2021-10-01 22:30:51 +02:00
dummy video/dummy: Don't zero out the fake display mode before adding it. 2021-06-17 22:11:10 -04:00
emscripten emscripten: Don't flag window fullscreen on external requests 2021-08-14 17:04:46 +01:00
haiku
khronos Update SDL's copy of the EGL headers from Khronos 2021-08-25 10:50:21 -10:00
kmsdrm Fixed some accidental uses of external C runtime functions 2021-09-22 09:06:45 -07:00
nacl configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
offscreen
os2 SDL_os2video.c: missed replacing a use of libc function 2021-10-18 14:10:56 +03:00
pandora
psp
qnx
raspberry
uikit video/uikit: Do not use setNeedsUpdateOfPrefersPointerLocked on iOS SDKs older than 14 2021-10-21 21:21:57 -07:00
vita Vita: add support for disabling 'screensaver' (screen dimming and suspend) 2021-09-16 09:03:17 -07:00
vivante
wayland wayland: Only dispatch frame events in Wayland_GLES_SwapWindow 2021-10-07 05:12:00 -04:00
windows Add SDL_GetWindowICCProfile(). (#4314) 2021-10-21 17:37:20 -07:00
winrt winrt: Fixed incorrect code in a Windows Phone #ifdef. 2021-08-04 02:30:47 -04:00
x11 Add SDL_GetWindowICCProfile(). (#4314) 2021-10-21 17:37:20 -07:00
yuv2rgb Fixed bug #4841 - Out of bounds read (by 1 byte) in yuvnv12_rgb24_sseu 2021-10-17 22:02:19 +02:00
SDL_RLEaccel.c Error missing 'flags' initialization (see bug #2881) 2021-04-28 23:40:26 +02:00
SDL_RLEaccel_c.h
SDL_blit.c
SDL_blit.h
SDL_blit_0.c
SDL_blit_1.c
SDL_blit_A.c Add a fast path for ARGB888->(A)BGR888 blending with pixel alpha 2021-09-28 11:27:56 -07:00
SDL_blit_N.c
SDL_blit_auto.c
SDL_blit_auto.h
SDL_blit_copy.c Fixed building on Windows with cmake, ninja, and clang 2021-08-06 12:28:24 -07:00
SDL_blit_copy.h
SDL_blit_slow.c
SDL_blit_slow.h
SDL_bmp.c Fixed compiler warning on Visual Studio 2021-06-17 11:23:47 -07:00
SDL_clipboard.c
SDL_egl.c egl: Don't fail to create a context if KHR_create_context_no_error is unsupported 2021-09-27 13:53:16 -04:00
SDL_egl_c.h egl: Group data fields before function pointers in SDL_EGL_VideoData. 2021-09-23 00:03:26 -04:00
SDL_fillrect.c
SDL_pixels.c video: Add SDL_PremultiplySurfaceAlphaToARGB8888() 2021-10-22 05:50:00 -07:00
SDL_pixels_c.h video: Add SDL_PremultiplySurfaceAlphaToARGB8888() 2021-10-22 05:50:00 -07:00
SDL_rect.c
SDL_rect_c.h
SDL_shape.c
SDL_shape_internals.h
SDL_stretch.c
SDL_surface.c SDL_ConvertSurface: add an intermediate variable to remove static analysis false positive (see bug #4600) 2021-08-27 14:09:47 +02:00
SDL_sysvideo.h Add SDL_GetWindowICCProfile(). (#4314) 2021-10-21 17:37:20 -07:00
SDL_video.c Add SDL_GetWindowICCProfile(). (#4314) 2021-10-21 17:37:20 -07:00
SDL_vulkan_internal.h
SDL_vulkan_utils.c Fixed bug #4337 - compilation of 'SDL_vulkan_utils' fails with 'VK_ERROR_INCOMPATIBLE_VERSION_KHR' undeclared 2021-04-29 22:25:00 +02:00
SDL_yuv.c
SDL_yuv_c.h
sdlgenblit.pl