Blender Git Loki

Git Commits -> Revision efd547f

Revision efd547f by Campbell Barton (master)
June 9, 2016, 20:09 (GMT)
GPU: avoid multiple bind calls in GPU_draw_pbvh_buffers

Also add utility functions: GPU_basic_shader_bind_enable/disable
so we don't have to get the previous state every time and manipulate it

Commit Details:

Full Hash: efd547f3da10a247fdcff66e74f9b98ec3abdd39
Parent Commit: 6798809
Lines Changed: +29, -10

4 Modified Paths:

/source/blender/editors/interface/interface_draw.c (+1, -2) (Diff)
/source/blender/gpu/GPU_basic_shader.h (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_basic_shader.c (+10, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+15, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021