Sam Lantinga

Results 1875 comments of Sam Lantinga

They should work with hidraw support out of the box.

It depends on what SDL functionality you need, but the basic steps are to include the SDL java source, and then your activity needs to extend QtActivity, and do SDL...

Yes, `#define SDL_MAIN_HANDLED` is correct here, and you should add this before SDL_Init() in your main(): ```c++ SDL_SetMainReady(); ```

I believe we use linear RGB in the SDL renderer. I'm going to be working on HDR soon, so I'll make sure this is the case and add a hint...

FYI, I did some investigation and we're using sRGB in the renderer, and also doing alpha blending in the sRGB space with the software renderer. Recent SDL3 code now uses...

So it's official, and documented, SDL uses sRGB by default, but you can request the scRGB colorspace with at least the direct3d11 and direct3d12 renderers, which will put you into...

Is there anything left to move this out of draft status?

> Looking back at the history, I think the reason this was draft is that I asked > > > Do SDL maintainers think this is a good design for...

Not currently, but you're welcome to add it and submit a pull request.

@futan-yj, did you get any farther? This is something I'd like to get for SDL 3.0