Mathieu Eyraud
Mathieu Eyraud
GCC 11 added attribute `malloc (deallocator, ptr-index)` which detects mismatched allocation and deallocation functions (like the one found in [4ada14a](https://github.com/libsdl-org/SDL/commit/4ada14a267a9cfa4a917dad52e6d3c1dd7d7b47c)) . It could be useful for objects that need a...
I think more check should be enabled: - `google-readability-casting` to remove some useless cast - `bugprone-interger-division` there are several of these and I think someone should check them - `clang-analyzer-core.*`...
Marked as draft because I noticed I made some mistakes. I will fix them, but not right now.
I fixed and tested this with a Dualshock 4. It is ready for review and test with other controllers.
I force pushed the minor requested changes on the first commit. In the commit to improve sensor detection, I used names and code from `SDL_ShouldIgnoreGamepad()` so I moved `SDL_endswith()` from...
> I have [tried](https://github.com/systemd/systemd/pull/22860) to get the equivalent of this udev rule upstream into udev I hope that SDL being able to read these devices will help push this request.
First you can actually download the analysis result here: https://github.com/IVOES/SDL/actions/runs/7866065015 (artifact at the bottom of the page), link from bot is a 404 error. ### I took a look at...
Yes, please make these changes. I have no power to accept this PR, but i will look at the warnings and it has more chance to be accepted if something...
As I am interested in SDL_gpu and am working on an OpenGL implementation of it (https://github.com/icculus/SDL/pull/7), here what I think: I like the idea of SDL_gpu handling cycles. I am...
I have some more remark/question: Why do transfer functions that happen "on the GPU timeline" (`SDL_GpuUploadToBuffer()`, ...) take a `cycle` parameter? All operations in the command buffer are also on...