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>2018-04-06 15:25:55 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-04-06 15:25:55 +0300
commit21113ad8343c8ce80508aac08c5afbc2aa9dd2e7 (patch)
tree0a786c20afb6b6ad831e5bbb82e27d6ab49f38ec /source/blender/editors/include/UI_interface.h
parentfcb4aaf7a9b08b4123a17846c02a9da40c274874 (diff)
UI: Perf: Add batching capability to widgets.
Similiar to how we batch Icons together. This is not enabled in this commit.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r--source/blender/editors/include/UI_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 6e09318314d..0eabdc1ec0f 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -1168,4 +1168,9 @@ void UI_tooltip_free(struct bContext *C, struct bScreen *sc, struct ARegion *ar)
int UI_calc_float_precision(int prec, double value);
+/* widget batched drawing */
+void UI_widgetbase_draw_cache_begin(void);
+void UI_widgetbase_draw_cache_flush(void);
+void UI_widgetbase_draw_cache_end(void);
+
#endif /* __UI_INTERFACE_H__ */