Blender Git Commit Log

Git Commits -> Revision d55c269

Revision d55c269 by Clément Foucault (master)
December 1, 2018, 19:38 (GMT)
UI: Simplify the area border drawing

Instead of doing a lot of alpha blended drawing with jittering, use the
fragment shader to do the masking using a circle mask.

This is much simpler and requires much less resources.

Hopefully this may solve the issue we have with the Intels UHD Graphics 620
on linux.

Commit Details:

Full Hash: d55c269dd197288c30ca2881136330931bf05f98
Parent Commit: 6a80a78
Lines Changed: +39, -39

1 Added Path:

/source/blender/gpu/shaders/gpu_shader_2D_area_borders_frag.glsl (+16, -0) (View)

4 Modified Paths:

/source/blender/editors/screen/screen_draw.c (+7, -20) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+2, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_area_borders_vert.glsl (+13, -18) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021