Desour
|
adc96072cd
|
Fix ugly formatted arrays
Found via: `rg --multiline "=\n\t*\{\n"`
|
2024-03-21 22:08:26 +01:00 |
|
Desour
|
f5c6d3e945
|
Reformat the code, using:
find -type f | # list all regular files
grep -E '\.(h|cpp|mm)$' | # filter for source files
grep -v '/mt_' | # filter out generated files
grep -v '/vendor/' | # and vendored GL
grep -v '/test/image_loader_test.cpp' | # and this file (has giant literals arrays)
xargs -n 1 -P $(nproc) clang-format -i # reformat everything
Co-authored-by: numzero <numzer0@yandex.ru>
|
2024-03-21 22:08:26 +01:00 |
|
sfan5
|
70b0b46d50
|
Delete deprecated video driver methods
|
2024-03-09 23:00:33 +01:00 |
|
sfan5
|
9f2d13a2b6
|
OpenGL: Print more debug info at init time
|
2024-02-23 21:31:33 +01:00 |
|
sfan5
|
3e8d8440e3
|
Vendor GL headers again
primary reason:
The unified GLES2 driver requires OpenGL headers (really), which Android does not provide.
|
2024-02-23 21:31:33 +01:00 |
|
sfan5
|
0a77ef5dc2
|
Enable unified driver with all devices
|
2024-02-23 21:31:33 +01:00 |
|
sfan5
|
e60921f0cb
|
Drop old shader material functions
I'm not sure what these actually are, but the situation is the same as the last commit.
|
2024-02-21 21:53:38 +01:00 |
|
sfan5
|
92252f70d2
|
Drop low-level shader constant setters
These don't work on the modern drivers and are unused anyway.
|
2024-02-21 21:53:38 +01:00 |
|
sfan5
|
45ace61007
|
OpenGL: support scene::EHM_STREAM
the relevant enum value is defined in both gl3 and gles2
|
2024-02-18 22:43:25 +01:00 |
|
sfan5
|
19819bd23a
|
Reduce needless use of wchar / stringw
|
2024-02-18 17:12:51 +01:00 |
|
sfan5
|
2894d9ab03
|
Add debug output to GL shader loading
|
2024-02-18 17:12:51 +01:00 |
|
numzero
|
645b51a34d
|
OpenGL3: Use std::vector in VertexType instead of clever lifetime games
|
2023-10-13 11:36:52 +02:00 |
|
numzero
|
bcc53e1e1a
|
OpenGL3: Make sure mt_opengl is only included after GLAPI is defined
|
2023-10-13 11:36:52 +02:00 |
|
numzero
|
d4735ebc76
|
OpenGL3: Replace direct calls into libGL with mt_opengl
|
2023-10-13 11:36:52 +02:00 |
|
numzero
|
063079b372
|
OpenGL3: Make VertexType reference and not store the attribute list
|
2023-10-13 11:36:52 +02:00 |
|
numzero
|
3b198bdfda
|
OpenGL3: Fix noexcept mismatch
|
2023-10-13 11:36:52 +02:00 |
|
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 |
|