summaryrefslogtreecommitdiff
path: root/src/render/Shader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* refactor: cshader class to sshader struct (#10324)davc0n2025-05-081-2/+2
|
* renderer/opengl: Extract shaders from source (#9600)UjinT342025-03-291-12/+0
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* renderer: various fixes towards improving gpu calls robustness (#9188)Tom Englund2025-02-081-1/+4
| | | | | | | | | | | | | | ensure framebuffer textures are detached and deleted, avoid leaving framebuffers bound when not needed * render: avoid calling glDeleteProgram on no program its safe to do so but it adds a bunch of unnecessery lines in apitrace when tracing. if guard it and return early. * opengl: ensure texture and buffers are unbound ensure bound buffers are unbound after use, also detach textures from framebuffer before deleting it otherwise it will become dangling and essentially leak.
* shader: remove useless commentvaxerski2023-06-291-1/+0
|
* fix shader destroy id unsetvaxerski2022-12-031-2/+2
|
* Added screen shadersvaxerski2022-12-011-0/+6
|
* remove redundant check in CShadervaxerski2022-11-011-3/+1
|
* simplify a bit of codevaxerski2022-08-261-1/+1
|
* destroy program in shader destructorvaxerski2022-08-111-0/+7
|
* added CPU uniform location lookup optimizationvaxerski2022-06-301-0/+13
|
* progressvaxerski2022-04-041-0/+0