Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-29 | ANDROID: Replace getPixelFormatName function with PixelFormat::toString | Cameron Cawley | |
2017-10-15 | BACKENDS: Constify PaletteManager::grabPalette implementations | Colin Snover | |
2016-02-15 | JANITORIAL: Typos detected with lintian & grep | Alexandre Detiste | |
2014-06-07 | ANDROID: Fix casting away const | Matthew Hoops | |
2014-03-31 | ANDROID: Make transparent cursor pixels all 0 in 16bit cursor mode. | Johannes Schickel | |
Since the Android backend uses glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA) we need to make the transparent cursor pixels all 0 otherwise we might get artifacts from blending. | |||
2014-03-26 | ANDROID: Fix color key handling for 16bit mouse cursors. | Johannes Schickel | |
This should fix a issue similarly to bug #6108: "WII: Zak FM-TOWNS mouse cursor encased in blue box". | |||
2014-02-18 | ANDROID: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-23 | ANDROID: Add 32bpp support. | Alyssa Milburn | |
We still prefer 16bpp for performance reasons. | |||
2014-01-10 | ANDROID: Set correct blending function | Marcus Comstedt | |
Overlays with alpha channel in ScummVM use pre-multiplied alpha. Thus, is it necessary to set the source blend function to ONE, not SOURCE_ALPHA. While there is no firm decision on the texture format to be used to cursors, make sure to set the key color to R=G=B=A=0.0, so that it can be used with either pre-multiplied or non-pre-multiplied blending. | |||
2013-08-06 | ANDROID: Do not access Surface::pixels directly. | Johannes Schickel | |
2012-06-20 | ANDROID: Fix compilation broken with changes to grabOverlay. | Johannes Schickel | |
2012-06-16 | ALL: Let overlay related methods in OSystem take a void * and use a proper ↵ | Johannes Schickel | |
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support. | |||
2012-06-16 | BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer. | Johannes Schickel | |
This is mainly for consistency with OSystem::copyRectToScreen. | |||
2012-06-16 | BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵ | Johannes Schickel | |
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data. | |||
2012-06-03 | ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵ | Johannes Schickel | |
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there. | |||
2011-08-07 | JANITORIAL: Remove trailing empty lines. | Christoph Mallon | |
2011-06-04 | BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls | Max Horn | |
2011-05-25 | ALL: initialise -> initialize | Matthew Hoops | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-03 | ANDROID: Fix various forbidden symbol clashes | Max Horn | |
2011-04-17 | BACKENDS: Adapt various backends code to set up Surface::format correctly. | Johannes Schickel | |
Note that this change is not tested at all (not even compile wise!). | |||
2011-04-06 | ANDROID: Allow linear texture filtering on the cursor | dhewg | |
2011-04-05 | ANDROID: Remove commented workarounds for Nexus 1 | dhewg | |
Reports suggest that its working and not required | |||
2011-04-04 | ANDROID: Fix non-fullscreen corruption on HTC devices. | Alyssa Milburn | |
HTC's drivers don't preserve the color buffer between frames (as allowed by the spec, apparently), so we have to force-clear it every frame when we're not rendering a texture over the whole screen. | |||
2011-04-03 | ANDROID: Always use the surface size for the overlay | dhewg | |
When coming back from standby, there might be an indermediate surface change | |||
2011-04-02 | ANDROID: Attempt at working around some HTC fail | dhewg | |
2011-03-24 | ANDROID: Fix cursor's keycolor | dhewg | |
Don't wipe the RGB bits, fixes wrong colors on BASS cursors | |||
2011-03-24 | ANDROID: Cleanup | dhewg | |
2011-03-17 | ANDROID: Get rid of more gfx glitches | dhewg | |
2011-03-17 | ANDROID: Fix cursor visibility | dhewg | |
2011-03-17 | ANDROID: Plug RGB cursor memleak | dhewg | |
2011-03-16 | ANDROID: Disable game/overlay blending | dhewg | |
Doesn't work on some drivers, need to do it differently | |||
2011-03-16 | ANDROID: Input system overhaul | dhewg | |
Rewritten input system with many new feature. Fixed related bugs and shortcomings on the way. | |||
2011-03-15 | ANDROID: Cleanup | dhewg | |
2011-03-14 | ANDROID: Fade out the game screen when the overlay is visible | dhewg | |
2011-03-14 | ANDROID: Remove clearBuffer() | dhewg | |
Not required. Why did i add that again? | |||
2011-03-14 | ANDROID: Implement grabOverlay() | dhewg | |
2011-03-14 | ANDROID: Extend clearScreen to take care of all cases | dhewg | |
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 | ANDROID: Update screen rects on surface changes | dhewg | |
Fixes regression introduced with 4267011e | |||
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: 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: 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: 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: Cleanup paletted textures | dhewg | |
2011-03-12 | ANDROID: Get rid of ugly casts | dhewg | |