Commit Graph

20 Commits

Author SHA1 Message Date
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
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
19819bd23a Reduce needless use of wchar / stringw 2024-02-18 17:12:51 +01:00
numzero
1387370260 OpenGL3: Sort out texture color format support 2023-04-29 13:07:57 +02:00
numzero
2e477a07d1 OpenGL3: Add version check helper 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
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
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
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
79fdab0551 Drop obsolete IVideoDriver features 2023-02-27 21:26:46 +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