Age | Commit message (Collapse) | Author |
|
|
|
|
|
Supported pixel formats: 565, 5551, 4444
Missing: 555 (doesn't exist on GLES)
|
|
Gets rid of leftovers
|
|
|
|
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.
|
|
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.
|
|
When calling glDeleteTextures() we need a valid surface.
|
|
|
|
|
|
|
|
- make the startup sequence more linear
- use SurfaceHolder events
- get rid of the surface lock
- remove unnecessary JNI calls
- make the ScummVM class implement Runnable
- cleanup
|
|
|
|
This resulted in flickering all over the GUI
|
|
|
|
Use the native surface resolution of the device if its not too big.
If it is, use a clean scale factor of 2 to prevent eyecancer.
|
|
|
|
|
|
|
|
And get rid of unnecessary JNI calls to get a pointer to g_system
|