immediate mode: Triple Buffer and two new shaders for TEXTURE_2D and TEXTURE_RECT
authorDalai Felinto <dfelinto@gmail.com>
Thu, 22 Sep 2016 13:20:44 +0000 (13:20 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Thu, 22 Sep 2016 13:40:33 +0000 (13:40 +0000)
commit4a1feaa5558ed60388fd3be41db74fbc54f2ab08
treeecba74ff6a02205035ba6dffec9f967cfbd8a3d9
parent1d469f3780dc9138448a49851a9056c3596a7cf8
immediate mode: Triple Buffer and two new shaders for TEXTURE_2D and TEXTURE_RECT

Use the same vertex shader for both fragment shaders
source/blender/gpu/CMakeLists.txt
source/blender/gpu/GPU_shader.h
source/blender/gpu/gawain/immediate.c
source/blender/gpu/gawain/immediate.h
source/blender/gpu/intern/gpu_shader.c
source/blender/gpu/shaders/gpu_shader_2D_texture_2D_frag.glsl [new file with mode: 0644]
source/blender/gpu/shaders/gpu_shader_2D_texture_rect_frag.glsl [new file with mode: 0644]
source/blender/gpu/shaders/gpu_shader_2D_texture_vert.glsl [new file with mode: 0644]
source/blender/windowmanager/intern/wm_draw.c