Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-19 | GPUState: Fix signed / bitfield conversion leading to wrong enum value | Clément Foucault | |
This was creating drawing issues on windows builds. | |||
2020-08-18 | Cleanup: GPUState: Remove GPU_state_init() | Clément Foucault | |
2020-08-18 | GPUState: Port default state to StateManager constructor | Clément Foucault | |
2020-08-18 | Cleanup: DRW: Use GPUState instead of raw opengl calls | Clément Foucault | |
Should not break anything! Huh! | |||
2020-08-18 | GPUState: Only apply state before drawing | Clément Foucault | |
2020-08-18 | Cleanup: GPUState: Remove stack from the state manager and rename it | Clément Foucault | |
2020-08-18 | GPUState: Remove gpuPushAttr/gpuPopAttr | Clément Foucault | |
And use manual save/restore mechanism. The stack method is not used so much to be considered useful. | |||
2020-08-18 | GPUState: Make use of GPUStateStack class | Clément Foucault | |
This isolate most GL calls to the GL backend. Still a few remains. | |||
2020-08-18 | GPUState: GPU_blend final API renaming | Clément Foucault | |
We now use GPU_blend for enabling / disabling blending and explicitly set the blend equation. | |||
2020-08-18 | Cleanup: GPUState: remove use of GPU_blend_set_func | Clément Foucault | |
2020-08-18 | Cleanup: GPUState: Replace blend func separate by enum | Clément Foucault | |
2020-08-18 | Cleanup: GPU: Move towards an explicit Blend state | Clément Foucault | |
This make use of the GLStateStack functions for: - `GPU_blend()` - `GPU_blend_set_func()` - `GPU_blend_set_func_separate()` The goal is to unify them using an explicit state setting. This will remove the need to use obscure blend functions | |||
2020-08-18 | GPUState: Add GL backend and state tracking but do not use it | Clément Foucault | |
This is just the backend work. It is not plugged in yet because it needs more external cleanup/refactor. | |||
2020-08-18 | Cleanup: GPUState: remove float variant of GPU_scissor_get | Clément Foucault | |
2020-07-30 | Cleanup: Split gpu_texture_image.c into BKE and IMB modules | Clément Foucault | |
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`. | |||
2020-07-29 | GPUState: Fix compilation error on MSVC | Clément Foucault | |
2020-07-29 | GPU: Move gpu_state.c to C++ | Clément Foucault | |