Sylvain Becker
Sylvain Becker
I don't remember why. but the code there is common to all text/shaded/blended/lcd. Maybe this make more sense with blended/shaded - and not LCD rendering? maybe blending with alpha ==...
I can try to have a look to this !
ok, here's some experiment : https://github.com/libsdl-org/sdl2-compat/pull/119/files can be tested by patching SDL3, so that SDL_Surface really changes ! ``` diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index fcc8c1d2c..601d36cb5 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h...
( maybe we revert this https://github.com/libsdl-org/SDL/commit/ebc12a2fd2bb692908884e7db6cc935941a591f2 )
maybe because it uses SDL_config_minimal ... ``` include/SDL2/SDL_config_ngage.h:#define SDL_JOYSTICK_DISABLED 1 include/SDL2/SDL_config.h.cmake:#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@ include/SDL2/SDL_config.h.in:#undef SDL_JOYSTICK_DISABLED include/SDL2/SDL_config_minimal.h:#define SDL_JOYSTICK_DISABLED 1 include/SDL2/SDL_config_winrt.h:#define SDL_JOYSTICK_DISABLED 1 ```
(if possible, SDL could run (with compilation flags) in different flavors: legacy SDL_Render, Ryan's SDL_GPU , etc.. )
Original ticket was #7706 I've added some code for Macosx, but this is incomplete and untested (I have no trackpad on mac mini, and cannot get the ipad to work...
Android has begin/update/end callbacks for pinch events. but for swipe, nothing yet really clear for me. if you move 1 finger, you get a swipe. in somecase, users would prefer...
On IOS, added callbacks to handle pinch gestures. (tvos seems to already use the swipe gestures, and doesn't compile with pinch) maybe, we shouldn't try to expose the swipe gesture,...
@libsdl-org/a-team hey, It compiles and has been cleaned up ! needs some feedback !