Blender Git Loki

Git Commits -> Revision ab9adf9

Revision ab9adf9 by Clément Foucault (master)
March 30, 2018, 18:09 (GMT)
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.

Commit Details:

Full Hash: ab9adf9cdc3b2fd91dcade32ea4b4359f4897392
Parent Commit: 8568d38
Lines Changed: +154, -64

8 Modified Paths:

/source/blender/blenfont/BLF_api.h (+1, -0) (Diff)
/source/blender/blenfont/intern/blf.c (+16, -31) (Diff)
/source/blender/blenfont/intern/blf_font.c (+101, -25) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+11, -4) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+3, -4) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+18, -0) (Diff)
/source/blender/gpu/GPU_batch.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021