Blender Git Commit Log

Git Commits -> Revision 649b0cc

Revision 649b0cc by Clément Foucault (master)
September 18, 2020, 20:41 (GMT)
GPUImmediate: Add system wide workaround for wide line

This makes wide line supported on MacOS and other implementation that
does not support wide line by default.

This workaround works for all Line types but only if using one of the 5
default shaders.

The workaround is completely isolated and invisible to the outside. It has
no side effect.

Note: This does not affect the GPUBatch drawing.

Commit Details:

Full Hash: 649b0ccac8b514b471cdeede97b1a2839c2176b9
Parent Commit: f17302b
Lines Changed: +100, -0

4 Modified Paths:

/source/blender/gpu/GPU_state.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_immediate.cc (+83, -0) (Diff)
/source/blender/gpu/intern/gpu_immediate_private.hh (+9, -0) (Diff)
/source/blender/gpu/intern/gpu_state.cc (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021