Commit Graph

30 Commits

Author SHA1 Message Date
Gregor Parzefall
a994c31ccf Expose all OpenGL filtering modes, use OpenGL names for them
Because of a review comment by numberZero.
2023-07-16 13:02:48 +02:00
Gregor Parzefall
c40045a40a Rename SMaterial::TextureLayer -> SMaterial::TextureLayers
It's not the "texture layer" of the material, but an array of texture layers.
2023-07-16 13:02:48 +02:00
Gregor Parzefall
5ececc7d29 Split up texture filtering properties of SMaterialLayer into MinFilter and MagFilter
You can now set the filter used when scaling textures down and the filter used when scaling textures up separately.
2023-07-16 13:02:26 +02:00
Gregor Parzefall
98589d2fd2 Remove unused fixed function materials 2023-06-15 10:01:34 +02:00
numzero
1387370260 OpenGL3: Sort out texture color format support 2023-04-29 13:07:57 +02:00
numzero
1f15fd0805 OpenGL3: Support min/max blend modes 2023-04-24 21:43:36 +02:00
numzero
81ad195aa3 OpenGL3: New extension listing system 2023-04-23 09:48:04 +02:00
Vitaliy
13680ef42d OpenGL3: Use DrawBuffer[s] from mt_opengl 2023-04-18 23:22:53 +02:00
numzero
2e477a07d1 OpenGL3: Add version check helper 2023-04-18 23:22:53 +02:00
numzero
8cf02ea27f OpenGL3: ExtensionHandler::initExtensionsNew: use GetInteger 2023-04-18 23:22:53 +02:00
numzero
efb660e7ed OpenGL3: drop unused ExtensionHandler functions 2023-04-18 23:22:53 +02:00
numzero
5f88555ed3 OpenGL3: restore MRT support 2023-04-18 23:22:53 +02:00
numzero
4ee1ab261e OpenGL3: Add driver-dependent feature checks 2023-04-18 23:22:53 +02:00
numzero
1d782702e1 OpenGL3: new version format 2023-04-18 23:22:53 +02:00
Vitaliy
aa1696a7e6
Use a buffer for quads indices
also use glDrawRangeElements for quad drawing
2023-04-08 19:08:03 +02:00
numzero
6a152e8629 OpenGL3: Drop unused material property uniforms 2023-04-07 17:42:54 +02:00
numzero
718ba69e1b OpenGL3: Drop unused fixed-function emulation materials 2023-04-07 17:42:54 +02:00
numzero
219b7fd7d2 Fix line endings in the new driver 2023-03-25 11:11:09 +03:00
numzero
ea0ca7f917 Small Fixes 2023-03-13 18:33:58 +03:00
numzero
82d1feb933 Accommodate lack of ETS_TEXTURE_1 2023-03-13 18:17:47 +03:00
numzero
8dd8652f5f Split new GL3/GLES2 drivers
The classes are tiny wrappers currently but should they be customized, they are there
2023-03-03 20:29:36 +03:00
numzero
2932065346 Report as OpenGL 3 2023-03-02 03:03:17 +03:00
numzero
05384fdc5e Unify drawing functions 2023-02-28 00:51:29 +03:00
numzero
48270029cd Drop obsolete stuff 2023-02-27 23:36:56 +03:00
numzero
c5ce853148 Unify quad drawing 2023-02-27 23:36:47 +03:00
numzero
4fba496917 Unify plain image drawing 2023-02-27 21:27:23 +03:00
numzero
79fdab0551 Drop obsolete IVideoDriver features 2023-02-27 21:26:46 +03:00
numzero
608aa150ff Load extensions the OpenGL 3 way 2023-02-27 20:32:06 +03:00
numzero
1f750cd7b2 Add debug handler 2023-02-27 20:31:51 +03:00
numzero
01295c9ce6 Add OpenGL3 renderer 2023-02-27 17:05:11 +03:00