Blender Git Loki

Git Commits -> Revision 637993f

Revision 637993f by Clément Foucault (master)
March 27, 2018, 22:05 (GMT)
UI: Perf: Make icon_draw_texture use GWN_draw_primitive.

This bypass the use of immediate mode for theses drawcalls. Placement and
and icon select (via uvs) is done inside the vertex shader.

Commit Details:

Full Hash: 637993fafe0c0bd1a2a12d3896673b929531f364
Parent Commit: 3bb720a
Lines Changed: +49, -21

1 Added Path:

/source/blender/gpu/shaders/gpu_shader_2D_image_rect_vert.glsl (+35, -0) (View)

4 Modified Paths:

/source/blender/editors/interface/interface_icons.c (+8, -21) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021