Commit Graph
3084 Commits
Author SHA1 Message Date
David-John Willis 0fb15847c6 SDL/POSIX: Update main guard to add OpenPandora.
- Also mention GPH_DEVICE not each backend on it's own.
2011-03-24 21:24:05 +00:00
David-John Willis cf8dcf4549 GPH: Cleanup GPH backend and adapt to newer modular backend model. 2011-03-24 21:24:05 +00:00
dhewg 19c407ca69 ANDROID: Fix texture double release 2011-03-24 22:04:03 +01:00
dhewg e6080087c8 ANDROID: Fix cursor's keycolor
Don't wipe the RGB bits, fixes wrong colors on BASS cursors
2011-03-24 18:56:59 +01:00
dhewg 397fd31a17 ANDROID: Cleanup 2011-03-24 18:56:54 +01:00
dhewg 5f96dc6867 ANDROID: Fix timer frequency to match SDL 2011-03-22 21:02:42 +01:00
dhewg c77e7f75a6 ANDROID: Trust ASCII kbd codes on unknown keys 2011-03-20 13:29:21 +01:00
dhewg 0e9af50d48 ANDROID: Add port specific README
First version, just describing the controls and related hacks
2011-03-19 19:52:01 +01:00
dhewg 0d9a852f46 ANDROID: Implement OSystem::getSystemLanguage() 2011-03-19 12:36:27 +01:00
dhewg 69e271225f ANDROID: Log some system properties 2011-03-19 12:17:43 +01:00
dhewg 2def212de7 ALL: s/PI/M_PI/
Tip of the day: git grep -w PI
2011-03-19 11:24:06 +01:00
md5 a4c05b1632 Fixed compilation of the N64 port 2011-03-19 04:01:28 +02:00
dhewg 3e3619feb8 ANDROID: Cleanup 2011-03-18 22:14:54 +01:00
dhewg e056bfca9c ANDROID: Seperate DPAD codes 2011-03-18 21:53:25 +01:00
dhewg b721547213 ANDROID: Implement trackball click 2011-03-18 21:53:25 +01:00
dhewg 47e9db8fdf ANDROID: Fix KeyEvent NullPointerException
Could happen with some special symbols from the virtual keyboard
2011-03-17 22:02:17 +01:00
dhewg 0eb5352290 ANDROID: Increase default touchpad mode scale
aka my display is bigger than yours
2011-03-17 21:01:49 +01:00
dhewg 8953581ec9 ANDROID: Ignore the slop area on all touch scrolls
Prevents initial cursor jumps
2011-03-17 21:01:49 +01:00
dhewg 70e2c4266b ANDROID: Get rid of more gfx glitches 2011-03-17 19:35:58 +01:00
dhewg 82bcddf8da ANDROID: Init vars to match with the defaults
The feature flags are set too late, so lets fix that here
2011-03-17 19:35:58 +01:00
dhewg f4fd9e8b50 ANDROID: Fix cursor visibility 2011-03-17 19:35:58 +01:00
dhewg 23213d23dc ANDROID: Log ASCII code of invalid keycodes 2011-03-17 19:35:57 +01:00
dhewg 2ea6380040 ANDROID: Plug RGB cursor memleak 2011-03-17 19:35:57 +01:00
dhewg 093b74e405 ANDROID: Disable game/overlay blending
Doesn't work on some drivers, need to do it differently
2011-03-16 23:57:00 +01:00
dhewg adef4c3f42 ANDROID: Input system overhaul
Rewritten input system with many new feature.
Fixed related bugs and shortcomings on the way.
2011-03-16 20:54:49 +01:00
dhewg e71c2cf850 ANDROID: Constify getDrawRect() 2011-03-16 20:54:25 +01:00
dhewg 6b346c1fe0 ANDROID: Cleanup and extend chooseEglConfig
Add more checks and log all possible configs
2011-03-16 20:54:25 +01:00
dhewg 6e4af65be1 ANDROID: Add missing cases to getFeatureState() 2011-03-15 00:06:00 +01:00
dhewg 7b850c18c7 ANDROID: Cleanup 2011-03-15 00:05:59 +01:00
dhewg 9e7ee4953e ANDROID: Halve the audio buffer size
Also, run into the blocking audio write without sleep. This hopefully
fixes audio hickups on slow devices.
2011-03-14 20:26:35 +01:00
dhewg f706b1568d ANDROID: Cleanup
Removed not required checks since we now buffer texture contents
2011-03-14 20:10:41 +01:00
dhewg d060b597c3 ANDROID: Fade out the game screen when the overlay is visible 2011-03-14 19:35:36 +01:00
dhewg 6389e70e45 ANDROID: Remove clearBuffer()
Not required. Why did i add that again?
2011-03-14 19:35:36 +01:00
dhewg 5b94159f40 ANDROID: Clear fake palette after allocating
Gets rid of funky gfx artifacts on the overlay
2011-03-14 19:35:36 +01:00
dhewg f587b6ee04 ANDROID: Implement grabOverlay() 2011-03-14 19:35:36 +01:00
dhewg e1575e57f8 ANDROID: Extend clearScreen to take care of all cases
Hopefully that'll help me to not forget about the double buffering.
This fixes some gfx leftovers when not running games in fullscreen
mode.
2011-03-14 19:35:35 +01:00
dhewg 57635fe75c ANDROID: Update screen rects on surface changes
Fixes regression introduced with 4267011e
2011-03-14 19:35:35 +01:00
dhewg 4b6e5e7b06 ANDROID: Clip mouse coordinates 2011-03-13 23:45:52 +01:00
dhewg f82121d2a2 ANDROID: Don't merge mouse move events
Breaks more than it solves
2011-03-13 23:31:07 +01:00
dhewg ecd265b539 ANDROID: Center mouse on overlay visibility changes 2011-03-13 23:31:04 +01:00
dhewg df9167c6b3 ANDROID: Add graphics mode for linear filtering 2011-03-13 23:30:17 +01:00
dhewg c63c2a9e59 ANDROID: Fix texture clear color 2011-03-13 23:30:17 +01:00
dhewg 2dd669d808 ANDROID: Remove leftover TODO
Resolved with a93229c and 2721e28
2011-03-13 23:30:17 +01:00
dhewg 79d991081d ANDROID: Add support for video feature flags
kFeatureFullscreenMode and kFeatureAspectRatioCorrection are supported
now. The former prevents scaling to the full display - it scales one
axis and keeps the game AR.
2011-03-13 23:30:16 +01:00
dhewg 4267011e3a ANDROID: Some texture convinience functions 2011-03-13 23:30:15 +01:00
dhewg 787b27a4b1 ANDROID: Add missing updateScreen() calls 2011-03-13 16:50:48 +01:00
dhewg fa51d82639 ANDROID: Prevent unnecessary reallocs 2011-03-13 16:50:48 +01:00
dhewg 2721e287e5 ANDROID: Buffer 16bit texture contents
Same issue as in the last commit: glTexSubImage2D is slow, so cache
all copyRect*() calls in a buffer, and update the dirty rect once
when drawing. Reduces CPU usage on 16bit games significantly.
Also, lockScreen() returns now pixel data for non-CLUT8 games instead
of asserting.
2011-03-13 16:50:47 +01:00
dhewg a93229cae5 ANDROID: Don't use compressed textures for the game screen
Some GLES drivers suck so much that uploading data to the GPU takes
ages. CLUT8 games now use a faked paletted texture, which internally
uses a RGB565 hardware texture (Android's native pixel format).
This seems to be the only way to efficiently implement constant
changing textures with GLES1 - at the cost of extra buffers.
Then again, we can now use glTexSubImage2D to only update the dirty
rects, which wasn't possible before because glCompressedTexSubImage2D
is only usable on GLES2. This commit does exactly that.
Overall, the CPU usage is massively reduced for CLUT8 games.
2011-03-13 16:50:43 +01:00
dhewg 429b091ed1 ANDROID: Convinience make target for testing 2011-03-12 09:36:23 +01:00