Cameron Cawley
26a2e738fd
ANDROID: Fix build after FrameBuffer class changes
2024-11-30 23:36:34 +01:00
Le Philousophe
c79abfcd12
ANDROID: In GUI don't move mouse cursor when displaying the keyboard
...
When displaying the soft keyboard, only the game surface is moved.
So, that's the only surface which should move the mouse.
2024-11-09 13:10:57 +01:00
Le Philousophe
e3a13c7d63
ANDROID: Move mouse cursor while displaying keyboard
...
This is only for 2D for now.
2024-11-02 21:42:43 +01:00
Le Philousophe
c8c3a316d6
ANDROID: Properly apply touch settings when starting a game
...
The 2D graphics backend is recycled from the GUI when starting a game.
As a consequence, touch settings were never applied.
2024-09-14 16:51:19 +02:00
Le Philousophe
a98df4e445
ANDROID: Rework the virtual gamepad controller
...
- Use a SVG asset to allow for better scalability
- Make the controller visible when touching the screen
- Allow for oblique moving by placing finger between two directions
- Add more buttons on the center area of the screen (GUIDE, START, LEFT
STICK, RIGHT STICK) and simplify right area (only four buttons)
- Don't track all fingers, only the ones needed
- Cleanup now unused code
2024-08-31 16:45:32 +02:00
Le Philousophe
85509bd428
ANDROID: Use float constants
...
This avoids promotion to double
2024-06-22 11:52:21 +02:00
Le Philousophe
27c7572bd7
ANDROID: Get HiDPI density from Android metrics
2024-01-24 21:53:07 +01:00
Le Philousophe
2097e32e3d
ANDROID: Check for initSurface failures
...
Without a surface we can't do anything, so error out
2023-12-10 17:39:46 +01:00
Le Philousophe
e3877d2606
ANDROID: Move game at the top of screen when keyboard is shown
2023-07-09 11:48:27 +02:00
Le Philousophe
adda0dc063
BACKENDS: OPENGL: Allow the backend to specify the render target
...
For now only backbuffer is used.
2023-07-03 21:50:32 +02:00
Le Philousophe
d371b50d30
ANDROID: Add setting to to disable screen rotation
2023-07-01 16:26:19 +02:00
Le Philousophe
3a838c99f9
ANDROID: Various small fixes
...
- Comment and space fixes
- Remove outdated setting
2023-07-01 16:26:19 +02:00
Le Philousophe
bc438d078a
ANDROID: When resizing don't reset everything
...
Only reinitialize the needed bits.
EGLSurface needs to be reset to take the new size into account.
GLSurfaceView in AOSP does the same thing.
2023-06-26 15:25:27 +03:00
Antoniou Athanasios
8ce6a32ac2
ANDROID: Clean up log code and use Backends::Log
2023-03-26 12:05:12 +03:00
Cameron Cawley
7f2d9fd0fd
GRAPHICS: Split conversion.cpp into multiple files
2022-12-22 23:45:14 +01:00
Le Philousophe
970ea34905
ANDROID: Fix build
2022-11-12 20:49:20 +01:00
Le Philousophe
87bad2cc7d
COMMON: Allow games to use overlay for something else than GUI
...
This can be used for subtitles without changing the mouse coordinates.
2022-11-12 19:12:05 +01:00
Le Philousophe
6632e909da
BACKENDS: OPENGL: Hide active pipeline and activate it as needed
...
This removes the idea of global pipeline.
The activePipeline is kept for pipeline lifecycle management only.
2022-11-06 20:02:59 +01:00
Le Philousophe
4ab044a254
OPENGL: Merge both OpenGL contexts
2022-06-26 18:32:10 +02:00
Le Philousophe
57e27dcf12
ANDROID: Let user customize its preferred touch modes
...
There are 3 settings: in menus, in 2D games, in 3D games
2022-06-14 00:08:04 +03:00
Le Philousophe
1c18c269dc
ANDROID: Add GLAD support
2022-01-18 16:49:03 +01:00
Le Philousophe
92dd9c0911
ANDROID: Keep last touch mode when displaying overlay
2022-01-02 17:45:32 +01:00
Le Philousophe
639d633f12
ANDROID: Add touch controls to 2D backend
...
This is not usable for now as it's always disabled
2022-01-02 17:45:32 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Le Philousophe
6aea08860f
ANDROID: Chooose the best surface formats offered by the system
2021-12-16 00:09:25 +01:00
Le Philousophe
5248999c95
ANDROID: Better debug of which graphic backend is used
2021-11-29 00:04:45 +01:00
Le Philousophe
5d56c1cdf0
ANDROID: Merge 3D graphics backend
...
Move each graphic part in backends/graphics and backends/graphics3d
2021-11-29 00:04:45 +01:00