Commit Graph

245 Commits

Author SHA1 Message Date
olebeck
613b1c1056 Merge remote-tracking branch 'upstream' 2025-09-06 13:44:38 +02:00
olebeck
b451528d1d fix open isle.ini with fopen 2025-09-06 12:28:05 +02:00
Anders Jenbo
94c2d16180
Add OpenGL ES 2.0 renderer (#678) 2025-08-15 16:26:06 +00:00
Cookie
f06731784e
Android port (#656)
* initial files

* get building

* proper paths & default to virtual mouse

* Wrap gradle under cmake & build SDL3.aar

run cmake with  -DANDROID_NDK_PATH=/path/to/ndk to generate the .aar & run the gradle build

if using Android Studio you will have to run the aar script manually(or do the cmake cmd) then put the normal cmake args inside '-PcmakeArgs="-DCMAKE_BUILD_TYPE=Release ...."'  at `Settings > Build, Execution, Deployment > Gradle-Android Compiler > Command-line Options`
Check CMakeLists.txt Android build block for more info

* workflow and format

* dont cmake -> gradle -> cmake

* icons

* prevent first start crash due to missing isle.ini

dont force require gles3 (vulkan & software are options)

* cleanup

* cmake script & ci cleanup

use a cmake script to downoad SDL3 sources for aar building

* script cleanups & gradle stub for android studio

handle the env var setting for the sdl3 aar build script

* signing

needed repository secrets:
- keystore  :  key.jks in base64
- keystorePassword  :  Key store password
- keyAlias  :  Key alias, ex key0
- keyPassword  :  Key Password

* conditionally run action without keys

* compile SDL once & cross-platformize gradle tasks

* suggestions

* use find_package over manual configuration

* use MxString

---------

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-08-15 15:12:35 +00:00
olebeck
3958762721 clang-format 2025-08-13 01:30:32 +02:00
olebeck
78893bbeac gxm: add mipmaps (disabled) 2025-08-13 01:29:28 +02:00
olebeck
0d04ba60bf gxm: msaa support, fix wrong file path 2025-08-12 21:40:20 +02:00
olebeck
df743f901b Merge remote-tracking branch 'upstream/master' 2025-08-10 12:26:25 +02:00
Christian Semmler
fd36f07537
Workaround for WebGL driver bug (#645) 2025-07-24 17:42:47 +02:00
Christian Semmler
b69687d2f1
Update renderer.cpp (#643) 2025-07-23 22:24:21 +00:00
Christian Semmler
1a2e03de47
Make Anisotropic filtering configurable (#641) 2025-07-23 20:18:05 +00:00
Anders Jenbo
a9db8d321e
Add MSAA support to OpenGL 1.1 (#640) 2025-07-23 18:30:05 +00:00
Christian Semmler
a5a3c4ec83
Upgrade OpenGL ES renderer to 3.0, add option for MSAA (#636) 2025-07-23 18:00:48 +00:00
Christian Semmler
e86fd71560
Handle SDL_EVENT_FINGER_CANCELED (#633) 2025-07-20 16:33:53 +00:00
olebeck
b8b8fc4d19 Merge remote-tracking branch 'upstream/master' 2025-07-17 16:52:20 +02:00
VoxelTek
bf3820c054
Fix debug mode when OpenGL is set as graphics device (#615) 2025-07-16 08:22:36 +00:00
olebeck
bc96276c45 clang-format 2025-07-15 14:46:40 +02:00
olebeck
cb895e05c5 defer texture delete to avoid overwriting the texture during a frame 2025-07-15 14:44:05 +02:00
olebeck
0775db63a6 small cleanups in gxm renderer 2025-07-12 13:34:43 +02:00
olebeck
f7d7a2007b Merge remote-tracking branch 'upstream/master' 2025-07-12 12:19:45 +02:00
Christian Semmler
7c91a14875
Extended full screen capabilities for Web port (#584)
* Extended full screen capabilities for Web port

* Add Emscripten patches

* Add back newline
2025-07-12 03:05:33 +02:00
Christian Semmler
0e95e6d521
Fix ConvertEventToRenderCoordinates for mouse button events (#582) 2025-07-11 19:45:10 +02:00
olebeck
519ca1e1e2 Merge remote-tracking branch 'upstream/master' 2025-07-10 18:36:21 +02:00
olebeck
b26a707db2
put ifdefs around every d3drm backend so that any can be disabled (#569)
* put ifdefs around every d3drm backend so that any can be disabled

* make clang-format happy

* move backend selection and enum to its own functions
2025-07-10 18:19:21 +02:00
Helloyunho
4e8ac86415
Dynamically on/off virtual cursor (#567)
*  feat: eliminate need of draw_cursor config

* 🩹 fix: type mismatch
2025-07-10 08:58:17 +02:00
olebeck
d360fa290b use ifdefs for all d3drm backends, cpack to generate vpk 2025-07-09 18:16:49 +02:00
olebeck
4446aaaf53
translate and scale touch coordinates to the viewport (#565) 2025-07-09 12:55:26 +00:00
olebeck
4c7a44e0f3 Merge remote-tracking branch 'upstream/master' 2025-07-09 13:51:06 +02:00
Anders Jenbo
b8e7c8f774
Fix uninitialized ddpfPixelFormat in VTable0x44 (#563) 2025-07-09 05:40:24 +00:00
Christian Semmler
4dc8bfc0ac
Add full screen support (#560) 2025-07-09 00:17:20 +02:00
Anders Jenbo
da2a06ed2b
Use minimal test for SDL_GPU on macOS (#552) 2025-07-08 05:16:48 +02:00
Anders Jenbo
33f3bb29cf
Clear screen when resizing (#551) 2025-07-07 23:23:58 +00:00
Anders Jenbo
f8cc5b9651
Use FBO in WebGL (#547) 2025-07-08 00:48:00 +02:00
olebeck
feafa3c75e hopefully fix windows build 2025-07-07 17:36:08 +02:00
olebeck
e135bf5595 always clear before drawing 2d image 2025-07-07 15:09:27 +02:00
olebeck
8158bca0ab Merge remote-tracking branch 'upstream/master' 2025-07-07 15:03:03 +02:00
olebeck
0efac83ac5 move CONFIG_vita 2025-07-07 15:02:57 +02:00
Anders Jenbo
6df6ae407c
Fix transition on software rendere (#543) 2025-07-07 02:43:25 +02:00
olebeck
53e57a0ccb Merge remote-tracking branch 'upstream/master' 2025-07-06 22:24:42 +02:00
olebeck
eea79553d8 move config cmake 2025-07-06 19:04:30 +02:00
Anders Jenbo
9e14aac98a
Implement real transition for 3DS (#538) 2025-07-06 15:00:39 +00:00
olebeck
02b942b491 clang format 2025-07-06 16:41:04 +02:00
Helloyunho
04bcfde38b
Add Xbox One/Series X|S port (#526)
* chore: update README.md

*  feat: got the audio working

* 🔧 feat: add appxmanifest

* 🩹 fix: remove opengl stuff

* ⚗️ feat: add button support

* ⚗️ chore: try to make less modification from upstream

* 🩹 fix: doesnt compile

*  feat: forcibly draw cursor and map right joystick to cursor

* 🩹 fix: remap joystick

* 🎨 fix: formatting

* 🎨 fix: cmakelists formatting

* 🩹 fix: 3ds build

* 👷 feat: add xbox one ci build

* 💚 fix: github hates xbox series naming

* 💚 fix: dont run cpack for xbox one, vs does that for you

* 💚 fix: xbox one need to use vs as generator

* 💚 fix: please

* 💚 fix: it could be msix not bundle

* 💚 fix: try recursive directory search when upload release

* 🔨 feat: support cpack

* 👷 feat: better packaging

* 💚 fix: ignore if mv fails

* 🔧 feat: add mouse sensitivity config

* 🔥 chore: dont need you

* ⚗️ chore: use d3d11

*  feat: hardware acceleration!!

* 🚸 chore: change default cd path so user can easily copy the assets to xbox

* 🧑‍💻 chore: improve reusability

* 🚨 fix: formatting error

* 🚸 chore: draw cursor by default

* 🎨 chore: cmakelists formatting

* chore: match with upstream

* chore: more matching with upstream

* chore: don't need you

* 🩹 fix: apply changes

* 🔥 fix: we don't need controller map anymore

* 🩹 fix: use isle style include guard

* 🩹 fix: last newline fix

* 👷 chore: use cpack

* 💚 fix: try to fix ci

* 💚 fix: i tried my best...
2025-07-06 07:28:00 -07:00
olebeck
02371e33ba fix transition on gxm 2025-07-06 13:21:31 +02:00
olebeck
df27d5c9b5 Merge remote-tracking branch 'upstream/master' 2025-07-06 12:42:45 +02:00
Anders Jenbo
58338fecfc
Faster and cleaner mosaic transition (#530) 2025-07-06 05:17:06 +00:00
olebeck
c71e94b8d3 update gxm renderer 2025-07-06 02:02:45 +02:00
olebeck
24a2e18c9c Merge remote-tracking branch 'upstream/master' 2025-07-06 01:59:53 +02:00
olebeck
b3d37a4d74 split 2d and 3d shaders completely 2025-07-06 01:57:14 +02:00
Anders Jenbo
6b446d242f
SDL_GPU: Fix transitions on scenes with 2D overlay (#529) 2025-07-05 22:01:21 +00:00