Sam Lantinga
|
dc639956ba
Improve logging performance and make log priorities thread-safe
|
1 year ago |
Sam Lantinga
|
575d9cda6f
The parameter to SDL_AppEvent() should be non-const
|
1 year ago |
Sam Lantinga
|
9ff3446f03
Use SDL_bool instead an int return code in the SDL API
|
1 year ago |
Sam Lantinga
|
438a214420
Changed main callback return values to an enumeration
|
1 year ago |
Anonymous Maarten
|
4ac5d4506b
testcamera: always render current texture
|
1 year ago |
Qiu Qiang
|
d60e6e2558
testcamera: Add logging for camera FPS (#10525)
|
1 year ago |
Sam Lantinga
|
728bf363cb
Make sure we call SDL_Quit() before SDLTest_CommonDestroyState()
|
1 year ago |
Sam Lantinga
|
4f55271571
Removed temporary memory from the API
|
1 year ago |
Sam Lantinga
|
01199469de
SDL_GetCameras() follows the SDL_GetStringRule
|
1 year ago |
Sam Lantinga
|
0fe6603747
SDL_GetCameraSupportedFormats() follows the SDL_GetStringRule
|
1 year ago |
Sam Lantinga
|
9797c5d0c0
Renamed CameraDevice to Camera
|
1 year ago |
Sam Lantinga
|
2ba76dbe80
Simplified SDL_Surface
|
1 year ago |
Sam Lantinga
|
0dd579d40d
Removed SDL_Keysym
|
1 year ago |
Sam Lantinga
|
d7391394d3
Switched the camera format to use framerate ratio instead of interval ratio
|
1 year ago |
Sam Lantinga
|
aeea819494
Added colorspace to SDL_CameraSpec
|
1 year ago |
Ryan C. Gordon
|
5bc654aad3
camera: SDL_GetCameraDeviceName() now follows the SDL_GetStringRule.
|
1 year ago |
Ryan C. Gordon
|
9d3d893322
testcamera: Report device name and SDL camera driver in the window title.
|
1 year ago |
Sam Lantinga
|
80a907e0e6
Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e
|
1 year ago |
Sam Lantinga
|
9fb5a9ccac
Use floating point values for viewport, clip rectangle, and texture sizes
|
1 year ago |
Hunter Kvalevog
|
14f7eebac6
testcamera: Add [--camera name] parameter
|
1 year ago |
Sam Lantinga
|
4d392bfc67
Fixed camera capture on iOS
|
1 year ago |
Sam Lantinga
|
60396971ce
Move the main header with SDL_MAIN_USE_CALLBACKS
|
1 year ago |
Ryan C. Gordon
|
3364aff757
main: Make the main callback return value symbols smaller (thanks, @Lzard!).
|
1 year ago |
L zard
|
06aa02453a
Tests: Use the main callback code macros
|
1 year ago |
Anonymous Maarten
|
d3d7c04bf8
testcamera: libSDL3_test destroys the window and renderer
|
1 year ago |
Sam Lantinga
|
4609af618a
Updated logging functions for SDL3 naming convention
|
1 year ago |
Sam Lantinga
|
db43a6b418
testcamera: open the camera using the highest framerate available
|
1 year ago |
Sam Lantinga
|
e6e1412e20
testcamera: create the texture as a streaming texture, since we'll update it every frame.
|
1 year ago |
Ryan C. Gordon
|
38e3c6a4aa
main: Add an optional `appstate` param to main callback entry points.
|
2 years ago |
Susko3
|
01248a99c8
Add `default: break;` to switches on SDL_Event::type
|
2 years ago |