Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2016-08-26 08:12:44 +0300
committerMike Erwin <significant.bit@gmail.com>2016-08-26 08:12:44 +0300
commit42bbfe7f0a1f357781859ee3a2819f00e2c54f4c (patch)
tree728fbad4a5fecb6b89724f38ebc2ac4a718aaacc /source/blender/gpu/GPU_immediate.h
parent060bf1bd288dba99f9214099315e4fe64818c56c (diff)
OpenGL: draw grid floor & axes with new immediate mode
Significant rewrite with some improvements. Maintain visual hierarchy of the grid: - emphasized lines draw atop normal lines - axes draw atop all lines (same as before) Draw axes only once, not twice. Return early if nothing to draw. Single draw call for the default case (grid floor with X and Y axes). Z axis needs a second draw call because it uses 3D coordinates. Part of T49043
Diffstat (limited to 'source/blender/gpu/GPU_immediate.h')
0 files changed, 0 insertions, 0 deletions