Commit Graph
225 Commits
Author SHA1 Message Date
Cameron Cawley 5bd0ec43a6 STARK: Fully separate bitmaps and textures 2023-01-15 11:54:11 +02:00
elasota e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Le Philousophe 98c306376f OPENGL: Merge both OpenGL shaders objects 2022-06-26 18:32:10 +02:00
Le Philousophe 4ab044a254 OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
Christian Kündig 7a9f2f7488 STARK: Switch to glTexParameteri instead of glTexParameterf where integer enums are used 2022-06-12 14:34:13 +02:00
Le Philousophe 08c847cc01 STARK: Remove now useless glBindBuffer
This function is not available in old OpenGL.
2022-04-09 21:47:01 +02:00
Le Philousophe 1e4696f6d0 OPENGL: Rework renderer selection code
Add a class to group all renderer related (static) functions.
This allows to have getBestMatchingAvailableType inline in all engines.

The matching code is now shared between all engines but allows
customization for engines needing it (Grim, WME3D).

The new code takes runtime availability of features to select the
best renderer.
It avoid crashes when user choosed OpenGL but GLES2 is used.
2022-04-03 22:17:19 +02:00
Le Philousophe d9b4e457e8 ALL: Remove USE_GLES2 define
Replace it with USE_FORCED_GLES2
2022-01-18 16:49:03 +01:00
Cameron Cawley 43d87cb029 BACKENDS: Support detecting OpenGL ES 2 at runtime for 3D games 2021-12-30 13:57:50 +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
Cameron Cawley f01c5321c4 STARK: Don't exit immediately if modded assets are enabled but not supported 2021-12-20 23:18:36 +01:00
Paweł Kołodziejski 50f9fa3df6 STARK: Fixed minor coverity warnings 2021-12-20 19:22:39 +01:00
Paweł Kołodziejski 2f5995482e STARK: Formatting 2021-12-19 19:18:19 +01:00
Paweł Kołodziejski 4f6afce3ea STARK: W/A for 1x1 dimension textures to be scaled later 2021-12-18 09:04:10 +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 8d87f9aa78 STARK: Fixed shadow rendering 2021-12-09 09:26:12 +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
Paweł Kołodziejski 9e72366b5f ENGINES: Allow to build without TINYGL enabled 2021-12-05 00:08:53 +01:00
Paweł Kołodziejski 8224aeffae STARK: No need structs to be set as packed 2021-12-01 19:42:42 +01:00
Paweł Kołodziejski 89cba0db97 STARK: Added WA for prompt dialog texture clipping 2021-11-29 23:31:14 +01:00
Paweł Kołodziejski 6f3b535752 GRIM,STARK,TINYGL: Fixed BE drawing issues. 2021-11-29 22:34:13 +01:00
Paweł Kołodziejski af37825be3 ENGINES: Replace PixelBuffer with Surface 2021-11-27 20:14:44 +01:00
Paweł Kołodziejski 4bc6b3ad13 STARK: Re-add stencil buffer stubs 2021-11-24 23:01:13 +01:00
Paweł Kołodziejski 57032f9c15 STARK: Fixed BE issue in textures for software renderer 2021-11-24 22:10:47 +01:00
Paweł Kołodziejski 7526020b12 STARK: Fixed memory corruption in software renderer 2021-11-24 21:27:49 +01:00
Paweł Kołodziejski a85dca29e9 STARK: Enable dirty rects for software renderer 2021-11-20 17:46:01 +01:00
Paweł Kołodziejski bd72851697 STARK: Preliminary support for software renderer 2021-11-20 17:33:57 +01:00
Cameron Cawley 4d206e5286 GRAPHICS: Clean up OpenGL defines (#3551) 2021-11-18 00:56:21 +01:00
Paweł Kołodziejski 3e5f4b1df4 STARK: Fixed lights code placement 2021-11-09 21:32:53 +01:00
Paweł Kołodziejski 5a4b27e148 STARK: Synchronise code with opengl renderer 2021-11-09 17:31:15 +01:00
Paweł Kołodziejski 5e227c9bb4 STARK: Added missing upload texture code in software renderer 2021-11-09 17:09:54 +01:00
Paweł Kołodziejski aa3718f0e8 STARK: Move texture binding out of vertices loop 2021-11-09 09:22:41 +01:00
Paweł Kołodziejski 188caf1130 STARK: Fixed savegame screenshots for software renderer 2021-11-08 20:02:20 +01:00
Paweł Kołodziejski d810267015 STARK: Fixed blitting offset in software renderer 2021-11-08 09:07:21 +01:00
Paweł Kołodziejski 91146900ca STARK: Explicit enable/disable texture mode when needed 2021-11-07 16:30:24 +01:00
Paweł Kołodziejski 2606eb5a33 STARK: Improve messages while creating renderer. 2021-10-28 11:06:55 +02:00
Paweł Kołodziejski 862bd7d05f GRAPHICS: Move FrameLimiter from engines to common graphics code 2021-10-27 23:11:20 +02:00
Paweł Kołodziejski a4e33a37eb STARK: Remove left over code 2021-10-20 22:31:36 +02:00
Paweł Kołodziejski 565cb7c7cb STARK: Added initial TinyGL renderer 2021-10-20 22:26:49 +02:00
Paweł Kołodziejski 7aab569882 STARK: Separated texture usage for 2D or 3D 2021-10-20 22:24:14 +02:00
Paweł Kołodziejski 4bf044d361 STARK: Cleanup comments 2021-10-20 07:27:49 +02:00
Paweł Kołodziejski f407852260 STARK: Avoid changing texture coords in loop 2021-10-19 22:40:00 +02:00
Paweł Kołodziejski 4ac851cd0f STARK: Small cleanup in OpenGL code 2021-10-19 22:38:43 +02:00
Paweł Kołodziejski a3c99a3e1b STARK: Move lights pre-calculation to top of lights setup 2021-10-19 21:18:33 +02:00
D G Turner 95ed6233ff STARK: Fix GCC Variable Shadowing Warning 2021-10-19 19:48:08 +01:00
Paweł Kołodziejski 6b14053452 STARK: Reset array buffer in OpenGL renderer 2021-10-19 20:42:20 +02:00
Paweł Kołodziejski 7dbf9c2b33 STARK: Move static portions of light calculations outside vertex loop 2021-10-19 16:30:09 +02:00