51 Commits

Author SHA1 Message Date
Cameron Cawley
f9dc98b0f6 MYST3: Remove unneeded use of Graphics::ColorMasks 2021-06-24 11:55:54 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
SupSuper
9340135b03 MYST3: Remove obsolete Windows headers 2020-10-09 21:25:24 +01:00
Pawel Kolodziejski
a8b53f8f21 ALL: Avoid class names clashing with ScummVM classes 2020-09-28 18:47:10 +02:00
Bastien Bouclet
056912f4b2 MYST3: Improve the node transition performance
On 4K displays, taking a screenshot and processing the pixels on the CPU
was taking a noticeable amount of time. Now the screenshot is copied
directly to a texture without going through the CPU.
2019-11-08 14:50:20 +01:00
Bastien Bouclet
d7896defae MYST3: Clear the screen with solid black
Fixes unintentional transparency when loading games from the menu
2017-10-01 15:19:08 +02:00
Bastien Bouclet
b97e49c3ee MYST3: Change surface data to always be in the RGBA byte order
This eases uploading the textures to OpenGL, and will hopefully fix
endianness issues.
2017-08-20 09:36:31 +02:00
Bastien Bouclet
19a8b11d85 MYST3: Initial version of the widescreen mod 2016-10-16 09:35:40 +02:00
Bastien Bouclet
1537ec2de2 MYST3: Change frameViewport to be in screen coordinates rather than OpenGl coordinates 2016-10-16 09:28:08 +02:00
Bastien Bouclet
5bb96c937a MYST3: Start moving some of the frame viewport code the the Scene class 2016-10-16 09:28:08 +02:00
Bastien Bouclet
7174ccc81d MYST3: Remove the Renderer interface 2016-07-15 14:50:41 +02:00
Bastien Bouclet
36c45b7f0b GRIM: Don't enable / disable GL_TEXTURE_2D in the programmable pipeline
It is an invalid operation.
2016-06-26 09:30:28 +02:00
Bastien Bouclet
5024daec23 MYST3: Check at runtime that shaders are available 2016-02-06 08:53:41 +01:00
Bastien Bouclet
31715787ca SYSTEM: Add a system method for retrieving the screen framebuffer 2016-02-06 08:53:41 +01:00
Bastien Bouclet
ed38c20cce OPENGL: Add a Context class used to describe the active OpenGL context 2016-02-06 08:02:50 +01:00
Bastien Bouclet
6c78bcebe4 GRAPHICS: Move opengles2 files to the opengl folder 2016-02-06 08:02:49 +01:00
Bastien Bouclet
4c2c1b4d36 GRAPHICS: Set the namespace for OpenGL classes to OpenGL 2016-02-06 08:02:27 +01:00
Dries Harnie
36c8b3d2d5 GRAPHICS: Move common OpenGL files into graphics/opengl 2015-05-27 10:08:25 +02:00
Bastien Bouclet
8e54a010b4 MYST3: Remove usage of Desktop specific GL features in GLES2 mode
- GL_UNPACK_ROW_LENGTH can only be used when extension GL_EXT_unpack_subimage is available
- GL_UNSIGNED_INT_8_8_8_8_REV does not exist in GLES2
2015-05-26 21:25:01 +02:00
Bastien Bouclet
f8a39ee4a1 MYST3: NPoT textures are always available when using shaders
Also remove the previous texture clamping code
2015-03-22 19:55:08 +01:00
Bastien Bouclet
f3e256be3e MYST3: OpenGL shaders variables renaming 2015-03-22 15:57:16 +01:00
Bastien Bouclet
6ad12e7ce6 MYST3: Use the same cube vertex data for all the renderers 2015-03-22 15:57:16 +01:00
Bastien Bouclet
253ed5d4b5 MYST3: Unify matrix handling for all the renderers 2015-03-22 15:57:15 +01:00
Bastien Bouclet
23da0ef0c3 MYST3: Fix the projection matrix initialization 2015-03-22 15:57:15 +01:00
Bastien Bouclet
7a3e61a9b7 MYST3: Fix the endian-safety of the OpenGL texture loading 2014-12-22 20:20:00 +01:00
Bastien Bouclet
922d48f991 MYST3: Render the transitions on the GPU 2014-09-01 10:51:43 +02:00
Bastien Bouclet
7a33ec4a00 MYST3: Make the engine resolution-agnostic 2014-09-01 10:51:41 +02:00
Bastien Bouclet
7829d97ae5 SDL: Render the overlay when using OpenGL with shaders 2014-07-09 19:47:39 +02:00
Pawel Kolodziejski
77d3e9ac66 OPENGL/Shaders: added debug info about GLEW version 2014-07-06 16:56:24 +02:00
Pawel Kolodziejski
16d2983fab MYST3: revert info about renderer in window title and put instead into console output 2014-07-06 12:14:27 +02:00
Pawel Kolodziejski
f79bfd0c5c MYST3: added info in window title about Renderer 2014-07-06 11:23:10 +02:00
Bastien Bouclet
87cc31e484 MYST3: Properly free the OpenGL resources in the shaders renderer 2014-07-06 10:31:07 +02:00
Bastien Bouclet
de7392c1b5 MYST3: Fix the OpenGL with shaders renderer initialization
... and make it slightly harder to break
2014-07-04 15:34:51 +02:00
Pawel Kolodziejski
728e4183fe MYST3: formatting code 2014-07-03 20:18:21 +02:00
Stefano Musumeci
d05bfb30b7 MYST3: Removed dependency on openGL 2014-07-03 17:02:00 +02:00
Stefano Musumeci
cfb3c8eadc MYST3: Added openGL shader renderer selection. 2014-07-03 12:33:07 +02:00
Joseph Jezak
03aa92bfc9 MYST3: Fix rotation for camera perspective. 2014-07-02 11:46:58 -04:00
Bastien Bouclet
a75875cf19 MYST3: Add support for movies with additive blending
This is used in LIFO 66
2014-07-02 00:08:29 +02:00
Joseph Jezak
887e4f9142 MYST3: Add missing namespace for Euler Orientation. 2014-06-29 19:22:11 -04:00
Joseph Jezak
55f77fb92f EMI/GRIM/MYST3: Replace some Quaternions with Rotation3D. 2014-06-23 09:24:26 -04:00
Dries Harnie
a463d5ebef MISC: Add copyright notice from glm 2014-06-10 19:28:45 +02:00
Bastien Bouclet
2284c5c9ed MYST3: Movies need to be drawn in reverse add order
This fixes MATO7 and MALL18
2014-05-03 08:49:36 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Dries Harnie
d54ddfe957 MYST3: Clamp cube textures in the ES2 renderer
This effectively implements GL_CLAMP_TO_EDGE in the shader
for 3D objects, solving the issue described in 61968c6.
2014-02-11 22:32:19 +01:00
Bastien Bouclet
61968c6341 MYST3: Explain the texture size workaround used in the ES2 renderer 2014-02-11 20:11:23 +01:00
Dries Harnie
0c7d08cf1a MYST3: Reset viewport in menus 2014-02-08 18:39:57 +01:00
Dries Harnie
98d04e3516 MYST3: Support Text rendering [OpenGLS] 2014-02-08 11:40:21 +01:00
Dries Harnie
94882742d5 JANITORIAL: Remove g_ prefix from instance variables 2014-02-07 22:41:34 +01:00
Dries Harnie
ac913880be MYST3: Separate renderers into separate classes 2014-02-07 22:41:34 +01:00
Dries Harnie
f5549e86a1 MYST3: Move OpenGLTexture into separate file 2014-02-06 18:56:11 +01:00