Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-19 | Cleanup: consistent TODO/FIXME formatting for names | Campbell Barton | |
Following the most widely used convention for including todo's in the code, that is: `TODO(name):`, `FIXME(name)` ... etc. | |||
2020-09-18 | GPUImmediate: Add system wide workaround for wide line | Clément Foucault | |
This makes wide line supported on MacOS and other implementation that does not support wide line by default. This workaround works for all Line types but only if using one of the 5 default shaders. The workaround is completely isolated and invisible to the outside. It has no side effect. Note: This does not affect the GPUBatch drawing. | |||
2020-09-12 | Fix remaining GL calls/type preventing from building due to recent cleanup | Clément Foucault | |
2020-09-10 | GPUImmediate: Fix wrong resize of immBatchAtMost | Clément Foucault | |
2020-09-08 | GPUContext: Move GPUContext to gpu::Context for more consistency | Clément Foucault | |
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 | GPUImmediate: Make activation / deactivation implicit | Clément Foucault | |
This avoids unecessary complexity. Also makes the GPUImmediate threadsafe by using a threadlocal imm variable. | |||
2020-09-07 | GPUVertBuf: Rename GPUVertBuf to VertBuf and add some getters | Clément Foucault | |
to avoid more typecasts. | |||
2020-09-06 | GPUVertBuf: Make GPUVertBuf private to the GPU module | Clément Foucault | |
This is just a cleanup to isolate the internals of the vertbuf. This adds some getters to avoid refactor of existing code. | |||
2020-08-31 | Cleanup: GPU: Remove unused attr_binding and primitive code | Clément Foucault | |
2020-08-31 | GPUImmediate: GL backend isolation | Clément Foucault | |
This is part of the Vulkan backend task T68990. This is mostly a cleanup, however, there is a small change: We don't use a special Vertex Array binding function for Immediate anymore and just reuse the one for batches. This might create a bit more state changes but this could be fixed easily if it causes perf regression. # Conflicts: # source/blender/gpu/intern/gpu_context.cc | |||
2020-08-31 | Cleanup: GPU_immediate: Change assert to BLI_assert | Clément Foucault | |
2020-08-20 | GPUShaderInterface: GL backend isolation | Clément Foucault | |
2020-08-20 | GPU: Use GPUShader setters for uniforms removing uses of ShaderInterface | Clément Foucault | |
2020-08-18 | GPUState: Only apply state before drawing | Clément Foucault | |
2020-08-18 | GPUShader: GL backend isolation | Clément Foucault | |
2020-08-13 | GPUBatch: Merge phase and ownership flags and cleanup there usage | Clément Foucault | |
Also add new flags to communicate specific behavior to future backend. | |||
2020-08-13 | GPUShader: Change shader state tracking to be part of the GPUContext | Clément Foucault | |
This remove the use of batch->program and replace it with batch->shader. This will allow GL abstraction latter. | |||
2020-08-08 | Cleanup: GPU: Change gpu_context_private.h to C++ only header | Clément Foucault | |
2020-08-06 | Merge branch 'blender-v2.90-release' into master | Campbell Barton | |
2020-07-30 | GPUBatch & GPUImmediate: Use GPUShader instead of using raw OGL handle | Clément Foucault | |
2020-07-29 | GPU: Move gpu_vertex_format.c to C++ | Clément Foucault | |
2020-07-26 | GPU: Move gpu_immediate.c to C++ | Clément Foucault | |