Commit Graph
86814 Commits
Author SHA1 Message Date
Paul Gilbert 390487aa43 GRAPHICS: Cleanup of ManagedSurface and Screen classes 2016-03-17 18:35:17 -04:00
Colin Snover f8cea91890 SCI32: Correct KQ7 version split
The information in the wiki was wrong, KQ7 1.51 is always SCI
2.1 early.
2016-03-17 14:02:18 -05:00
Martin Kiewitz ef3f475381 SCI32: Add kq7 1.51 English, fix kq7 1.51 German detection
Also sort detection entries for kq7 by game version
2016-03-17 20:00:53 +01:00
Paul Gilbert 8a1d238fd5 TITANIC: Implemented the CJPEGDecode and CTargaDecode classes
Thank goodness for the existing ScummVM image decoders for these types..
it made implementing the classes sooooo much easier
2016-03-17 13:11:01 -04:00
Colin Snover a292123cda SCI32: Code documentation improvements 2016-03-17 10:43:08 -05:00
Colin Snover 804e132476 SCI32: Remove outdated note about state of frameout code
This code is engine-accurate now, not based on guesswork.
2016-03-17 10:43:08 -05:00
Colin Snover 17ec528c9a SCI32: Temporarily remove dead SCI2.1early transitions code
This code sneaked in with the graphics engine rewrite, but is not
ready yet to be used. It will return shortly, once it is enabled
and working.
2016-03-17 10:43:07 -05:00
Colin Snover 8748fd7eec SCI32: Clarify game engine version comments for split-version games 2016-03-17 10:43:07 -05:00
Colin Snover 35fde1bbcf SCI32: Update unimplemented TODO to reflect the correct operation type 2016-03-17 10:43:07 -05:00
Colin Snover 7f4149d491 SCI32: Enable redrawAllCount in palMorphFrameOut 2016-03-17 10:43:07 -05:00
Johannes Schickel f9552863b9 BUILD: Fix static linking for OS X.
Regression from 9ae52541ce.
2016-03-17 15:33:25 +01:00
Paul Gilbert 5a3aa81ab6 TITANIC: Implemented CStdCWADFile class 2016-03-17 07:28:58 -04:00
Eugene Sandulenko 44cdee0715 WAGE: Added several alternate versions of the games 2016-03-17 11:16:45 +01:00
Paul Gilbert c1f2912fc4 TITANIC: Implemented surface shiftColors 2016-03-16 23:06:01 -04:00
Colin Snover 33cac79373 SCI32: Work around bad Styler script in KQ7 2.0b
The SCI2.1mid version of the game includes scripts designed for
SCI2.1early which means wrong parameters are sent to the kernel.
2016-03-16 22:00:38 -05:00
Paul Gilbert 103f3b524e TITANIC: Implemented surface resizing and freeing 2016-03-16 22:40:50 -04:00
Paul Gilbert b5d64f9c20 TITANIC: Renames/fixes for OSVideoSurface methods 2016-03-16 21:35:41 -04:00
Paul Gilbert c78e2fefd9 TITANIC: Implement surface lock and unlocking 2016-03-16 21:27:58 -04:00
Paul Gilbert 6be64df2f0 TITANIC: Implemented overall surface loading method 2016-03-16 21:01:01 -04:00
Paul Gilbert 8ec499c177 TITANIC: Implementing setActiveView, surface clearing 2016-03-16 19:05:16 -04:00
Filippos Karapetis f7ec415582 SCI32: Fix updated screen item count in remapMarkRedraw()
Thanks to snover for noticing this
2016-03-16 23:18:02 +02:00
Johannes Schickel 10d4d30628 Merge pull request #682 from lordhoto/savefilemanager-case-insensitive
ALL: Make SaveFileManager case insensitive.
2016-03-16 21:35:01 +01:00
Johannes Schickel 6b2424b635 OPENGL: Log extensions available on debuglevel 5+. 2016-03-16 21:03:43 +01:00
Johannes Schickel b7a269947f OPENGL: Flag texture dirty on allocation. 2016-03-16 20:29:31 +01:00
Johannes Schickel 17b1124a5a OPENGL: Do not keep uniform state for nonexistent uniforms. 2016-03-16 20:29:31 +01:00
Johannes Schickel 1e1272a8c4 OPENGL: Store logical texture dimensions in GLTexture. 2016-03-16 20:29:31 +01:00
Johannes Schickel 2b3340474e OPENGL: Introduce convenience wrappers for get*Location in Shader. 2016-03-16 20:29:31 +01:00
Johannes Schickel 39100b6132 OPENGL: Do not hardcode any uniform/attribute handling in Shader. 2016-03-16 20:29:31 +01:00
Johannes Schickel baca885cfc OPENGL: Let Shader store the uniform state. 2016-03-16 20:29:31 +01:00
Johannes Schickel 6dacc96d1f OPENGL: Only set projection matrix once on pipeline activation. 2016-03-16 20:29:31 +01:00
Johannes Schickel 8b80e9d36c OPENGL: Properly deactivate old pipeline. 2016-03-16 20:29:31 +01:00
Johannes Schickel 3f9852eb20 OPENGL: Make shader pipelines use fixed shaders. 2016-03-16 20:29:31 +01:00
Johannes Schickel 26f106497a OPENGL: Implement CLUT8 look up as Pipeline. 2016-03-16 20:29:30 +01:00
Johannes Schickel 8a4938f82b OPENGL: Move pipeline code to pipelines/. 2016-03-16 20:29:30 +01:00
Johannes Schickel bec2088d6c OPENGL: Only allow Pipeline to switch active Framebuffers. 2016-03-16 20:29:30 +01:00
Johannes Schickel ed6689d4fc OPENGL: Do not allow direct access to Context::activePipeline. 2016-03-16 20:29:27 +01:00
Johannes Schickel b17c035642 OPENGL: Implement texture drawing in Pipeline instead of Surface. 2016-03-16 20:29:27 +01:00
Johannes Schickel 0fe580d10c OPENGL: Make shader/framebuffer part of pipeline state. 2016-03-16 20:29:27 +01:00
Johannes Schickel 0b46af2f0e OPENGL: Don't prefix maxTextureSize variable for consistency. 2016-03-16 20:29:27 +01:00
Johannes Schickel 472dbc4a84 CONFIGURE: Abort configure stage when invalid OpenGL mode is specified. 2016-03-16 20:29:26 +01:00
Johannes Schickel c4e65732be OPENGL: Introduce abstraction for framebuffer.
This allows us to use various framebuffer settings easily. Now the GPU
accelerated CLUT8 surface implementation does not need to query former
framebuffer state anymore.
2016-03-16 20:29:26 +01:00
Johannes Schickel 5498982a37 OPENGL: Introduce ShaderManager to handle builtin shaders. 2016-03-16 20:29:26 +01:00
Johannes Schickel f5f1b6eba0 OPENGL: Introduce pipeline abstraction to cleanup code. 2016-03-16 20:29:26 +01:00
Johannes Schickel 08553a09cf OPENGL: Support GLSL based CLUT8 look up for GLES2+. 2016-03-16 20:29:26 +01:00
Johannes Schickel bf2735cd53 OPENGL: Detect NPOT support for GLES.
For GLES1+ there exists GL_OES_texture_npot, which indicates that there is
NPOT support.

GLES2 always had (limited) NPOT support, which is all we require, thus we
always enable it.
2016-03-16 20:29:26 +01:00
Johannes Schickel 18306ee206 OPENGL: Simplify shader support checks. 2016-03-16 20:29:26 +01:00
Johannes Schickel 397ce9b947 OPENGL: Keep feature state for all contexts and log them. 2016-03-16 20:29:26 +01:00
Johannes Schickel 2319fcd228 OPENGL: Handle GLES2 and GL shaders uniformly.
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-16 20:29:26 +01:00
Johannes Schickel e66e9e44d3 OPENGL: Accelerate palette lookups with shaders.
This currently is limited to GL contexts.
2016-03-16 20:29:26 +01:00
Johannes Schickel de3846923c OPENGL: Introduce simple abstraction for surfaces.
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-16 20:29:26 +01:00