Blender Git Loki

Git Commits -> Revision c4c6efc

Revision c4c6efc by Jason Wilkins (soc-2012-swiss_cheese)
May 25, 2012, 23:39 (GMT)
misc. fixes and optimizations of gpuImmediate

* Need to know the lock count of gpuImmediate, not just if its locked
* Use ClientActiveTexture before TexCoordPointer, not ActiveTexture
* Only set blending state one when drawing text
* Do not use gpuBegin right away because the texture hasn't been loaded yet
* The maximum number of texture units calculation depends on the GL version

Commit Details:

Full Hash: c4c6efc218561f039b55c8013f9f05f01af0642e
SVN Revision: 47030
Parent Commit: 7e5cd3d
Lines Changed: +110, -95

6 Modified Paths:

/source/blender/blenfont/intern/blf.c (+14, -12) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_immediate.c (+32, -32) (Diff)
/source/blender/gpu/intern/gpu_immediate.h (+34, -31) (Diff)
/source/blender/gpu/intern/gpu_immediate_gl11.c (+25, -15) (Diff)
/source/blender/gpu/intern/gpu_immediate_inline.h (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021