Einar Johan Trøan Sømåen
3518c370bb
GRIM: Flip order of width/height in surface-creation.
...
This has 0 impact beyond pedantic correctness, as the
surface is square in this case, but doesn't hurt to
silence this warning properly.
Fixes COVERITY: 1433334
2022-10-02 00:16:24 +02:00
Paweł Kołodziejski
d8d42bf2fe
GRIM: Ported debug shadow plane draw from opengl to tinygl
2022-06-18 18:56:30 +02:00
Paweł Kołodziejski
ce0427e130
GRIM: Moved debug color shadow draw
2022-06-18 18:55:35 +02:00
Paweł Kołodziejski
06902574b4
GRIM: Janitorial
2022-06-08 01:12:00 +02:00
Le Philousophe
0bbd37828d
GRIM: Compile dim ARB program only when enabled
2022-04-03 09:40:51 +02:00
Cameron Cawley
010dfbff18
GRAPHICS: Remove manual OpenGL function loading
2021-12-30 14:57:11 +01:00
Cameron Cawley
21b0d6ded1
BACKENDS: Replace GLEW with GLAD, part of PR #3463
2021-12-30 14:53:48 +01: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
a4e50f9f9c
GRIM: Synchronise portions of opengl vs tinygl
2021-12-15 20:31:04 +01:00
Paweł Kołodziejski
c66ca22cbb
TINYGL,GRIM: Replace custom shadows to stencil buffer solution
2021-12-10 18:37:24 +01:00
Paweł Kołodziejski
66bc1955e8
GRIM: Cleanup pixel formats for textures
2021-12-04 22:21:12 +01:00
Paweł Kołodziejski
92efa8bdcc
GRIM: Attempt to fix AmigaOS4 compilation.
2021-11-29 20:43:09 +01:00
Paweł Kołodziejski
af37825be3
ENGINES: Replace PixelBuffer with Surface
2021-11-27 20:14:44 +01:00
Cameron Cawley
4d206e5286
GRAPHICS: Clean up OpenGL defines ( #3551 )
2021-11-18 00:56:21 +01:00
Orgad Shaneh
33a4eaa4d2
GRIM: Replace new[]/memset with new[]()
2021-11-10 19:53:15 +01:00
Orgad Shaneh
d1b35d26fc
GRIM: Add isRemastered convenience function to engine
2021-11-02 10:23:17 +01:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
Hubert Maier
e19d4e197b
AMIGAOS: Keep platform name continuity ( #2643 )
2020-11-26 15:10:01 +01:00
Einar Johan Trøan Sømåen
33572861c2
GRIM: Fix PixelFormat lookup during Remastered's startup.
...
Grim Fandango Remastered has an alpha channel in the
video that plays as intro.
This makes Grim Fandango Remastered start, although there
are still quite a few issues to fix.
2020-11-22 22:31:35 +01:00
Laurent Merckx
741cd5ddc7
GRIM: use GL_UNSIGNED_SHORT for glDrawElements instead of GL_UNSIGNED_INT (not supported for GLES <= 2)
2020-11-12 05:58:36 +01:00
Paweł Kołodziejski
9bdba8b919
GRIM: Fixed param for gl call
2020-10-14 08:31:25 +02:00
Paweł Kołodziejski
d113c5d3a4
GRIM: Silence compiler warning
2020-10-14 08:29:48 +02:00
Cameron Cawley
03e8f0ed2d
ENGINES: Remove code for toggling fullscreen mode ( #2523 )
...
* GRIM: Remove code for toggling fullscreen mode
* MYST3: Remove code for toggling fullscreen mode
* STARK: Remove code for toggling fullscreen mode
* ENGINES: Remove the fullscreen argument from initGraphics3d()
2020-10-14 07:49:28 +02:00
BeWorld
cab7cd49c4
MORPHOS : Fixed for int vs int32 types for AmigaOS/MorphOS ( #2510 )
...
MORPHOS : Fixed int to int32 and some functions not available on AmigaOS/MorphOS
2020-10-11 18:24:36 +02:00
Paweł Kołodziejski
264f6f037b
ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now.
2020-10-10 14:12:07 +02:00
SupSuper
9ed8525c63
GRIM: Remove obsolete Windows headers
2020-10-09 21:24:52 +01:00
Pawel Kolodziejski
527ac8ee87
GRIM: Allow compile without freetype
2020-10-07 21:11:04 +02:00
Pawel Kolodziejski
5acf4af7f4
GRIM: Fixed regression in EMI.
2020-10-07 20:18:35 +02:00
Pawel Kolodziejski
3d74c3dd4d
GRIM: Post branch merge fixes.
2020-10-07 19:50:27 +02:00
Paweł Kołodziejski
6e619ca714
GRIM: Merge branch 'remastered'
2020-10-07 18:26:49 +02:00
Pawel Kolodziejski
b8ae32d71b
GRIM: Remove unused return value from GfxBase::setupScreen
2020-10-05 20:03:16 +02:00
Pawel Kolodziejski
fb636cadde
GRIM: Drop setting windows title with used renderer.
2020-10-05 07:59:10 +02:00
Pawel Kolodziejski
27e12d8a96
ALL: Eliminate LOCAL_PI macro
2020-09-23 23:20:23 +02:00
Mathias Parnaudeau
75de72f38f
GRIM: Add one missing character description in emerFont data
...
The builtin font emerFont is currently used to display FPS.
Each graphics engine reads this array to render each of the 96 characters,
from 32 to 127 the ASCII table.
TinyGL and OpenGL-shaders read the array out of bound because they read
data for the 96th character in emerFont that only describes 95.
No problem was hightlighted with OpenGL engine because it only read 95
characters, with no consequence as the character 127 is DEL, so never
displayed.
To be compliant with the global implementation, data for character 127
is added in emerFont (will display nothing) and the OpenGL engine is
changed accordingly.
2020-02-21 07:17:48 +01:00
Mathias Parnaudeau
e395d8d15d
GRIM: Fix resource leak calling releaseMovieFrame
...
In EMI and GRIM games, a resource leak was found with OpenGL and
OpenGL-shaders engines: releaseMovieFrame() was not called in the destructor
of these graphics drivers (and never called at all on exit).
This patch calls explicitely realeaseMovieFrame.
Note that is was already done correctly with TinyGL.
2020-02-21 07:16:34 +01:00
Dries Harnie
a6770e0bee
AMIGAOS4: Use GL_UNSIGNED_INT for uploading video frames
...
GL_UNSIGNED_INT_8_8_8_8 is not (yet) recognized as a format.
2019-09-26 17:02:57 +02:00
Dries Harnie
b236a005e8
GFX: Do not consult color map for alpha for AlphaOff meshes
2018-07-09 23:33:14 +02:00
Joel Teichroeb
d43b5b4a0c
GRIM: Switch iris renderer to regular rendering
2017-11-27 13:07:49 -08:00
Bastien Bouclet
f4e3bd0424
GRIM: Take adventage of kFeatureFullscreenToggleKeepsContext
2017-09-01 09:26:57 +02:00
Vincent Pelletier
8fc17a49e2
GRIM: {T,}GL_LINES does not need to be interrupted between each line
2017-04-28 21:55:36 +00:00
Vincent Pelletier
ae6b5b8c8e
GRIM: Add support for reversed 32bits color endianness.
...
Also, reduce differences between opengl and shader prepareMovieFrame.
2016-11-06 10:07:40 +01:00
Paweł Kołodziejski
d467980499
Merge pull request #1262 from vpelletier/tinygl_dirty2d
...
GRIM: Fix drawLine/Rect/Polygon in TinyGL renderer
2016-07-18 05:17:35 +02:00
Bastien Bouclet
420f19d6de
GRIM: Remove useless assignments to g_driver
2016-07-12 06:16:35 +02:00
Bastien Bouclet
62bf521944
GRIM: Fix memory leaks related to the emergency built-in font
2016-07-12 06:16:35 +02:00
Vincent Pelletier
84859619f1
GRIM: Use [T]GL_LINE_LOOP to display an empty rectangle.
...
Reduces vertex redundancy.
In TinyGL, fixes checkbox border on Copal computer (actually, works around
yet another discrepancy between OpenGL and TinyGL on 1-pixel-thick
[T]GL_QUADS).
2016-07-11 14:52:36 +00:00
Bastien Bouclet
0362ac0dbc
GRIM: Don't use OSystem::getScreenPixelBuffer in the OpenGL renderers
2016-06-11 12:07:38 +02:00
Pawel Kolodziejski
4e47c03a64
OPENGL: add checks for case when glGetString return NULL
2016-03-10 05:55:32 +01:00
Bastien Bouclet
3f295ec773
GRIM: Check at runtime that shaders are available
2016-02-06 08:53:42 +01:00
Bastien Bouclet
31715787ca
SYSTEM: Add a system method for retrieving the screen framebuffer
2016-02-06 08:53:41 +01:00