Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-14 | ANDROID: Update screen rects on surface changes | dhewg | |
Fixes regression introduced with 4267011e | |||
2011-03-13 | ANDROID: Clip mouse coordinates | dhewg | |
2011-03-13 | ANDROID: Don't merge mouse move events | dhewg | |
Breaks more than it solves | |||
2011-03-13 | ANDROID: Center mouse on overlay visibility changes | dhewg | |
2011-03-13 | ANDROID: Add graphics mode for linear filtering | dhewg | |
2011-03-13 | ANDROID: Fix texture clear color | dhewg | |
2011-03-13 | ANDROID: Remove leftover TODO | dhewg | |
Resolved with a93229c and 2721e28 | |||
2011-03-13 | ANDROID: Add support for video feature flags | dhewg | |
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 | ANDROID: Some texture convinience functions | dhewg | |
2011-03-13 | ANDROID: Add missing updateScreen() calls | dhewg | |
2011-03-13 | ANDROID: Prevent unnecessary reallocs | dhewg | |
2011-03-13 | ANDROID: Buffer 16bit texture contents | dhewg | |
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 | ANDROID: Don't use compressed textures for the game screen | dhewg | |
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-12 | ANDROID: Convinience make target for testing | dhewg | |
2011-03-12 | ANDROID: Use 16bit pixel formats on CLUT8 textures | dhewg | |
This reduces the CPU usage on 640x480 games by ~5% on my droid when reuploading the textures to the GPU | |||
2011-03-12 | ANDROID: Cleanup | dhewg | |
2011-03-12 | ANDROID: Remove redundant variable | dhewg | |
2011-03-12 | ANDROID: Add more paletted texture types | dhewg | |
2011-03-12 | ANDROID: Cleanup paletted textures | dhewg | |
2011-03-12 | ANDROID: Get rid of ugly casts | dhewg | |
2011-03-10 | ALSA: Fix formatting. | Johannes Schickel | |
2011-03-10 | ALSA: Work around a firmware bug in USB-MIDI cables. | Johannes Schickel | |
Thanks to waltervn (and wjp) for their investigation on this and Walter's SCI specific workaround which I more or less just copied here so it will apply for all engines. | |||
2011-03-10 | ALSA: Strip trailing spaces in device name. | Johannes Schickel | |
This might fix odd problems when storing the device name in the config file, when the name ends with a space by chance. | |||
2011-03-09 | WINCE: Run astyle over WinCE source files. | Johannes Schickel | |
2011-03-09 | WINCE: Cleanup WinCE event source a bit. | Johannes Schickel | |
2011-03-08 | WINCE: Silence/fix some warnings. | Johannes Schickel | |
2011-03-08 | WINCE: Run astyle over WinCE related event and graphics source files. | Johannes Schickel | |
2011-03-08 | WINCE: Add -fno-inline-functions to compiler arguments. | Johannes Schickel | |
WinCE is using -O3 by default, which includes -finline-functions, which in turn breaks SCI. By disabling that opimization we get SCI working fine again. | |||
2011-03-08 | WINCE: Make scummvm compile and run again for WinCE platform (patch #3202337) | Max Horn | |
2011-03-07 | ANDROID: Move misplaced assert | dhewg | |
Leftover from the recently introduced 16bit support | |||
2011-03-07 | ANDROID: Move the overlay initialization | dhewg | |
There's no point in doing that in initSize() every time | |||
2011-03-07 | ANDROID: Save the game when the process is paused | dhewg | |
The OS can kill the activity at will after onPause() or onStop() to free up memory for other application. Provide a parachute when the engine allows it. | |||
2011-03-07 | ANDROID: Texture cleanup | dhewg | |
2011-03-06 | OPENGL: Fix compilation for --disable-16bit | dhewg | |
2011-03-05 | ANDROID: Fix warning | dhewg | |
2011-03-05 | ANDROID: Fix 16bit cursors | dhewg | |
I hate this code | |||
2011-03-05 | ANDROID: Proper fillBuffer() for non CLUT8 colors | dhewg | |
2011-03-05 | ANDROID: Rename function for less confusion | dhewg | |
2011-03-05 | ANDROID: Clear screen on initSize() | dhewg | |
2011-03-05 | ANDROID: Add initial 16bit gfx support | dhewg | |
Supported pixel formats: 565, 5551, 4444 Missing: 555 (doesn't exist on GLES) | |||
2011-03-05 | ANDROID: Reduce mem usage of fillBuffer() | dhewg | |
2011-03-05 | ANDROID: Merge updateTexture() | dhewg | |
2011-03-05 | ANDROID: Remove some vtable overhead on textures | dhewg | |
2011-03-04 | ANDROID: Clear game texture on initSize() | dhewg | |
Gets rid of leftovers | |||
2011-03-04 | ANDROID: Cleanup | dhewg | |
2011-03-04 | ANDROID: Fix slightly off while loop | dhewg | |
CursorMan allows to push cursors with a width/height of zero. If such a cursor is restored, we don't need to call glTexSubImage2D() 0xffffffff times... This fixes delays of multiple minutes when closing GMM on groovie and sword. Also, I want that last hour of my life back. | |||
2011-03-03 | ANDROID: Don't wipe paletted textures on reinit | dhewg | |
The content of a paletted texture is in _surface.pixels. When recreating the surface, don't wipe its data unnecessarily. This fixes gfx garbage on CLUT8 games/cursors when leaving and going back to ScummVM | |||
2011-03-03 | ANDROID: Implement surface resizes | dhewg | |
Split surface code into helper functions to avoid code duplication, and distinguish between screen resizes and surface recreation. The former happens when toggling the softkeyb, where we just have to reset the viewport. Fixes garbled textures in those cases. | |||
2011-03-03 | ANDROID: Rename member vars according to our style | dhewg | |
2011-03-03 | ANDROID: Remove an indirection when pausing | dhewg | |