src/video/vita


Log

Author Commit Date CI Message
Sam Lantinga b8d85c69 2022-11-30T12:51:59 Update for SDL3 coding style (#6717) I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base. In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted. The script I ran for the src directory is added as build-scripts/clang-format-src.sh This fixes: #6592 #6593 #6594 (cherry picked from commit 5750bcb174300011b91d1de20edb288fcca70f8c)
Sylvain Becker fb0ce375 2022-11-27T17:38:43 Cleanup add brace (#6545) * Add braces after if conditions * More add braces after if conditions * Add braces after while() conditions * Fix compilation because of macro being modified * Add braces to for loop * Add braces after if/goto * Move comments up * Remove extra () in the 'return ...;' statements * More remove extra () in the 'return ...;' statements * More remove extra () in the 'return ...;' statements after merge * Fix inconsistent patterns are xxx == NULL vs !xxx * More "{}" for "if() break;" and "if() continue;" * More "{}" after if() short statement * More "{}" after "if () return;" statement * More fix inconsistent patterns are xxx == NULL vs !xxx * Revert some modificaion on SDL_RLEaccel.c * SDL_RLEaccel: no short statement * Cleanup 'if' where the bracket is in a new line * Cleanup 'while' where the bracket is in a new line * Cleanup 'for' where the bracket is in a new line * Cleanup 'else' where the bracket is in a new line (cherry picked from commit 6a2200823c66e53bd3cda4a25f0206b834392652 to reduce conflicts merging between SDL2 and SDL3)
Simon McVittie 412ceb84 2022-05-24T16:27:54 video: Only check major version in SDL_GetWindowWMInfo Since #5602, SDL is intended to have the same ABI across the whole major-version 2 cycle, so we should not check that the minor version matches the one that was used to compile an application. There are two checks that could make sense here. The first check is that the major version matches the expected major version. This is usually unnecessary and is not usually done (if we're calling into the wrong library we'll likely crash anyway), but since we have the information, we might as well continue to use it. The second check is whether the version provided by the caller is equal to or greater than a threshold version at which additional fields were added to the struct. If it is, we should populate those fields; if it is not, then we cannot. This is only useful on platforms where additional fields have genuinely been added during the lifetime of SDL 2, like Windows and DirectFB (but not X11). This commit changes the first check to be consistent about only looking at the minor version, while leaving the second check using SDL_VERSIONNUM (which will be removed or widened in SDL 3, but it's fine for now). Resolves: https://github.com/libsdl-org/SDL/issues/5711 Fixes: cd7c2f1 "Switch versioning scheme to be the same as GLib and Flatpak" Signed-off-by: Simon McVittie <smcv@collabora.com>
Jaylon Gowie 3753a7b1 2022-04-19T14:42:39 Fix recent changes in VitaSDK
Ivan Epifanov 95c0fec5 2022-03-31T12:35:17 Vita: PVROGL: fix indentation and ifdef guards
Jaylon Gowie b5700ab3 2022-03-29T19:32:21 Cleanup Spaces
Jaylon Gowie 8c542a35 2022-03-29T19:08:56 Desktop OpenGL 1.X/2.X PSVita Support
SonicMastr ecd922b5 2022-02-01T22:33:13 Fix touch holding detection after #5244 changes
pionere 60deadba 2022-01-17T17:22:30 re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory
Sam Lantinga 120c76c8 2022-01-03T09:40:00 Updated copyright for 2022
Sylvain d31251b0 2021-11-21T22:30:48 use SDL's functions version inplace of libc version
Ivan Epifanov 9c799802 2021-10-26T15:18:26 Vita: fix IME input languages
Ivan Epifanov 8d1e0ca3 2021-09-16T12:48:39 Vita: add support for disabling 'screensaver' (screen dimming and suspend)
Ivan Epifanov ce177049 2021-09-12T09:34:41 Vita: Allow completely skipping pvr init to override apphint from app
Ivan Epifanov b2504b5d 2021-09-11T20:08:03 Fix typos
Jaylon Gowie e4556594 2021-09-10T21:13:51 Simplify Backspace and Enter
Jaylon Gowie f162d9ee 2021-09-10T21:02:22 Fix Indentation
Jaylon Gowie 058c4d36 2021-09-10T20:55:49 Add envvar to disable touchpads independently
Jaylon Gowie 4435543d 2021-09-10T20:01:40 Add PVR On Screen Keyboard Support
Ivan Epifanov 10d3df44 2021-09-09T12:46:28 Vita: fix copyright dates
Ivan Epifanov 2a836860 2021-09-09T12:36:40 Fix default path
Ivan Epifanov 134dd468 2021-08-16T19:08:12 Add pvr gles/gles2 context support
Jaylon Gowie bc3b98f3 2021-07-25T03:33:44 Replace with SDL_SendKeyboardKeyAutoRelease
Jaylon Gowie 5cd37c0a 2021-07-25T01:04:51 Add Enter Key support to PSVita IME keyboard
Sebastian Krzyszkowiak 7b0092db 2021-07-23T18:58:25 vita: touch: Mark the back panel as an indirect absolute touch device It's not a touchscreen, but an additional touch panel on the back of the device.
Jaylon Gowie 48bbe31b 2021-07-20T21:45:21 Add PreSwapCallback for updating SceCommonDialog
Jaylon Gowie 9c1306bc 2021-07-20T21:44:16 Add elgext.h header
Ivan Epifanov 0994a758 2021-07-01T20:36:49 Don't hardcode message length
Ivan Epifanov 9d452719 2021-06-21T15:42:47 Vita: append messagebox title
Ivan Epifanov bbdd08e0 2021-06-10T13:20:39 Build without PIB support by default and add flag to enable it
Ivan Epifanov c2b8b556 2021-06-10T12:06:28 Older api, not needed
Ivan Epifanov 33127271 2021-03-09T11:40:35 Fix typecasting
Ivan Epifanov bd14aa63 2020-11-21T23:09:30 Autobuild
Ivan Epifanov ef0bbfd6 2020-11-16T20:40:22 Include anf fix vita2d renderer
Ivan Epifanov dbb730d3 2020-11-14T23:37:26 Separate vita piglet renderer. Add proper render initialization and window re-creation.
Ivan Epifanov 2d64e37e 2020-11-02T18:09:43 Initial rebase of xerpi's port
Ivan Epifanov a4ddb175 2021-03-08T19:28:58 Formatting
Ivan Epifanov 4f9fde87 2021-03-08T19:20:33 Fix types
Ivan Epifanov e1d9cbf6 2021-03-07T13:56:38 Split mouse/kb grab
uyjulian 29153a1c 2021-02-28T14:38:55 SDL_vitamessagebox: rearrange if/else Set messageboxdata and buttonid as unused variables
uyjulian 70a19fd5 2021-02-28T13:59:51 SDL_vitamessagebox: if/else wrap preprocessor condition instead of two if conditions
uyjulian c8abc88c 2021-01-29T01:26:35 Add support for message box
Ivan Epifanov 6fab3323 2021-02-12T23:45:48 Typo
Ivan Epifanov 23db5381 2021-01-11T23:54:56 Fix defines
Ivan Epifanov e56c4451 2021-01-10T00:12:03 Disable native framebuffer support
Ivan Epifanov 5e30d84b 2021-01-09T23:33:32 Fix display mode
Ivan Epifanov 10038228 2021-01-09T23:33:14 Properly cleanup framebuffer
Ivan Epifanov 953101de 2021-01-09T22:55:11 Oops. Fix default framebuffer color
Ivan Epifanov 1e2eed1a 2020-12-28T15:32:52 Native framebuffer for software renderer
Ivan Epifanov a7269a9a 2020-12-23T17:27:01 Update video api to 2.0.14
Ivan Epifanov ca5e5d61 2020-12-18T16:34:24 VITASDK compatibility
Ivan Epifanov 7d89f09f 2020-12-18T14:28:09 ISO C90 fixes
Ivan Epifanov 0da35d3d 2020-12-12T23:47:15 IME support with gxm backend
Ivan Epifanov 943053a9 2020-12-09T01:50:49 Clean up touch a little more
Ivan Epifanov f61b9e76 2020-12-09T00:37:46 Cleanup touch. Fix back touchscreen