48690d967a
GPUContext: Move GPUContext to gpu::Context for more consistency
...
This makes the GPUContext follow the same naming convention as the rest
of the module.
Also add a static getter for extra bonus style (no need for casts):
- Context::get()
- GLContext::get()
2020-09-08 04:15:50 +02:00
19d72175ba
GPUShaderInterface: GL backend isolation
2020-08-20 16:11:14 +02:00
14fcd46ca7
GPU: Use GPUShader setters for uniforms removing uses of ShaderInterface
2020-08-20 16:11:14 +02:00
2eddfa85e0
Cleanup: GPU: Remove uneeded depth precision getter.
...
We always use 24bit framebuffers nowadays.
2020-08-18 21:30:10 +02:00
216d78687d
GPUShader: GL backend isolation
2020-08-18 21:30:09 +02:00
f1b1a0745f
Cleanup: GPU: Change gpu_context_private.h to C++ only header
2020-08-08 03:05:39 +02:00
c889d93c80
Cleanup: GPU, Clang-Tidy else-after-return fixes
...
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/gpu` module.
No functional changes.
2020-08-07 13:38:06 +02:00
6a444830a3
GPU: Convert gpu_matrix.c to C++
2020-08-02 02:10:22 +02:00