From ab9adf9cdc3b2fd91dcade32ea4b4359f4897392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Fri, 30 Mar 2018 19:16:14 +0200 Subject: BLF: Use Batch API instead of IMM. This is not a perfect win just yet. It's now calling glBufferSubData for every call (instead of using glMapBufferRange which is almost faster), but with this system we will be able to batch drawcalls together. See next commit. --- source/blender/gpu/GPU_batch.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_batch.h') diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h index fda24018150..52cf37a7457 100644 --- a/source/blender/gpu/GPU_batch.h +++ b/source/blender/gpu/GPU_batch.h @@ -40,6 +40,7 @@ struct rctf; // #include "gawain/batch.h" #include "BLI_compiler_attrs.h" +#include "BLI_sys_types.h" #include "GPU_shader.h" -- cgit v1.2.3