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
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
HybridDog
f91be59811
Remove support for GL_POINT_SMOOTH and GL_LINE_SMOOTH antialiasing
...
These antialiasing techniques have been removed in OpenGL 3.1, they were often executed by the CPU, and Minetest does not use them.
The OpenGL wiki recommends that we do not use this functionality in our program.
https://www.khronos.org/opengl/wiki/Multisampling#Smooth_antialiasing
2024-02-17 22:04:01 +01:00
sfan5
ad96fabe4a
Remove mistaken code block from OGLES1 driver
...
Version can never be 200 here, this was probably mistakenly copy-pasted from the OpenGL driver.
2024-02-17 21:01:15 +01:00
sfan5
8f44270e4a
Rip out compressed color formats
2024-01-16 20:23:23 +01:00
Vitaliy
9954667c45
Cleanup line endings ( #245 )
...
The exact commands to make this commit were:
git reset --hard origin/master
find -type f | # list all regular files
grep -E '\.(h|cpp|fsh|vsh|mm)|LICENSE$' | # filter for text files
xargs -n 1 -P $(nproc) sed -i 's:\s*$::' # for each file, trim trailing whitespace including the CR
git commit -a
2023-10-03 20:37:00 +02:00
Gregor Parzefall
0b9ee5884f
Fix Android build after #231
2023-09-17 20:34:43 +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
83699a835d
Remove content-less comments
2023-06-15 10:01:34 +02:00
Gregor Parzefall
98589d2fd2
Remove unused fixed function materials
2023-06-15 10:01:34 +02:00
sfan5
a9230e5f49
Delete profiler
2023-01-02 21:05:07 +01:00
savilli
f0766c845f
Fix crash in COGLES1Driver ( #128 )
2022-08-22 19:12:40 +02:00
Dmitry Kostenko
53e1b52ff4
Reset blend equation in 2D mode in OGLES1 and OGLES2 drivers
2022-06-10 08:35:05 +02:00
sfan5
aa095d9525
Remove more dead code ( #108 )
2022-06-01 15:03:52 +02:00
paradust7
3e81f38098
Make irrArray backed by std::vector ( #101 )
2022-05-21 23:56:36 +02:00
paradust7
ba0396e93d
Replace HWBufferMap with a list and back pointers ( #99 )
2022-04-29 12:04:22 +02:00
sfan5
dd09fdcb4e
Remove more unused code ( #87 )
2021-12-29 13:12:09 +01:00
Vincent Robinson
78d1a3f73e
Fix getViewPort
returning incorrect results
2021-06-21 23:16:38 +02:00
cutealien
084e0e669a
Merging r6073 through r6074 from trunk to ogl-es branch.
...
The support for UINT shader constants added in this is just returning warnings in GLES drivers as this would need ES 3.0
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6115 dfc29bdd-3216-0410-991c-e03cc46cb475
2020-06-11 20:27:29 +00:00
cutealien
2ae2a551a6
Merging r5975 through r6036 from trunk to ogl-es branch.
...
GLES drivers adapted, but only did make compile-tests.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6038 dfc29bdd-3216-0410-991c-e03cc46cb475
2020-01-03 19:05:16 +00:00