UI: Perf: Add batching capability to widgets.
Similiar to how we batch Icons together. This is not enabled in this commit.
This commit is contained in:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user