Cameron Cawley
366e0c5f67
TINYGL: Replace tglFrustum, tglOrtho and tglClearDepth with float versions
2023-03-05 22:36:31 +01:00
Paweł Kołodziejski
c4686ee84c
TINYGL: Rename copyToBuffer to copyFromFrameBuffer
2023-02-09 07:31:09 +01:00
Paweł Kołodziejski
e70fbbee21
MYST3: Janitorial
2022-06-13 00:44:39 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM
2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Paweł Kołodziejski
8a9289f10a
MYST3: Minor cleanup in renderers
2021-12-15 23:11:43 +01:00
Cameron Cawley
06e79f2adf
TINYGL: Use the existing list of rectangles when copying to the screen
2021-12-09 22:01:46 +01:00
Paweł Kołodziejski
6a591146c8
TINYGL: Added stencil buffer implementation
2021-12-09 21:10:53 +01:00
Paweł Kołodziejski
3b9f9804ee
TINYGL: Rearrange access to TinyGL
2021-12-08 14:52:18 +01:00
Paweł Kołodziejski
d80bd265d2
TINYGL: Rearrange visibility various functions
2021-12-06 13:57:41 +01:00
Cameron Cawley
98da66b735
MYST3: Fix the viewport used by the TinyGL renderer for 2D drawing
2021-12-05 20:28:49 +01:00
Cameron Cawley
d18d321092
MYST3: Split TinyGLTexture into two separate subclasses
2021-12-05 20:28:23 +01:00
Cameron Cawley
9bd82872bd
MYST3: Replace the Renderer::freeTexture function
2021-12-05 20:28:23 +01:00
Paweł Kołodziejski
af37825be3
ENGINES: Replace PixelBuffer with Surface
2021-11-27 20:14:44 +01:00
Orgad Shaneh
dda887aaba
MYST3: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Paweł Kołodziejski
82e405a4ac
TINYGL: Fixed tglViewport transformation
2021-11-08 08:57:19 +01:00
Cameron Cawley
f9dc98b0f6
MYST3: Remove unneeded use of Graphics::ColorMasks
2021-06-24 11:55:54 +02:00
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