Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-08-31 19:39:17 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-01 01:30:36 +0300
commit052538edc1fba109d3427471047611888ed13bea (patch)
tree8d3bfbd0b1045d7e62647b8cff9f4e4aa28ef56d /source/blender/gpu/GPU_batch_presets.h
parent3e7feaff44b70972751c9a62b83bde50a9c09592 (diff)
Cleanup: Use GPUBatch for icon and area drawing
This is in order to remove GPU_draw_primitive to streamline the drawing abstraction.
Diffstat (limited to 'source/blender/gpu/GPU_batch_presets.h')
-rw-r--r--source/blender/gpu/GPU_batch_presets.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_batch_presets.h b/source/blender/gpu/GPU_batch_presets.h
index 7a235dd0e12..19f200fecbf 100644
--- a/source/blender/gpu/GPU_batch_presets.h
+++ b/source/blender/gpu/GPU_batch_presets.h
@@ -43,6 +43,8 @@ struct GPUBatch *GPU_batch_preset_panel_drag_widget(const float pixelsize,
const float col_dark[4],
const float width) ATTR_WARN_UNUSED_RESULT;
+struct GPUBatch *GPU_batch_preset_quad(void);
+
void gpu_batch_presets_init(void);
void gpu_batch_presets_register(struct GPUBatch *preset_batch);
bool gpu_batch_presets_unregister(struct GPUBatch *preset_batch);