aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-16OPENGL: Keep feature state for all contexts and log them.Johannes Schickel
2016-03-16OPENGL: Handle GLES2 and GL shaders uniformly.Johannes Schickel
GLES2 requires precision qualifiers to be set and allows use of precision qualifiers. For GLES2 we define a default precision now. Since precision qualifiers are not supported in the GLSL version we use for GL, we introduce compatibility #defines.
2016-03-16OPENGL: Accelerate palette lookups with shaders.Johannes Schickel
This currently is limited to GL contexts.
2016-03-16OPENGL: Introduce simple abstraction for surfaces.Johannes Schickel
This is basically an interface extracted from Texture without any knowledge about any actual implementation, except for copyRectToTexture, fill, and dirty rect handling. These are convenient helpers.
2016-03-16OPENGL: Cleanup. Remove Texture::getHardwareFormat.Johannes Schickel
2016-03-16OPENGL: Move color key handling for CLUT8 to TextureCLUT8.Johannes Schickel
2016-03-16OPENGL: Fix texture format for BGR565.Johannes Schickel
2016-03-16OPENGL: Move max texture size information to Context.Johannes Schickel
2016-03-16OPENGL: Create new abstraction for GL texture objects.Johannes Schickel
2016-03-16OPENGL: Remove (some) unused GL definitions.Johannes Schickel
2016-03-16OPENGLSDL: Request "standard" GL contexts.Johannes Schickel
Compatibility profiles only exist in modern OpenGL and we request an ancient version.
2016-03-16OPENGL: Unify shader implementation for GL and GLES2.Johannes Schickel
2016-03-16OPENGL: Slightly cleanup programmable pipeline handling.Johannes Schickel
2016-03-16OPENGL: (Partly) move context specific handling to Context.Johannes Schickel
This does not include (most) shader setup, and projection matrices yet.
2016-03-16OPENGL: Make Context::reset explicitly reset state.Johannes Schickel
2016-03-16OPENGL: Slight simplifcation for opengl-func.h usage.Johannes Schickel
2016-03-16OPENGLSDL: Destroy GL context on exit with SDL2.Johannes Schickel
2016-03-16OPENGL: Handle destruction gracefully when no context is setup.Johannes Schickel
2016-03-16OPENGL: Add support for shaders with GL contexts.Johannes Schickel
2016-03-16OPENGL: Reset context description on context destroy.Johannes Schickel
2016-03-16OPENGL: Reset full context structure.Johannes Schickel
2016-03-16OPENGL: Support GLES2 contexts.Johannes Schickel
2016-03-16OPENGL: Typo.Johannes Schickel
2016-03-16OPENGL: Simplify orthogonal projection setup.Johannes Schickel
2016-03-16OPENGLSDL: Slight cleanup.Johannes Schickel
2016-03-16OPENGL: Simplify context type setting.Johannes Schickel
2016-03-16OPENGLSDL: Try to use GL(ES) context SDL2 defaults to.Johannes Schickel
2016-03-16OPENGL: Support RGB555 for OpenGL ES output.Johannes Schickel
This mode should *not* be used by any new engines/code. If someone is going to use it and says it works with the OpenGL output, please make them wear a red uniform and beam them onto a remote planet.
2016-03-16OPENGL: Allow runtime specification of OpenGL mode.Johannes Schickel
Formerly, we required that the OpenGL mode was fixed at compile time. Now we allow the code to work with whatever it is given at runtime. It is still possible to force a context type on compile time.
2016-03-16OPENGL: Remove support for ARGB8888.Johannes Schickel
This used to be used by Sword25. Since it is not supported by GLES and no engine code uses it we drop support. Hopefully, this helps people to realize they should not use that format in their engine.
2016-03-16OPENGL: Rename GLCALL to GL_CALL.Johannes Schickel
2016-03-16OPENGL: Resolve OpenGL functions on run-time.Johannes Schickel
Formerly we relied on static linkage. However, in the presense of modern OpenGL (ES) implementations it is not easily identifable which library to link against. For example, on Linux amd64 with nVidia drivers and SDL2 setup to create a GLES 1.1 context one would need to link against libGL.so. However, traditionally GLES 1.1 required to link against libGLESv1_CM.so. To prevent a huge mess we simply resolve the OpenGL functions on run-time now and stop linking against a static library (in most cases). GLES support needs to be enabled manually on configure time for now. Tizen changes have NOT been tested.
2016-03-16OPENGL: Define GLCALL in opengl-sys.h.Johannes Schickel
debug.h is now always included and all calls should be made through GLCALL.
2016-03-16OPENGL: Add functionality to query OpenGL functions on runtime.Johannes Schickel
This can and will be used for future extension usage support. Tizen changes have been untested.
2016-03-16OPENGL: Refactor GL extension handling slightly.Johannes Schickel
2016-03-16WAGE: Added 5 more games to detect. Drakmyth Castle is a big gameEugene Sandulenko
2016-03-16SCUMM: Slight renaming for clarification.Johannes Schickel
2016-03-16SCUMM: Check whether sound effects are active in Player_AD::getSoundStatus.Johannes Schickel
This fixes bug #7076 "LOOM: AdLib sound effect not stopped at Cygna's grave.". Original SCUMM (I checked Monkey Island EGA) implemented Sound::isSoundRunning by checking whether the sound resource of the requested sound id is locked. We use actual sound state inside the player.
2016-03-16SCI: Add workaround for restoring kq6 saved games (lowres/hires)Martin Kiewitz
KQ6 CD sets a global depending on lowres/hires state right at the start and some scripts are using it instead of calling kPlatform. This causes some graphics to be incorrect (well lowres) in case the user saves in lowres mode, then switches to hires mode and restores the previously saved game. We now set that global directly after restoring saved games, so that this issue does not happen anymore. KQ6 CD demo did the same.
2016-03-16WAGE: More games to detection, all have problemsEugene Sandulenko
2016-03-16WAGE: Implement script command in debuggerEugene Sandulenko
2016-03-16WAGE: Enhanced 'scenes' debug commandEugene Sandulenko
2016-03-16WAGE: Put debugger in tilde key `~'Eugene Sandulenko
2016-03-16SAGA: Fix interface colors in French and German versions of IHNMTorbjörn Andersson
The same fix that had already been applied to the Spanish version also applies to the French and German versions. (Judging by the detection entries, there aren't any alternative versions so the ones I got from GOG should be representative.) The palettes aren't quite identical to the Spanish one, but I think the remaining difference is for the spiritual barometer, so the special case for that remains Spanish-only.
2016-03-16SCI32: Implement analyzeForRemap()Filippos Karapetis
2016-03-16SCI32: Implement the remapping drawing functionsFilippos Karapetis
2016-03-16SCI32: Implement analyzeUncompressedForRemap()Filippos Karapetis
2016-03-16SCI32: SpacingFilippos Karapetis
2016-03-16SCI32: Remove dead code related to priority map handlingFilippos Karapetis
The priority map is not used at all in SCI32 at the engine level by design, so all the relevant code that handles picture priority is pretty much dead
2016-03-16SCI32: Global 12 contains the previous roomFilippos Karapetis