summaryrefslogtreecommitdiffstats
path: root/servers/rendering/shader_compiler.h
Commit message (Collapse)AuthorAgeFilesLines
* Add shader uniform hints for screen textures so users can specify custom ↵clayjohn2022-08-091-0/+1
| | | | | | | | filter and repeat modes. At this time, it works best in the Vulkan Renderers as they support using multiple samplers with the same texture. In GLES3 this feature really only allows you to use the screen texture without mipmaps if you want to save the cost of generating them.
* Refactor shader hintsYuri Rubinsky2022-05-311-0/+1
|
* Add a new HashSet templatereduz2022-05-201-7/+7
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-161-18/+18
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde2022-05-021-2/+2
| | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
* Optimize include files to improve `shader_language.h` compilation speedYuri Roubinsky2022-01-121-1/+0
|
* New OpenGL batching canvas rendererclayjohn2022-01-111-0/+133