Commit Graph
44 Commits
Author SHA1 Message Date
Cameron Cawley b19857bd8c ENGINES: Use ScummVM's 2D API for blitting the TinyGL framebuffer (#2516)
* GRIM: Use ScummVM's 2D API for blitting the TinyGL framebuffer

* MYST3: Use ScummVM's 2D API for blitting the TinyGL framebuffer

* ICB: Use ScummVM's 2D API for blitting the TinyGL framebuffer
2020-10-13 22:12:10 +02:00
SupSuper 9340135b03 MYST3: Remove obsolete Windows headers 2020-10-09 21:25:24 +01: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
Vincent Pelletier e7073dc037 ALL: Add an option to control dirty rectangless TinyGL optimisation
Exposed to command line via --[no-]dirtyrects.
As dirty rectangles make the workload vary a lot between frames, it makes
performance regressions harder to spot. Disabling it produces lower, but
much more regular FPS counts.
2017-05-03 16:52:36 +00:00
Pawel Kolodziejski 3717c68901 MYST3: Missed change in last commit 2016-11-12 08:59:10 +01:00
Pawel Kolodziejski 5d19931bb9 MYST3: Fixed compilation warning 2016-11-12 08:56:51 +01:00
Bastien Bouclet 55d0a7f2c0 MYST3: Fix the MVP matrix not being sent to OpenGL in some cases
Fixes #1308.
2016-10-27 07:37:18 +02:00
Bastien Bouclet 19a8b11d85 MYST3: Initial version of the widescreen mod 2016-10-16 09:35:40 +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 0c87528e21 MYST3: Don't write directly to the TinyGL FrameBuffer
Fixes solar flares with TinyGL.
2016-07-24 11:16:08 +02:00
Bastien Bouclet 7174ccc81d MYST3: Remove the Renderer interface 2016-07-15 14:50:41 +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 2c7b5fd5ef MYST3: Fix some warnings when building with CLang 2015-09-09 16:47:27 +02:00
Bastien Bouclet b677911c89 MYST3: NPoT textures are always supported when using TinyGL 2015-03-22 21:05:43 +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
Joel Teichroeb 10f265da58 MYST3: Fix two type conversion warnings 2014-11-27 17:10:37 -08: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
Stefano Musumeci 2cf70d6d76 Merge branch 'master' into tinygl-dirty-rects-fixed
Conflicts:
	graphics/tinygl/ztriangle.cpp
2014-08-16 16:03:27 +02:00
Pawel Kolodziejski e539b27af8 MATH: improve type support for viewport argument 2014-08-15 12:25:48 +02:00
Stefano Musumeci 7b3f0850b8 TINYGL: Moved some functions inside TinyGL namespace 2014-08-09 12:10:26 +02:00
Stefano Musumeci 1314913175 MYST3: Implemented deferred blitting in the engine. 2014-08-03 22:19:13 +02:00
Stefano Musumeci a75f462615 TINYGL, MYST3: Added namespace to blitting API. 2014-07-18 18:49:58 +02:00
Stefano Musumeci fb65073dcd TINYGL: Addressed a few issues with blitting interface. 2014-07-18 18:49:56 +02:00
Stefano Musumeci 5d65a59918 MYST3: Replaced 2d blitting tinygl code with new blit inteface. 2014-07-18 18:49:55 +02:00
Pawel Kolodziejski 0db12d7062 GRIM/EMI/MYST3: drop usage for GLU functions for replacements 2014-07-10 07:29:01 +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
Pawel Kolodziejski 26b0a7f614 MYST3: make default texture size 512. Size 1024 is more accurate, but too heavy currently to handle 2014-07-05 20:41:26 +02:00
Pawel Kolodziejski 97b03aed01 TINYGL: changed code to allow initialize TinyGL with specific internal texture dimension.
Grim: 256x256, Myst3: 1024x1024
2014-07-05 13:08:34 +02:00
Pawel Kolodziejski 9ffcce535b MYST3: fix CID 1224446 2014-07-05 07:57:49 +02:00
Pawel Kolodziejski f96d07dac4 MYST3: backport recent refactor of OpenGL draw cube routine 2014-07-03 20:45:38 +02:00
Pawel Kolodziejski 728e4183fe MYST3: formatting code 2014-07-03 20:18:21 +02:00
Stefano Musumeci 206c6b4e11 MYST3: Fixed an error with 2D non textured rect rendering. 2014-07-03 17:33:04 +02:00
Stefano Musumeci a14f2b6695 MYST3: Removed dependency to GLU 2014-07-03 13:07:30 +02:00
Stefano Musumeci 11b53aea97 MYST3: Added a note in the code. 2014-07-03 12:33:09 +02:00
Stefano Musumeci c2033d6494 MYST3: Fixed a memory leak issue in tinyGL renderer texture. 2014-07-03 12:33:08 +02:00
Stefano Musumeci a77ebef942 MYST3: Fixed incorrect viewport issues. 2014-07-03 12:33:06 +02:00
Stefano Musumeci 7ea5229ef8 MYST3: Implemented selection between hardware and software rendering.
Conflicts:
	engines/myst3/gfx_opengl.cpp
2014-07-03 12:33:05 +02:00
Stefano Musumeci 79ddb89ffe MYST3: Implemented 2D rendering correctly. 2014-07-03 12:33:05 +02:00
Stefano Musumeci 43b3981b48 MYST3: Added tinyGL renderer. 2014-07-03 12:33:04 +02:00