diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-06 01:15:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-06 01:15:16 +0300 |
commit | dbd7f36da8ec3ac1c2898aee346beecb86aac8a2 (patch) | |
tree | 0d77061a4305b7bcfef13bb753089e5f6f21e7c3 /source/blender/editors/sculpt_paint/paint_image_undo.c | |
parent | a245d533514e335f028cfa6cdb26614ed0982484 (diff) |
GPU: refactor clipped drawing from DRW into GPU
Needed to fix T61196, supporting clipped back-buffer in the 3D view
which is done outside the draw module.
It was also inconvenient having DRW_shader_* versions of GPU_shader_*
API calls.
- Clipping distances are now supported as a shader configuration
for builtin shaders.
- Add shader config argument when accessing builtin shaders.
- Move GPU_shader_create_from_arrays() from DRW to GPU.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_undo.c')
0 files changed, 0 insertions, 0 deletions