SDL/src/video
Sam Lantinga 5e19e66c73 Fixed bug 4914 - Expose SDL_ScaleMode and add SDL_SetTextureScaleMode/SDL_GetTextureScaleMode
Konrad

This was something rather trivial to add, but asked at least several times before (I did google about it as well).

It should be possible to dynamically change scaling mode of the texture. It is actually trivial task, but until now it was only possible with a hint before creating a texture.

I needed it for my game as well, so I took the liberty of writing it myself.

This patch adds following functions:

SDL_SetTextureScaleMode(SDL_Texture * texture, SDL_ScaleMode scaleMode);
SDL_GetTextureScaleMode(SDL_Texture * texture, SDL_ScaleMode *scaleMode);

That way you can change texture scaling on the fly.
2019-12-22 13:39:44 -08:00
..
android Android: same way as in nativePause(), resume events are sent from SDL thread 2019-12-21 22:40:33 +01:00
arm ARM: NEON assembly optimization for SDL_FillRect 2019-10-24 21:17:52 -04:00
cocoa Added new HIDAPI driver files to the Xcode projects 2019-12-19 15:18:50 -08:00
directfb Fixed bug 4914 - Expose SDL_ScaleMode and add SDL_SetTextureScaleMode/SDL_GetTextureScaleMode 2019-12-22 13:39:44 -08:00
dummy Updated copyright for 2019 2019-01-04 22:01:14 -08:00
emscripten Add a windowID field to SDL_TouchFingerEvent (bug #4331). 2019-08-01 18:22:12 -03:00
haiku haiku: Disable pointer history 2019-12-03 02:49:01 -05:00
khronos
kmsdrm kmsdrm: Fix busy-loop within libc's dlopen() 2019-12-19 21:47:43 -08:00
nacl Updated copyright for 2019 2019-01-04 22:01:14 -08:00
offscreen offscreen: Add new video driver backend Offscreen 2019-09-24 16:36:48 -04:00
pandora Updated copyright for 2019 2019-01-04 22:01:14 -08:00
psp Updated copyright for 2019 2019-01-04 22:01:14 -08:00
qnx
raspberry RPI_FreeCursor: set global_cursor to NULL to prevent double-free (bug 4769) 2019-08-26 18:41:40 +03:00
uikit Update for bug 4883 - Add approximation for display DPI on iOS 2019-12-16 10:26:36 -08:00
vivante video: Add Vulkan support for vivante fb 2019-05-19 10:36:44 -07:00
wayland Wayland: touch events, use of memory after it is freed 2019-10-30 21:12:36 +01:00
windows Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!) 2019-10-23 09:26:27 +02:00
winrt WinRT: fix a link-time error when building UWP + x64 2019-10-02 14:55:02 -04:00
x11 Fix sending SDL_WINDOWEVENT_RESTORED after unminimizing windows on X11 2019-12-02 15:41:25 +00:00
yuv2rgb
SDL_blit.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_0.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_1.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_A.c ARM: NEON assembly optimization for function BlitARGBto565PixelAlpha 2019-10-24 21:17:38 -04:00
SDL_blit_auto.c BlitAuto: remove redundant cast to the same type 2019-10-30 14:37:06 +01:00
SDL_blit_auto.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_copy.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_copy.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_N.c Readability: remove redundant return, continue, enum declaration 2019-10-30 15:36:17 +01:00
SDL_blit_slow.c Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
SDL_blit_slow.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_bmp.c SDL_bmp.c: remove unused variable warnings 2019-09-05 10:08:47 +02:00
SDL_clipboard.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_egl.c Android: remove eglGetProcAdded busted comment (bug #4040) 2019-10-23 11:07:11 +02:00
SDL_egl_c.h offscreen: Avoid using EGLDeviceEXT as it causes issues with older platforms, which is just a void* 2019-09-24 17:27:51 -04:00
SDL_fillrect.c Use fill_function for FillRect SIMD/NEON (bug 4365) 2019-10-29 16:13:41 +01:00
SDL_pixels.c Added SDL_PIXELFORMAT_BGR444 2019-11-02 22:58:52 +00:00
SDL_pixels_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rect.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rect_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_RLEaccel.c Fix const warning in RLE getpix functions 2019-10-30 16:17:59 +01:00
SDL_RLEaccel_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_shape.c Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
SDL_shape_internals.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_stretch.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_surface.c Fixed whitespace 2019-10-18 08:56:54 -07:00
SDL_sysvideo.h Fixed bug 4890 - Add hint for SDL that the graphics context is externally managed 2019-12-08 11:33:06 -08:00
SDL_video.c Fixed bug 4890 - Add hint for SDL that the graphics context is externally managed 2019-12-08 11:33:06 -08:00
SDL_vulkan_internal.h video: Add Vulkan support for vivante fb 2019-05-19 10:36:44 -07:00
SDL_vulkan_utils.c vulkan: Fixed use-after-free bug. 2019-06-12 15:37:07 -04:00
SDL_yuv.c Android: minor warning 2019-08-30 09:00:06 +02:00
SDL_yuv_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
sdlgenblit.pl BlitAuto: remove redundant cast to the same type 2019-10-30 14:37:06 +01:00