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)