Blender Git Commit Log

Git Commits -> Revision 963e48e

Revision 963e48e by Clément Foucault (master)
March 30, 2018, 18:59 (GMT)
BLF: Add Batching capabilities.

You can now use BLF_batching_start and BLF_batching_end to batch every
drawcall to BLF together minimizing the overhead introduced by BLF and the
opengl driver.

These calls cannot be nested (for now).

If the modelview matrix changes, previously batched calls are issued and a
the process resume with the new matrix.

However the projection matrix MUST not change and gl scissors as well.

Commit Details:

Full Hash: 963e48e1dfb09520369b9a3a31b4f57663651c21
Parent Commit: fb1463f
Lines Changed: +79, -16

5 Modified Paths:

/source/blender/blenfont/BLF_api.h (+5, -0) (Diff)
/source/blender/blenfont/intern/blf.c (+13, -0) (Diff)
/source/blender/blenfont/intern/blf_font.c (+54, -9) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+5, -5) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021