DRW: Use name buffer to request uniform location before drawing.
authorClément Foucault <foucault.clem@gmail.com>
Thu, 17 Jan 2019 17:33:08 +0000 (18:33 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 17 Jan 2019 18:48:00 +0000 (19:48 +0100)
commite3b3b3207682233978dac5b06aef6748dcc0367c
tree34adba542c21f2c983b072e4d7330ce64b55a6b1
parentdc7e492989408038c89b5283ec5710b98457696f
DRW: Use name buffer to request uniform location before drawing.

This is in order to avoid GL call during the "cache creation" phase and
support multithreading.
source/blender/draw/intern/draw_manager.c
source/blender/draw/intern/draw_manager.h
source/blender/draw/intern/draw_manager_data.c
source/blender/draw/intern/draw_manager_exec.c
source/blender/gpu/intern/gpu_shader.c