diff options
author | Jeroen Bakker <jeroen@blender.org> | 2019-12-05 16:21:57 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2019-12-06 09:45:07 +0300 |
commit | 15abc9fe743e09f2ec7ef3a6bcfb8f4954bcf28c (patch) | |
tree | 49fc31a16b2e89d0fd67f8756dc164c82098a23c /source/blender/makesdna | |
parent | 601eafd104ca66e3baaa45e9ecb00989395c55d9 (diff) |
Draw: Removal of MultiSample Buffers
Multisample buffers were used for smooth line drawing. As we now have
an algorithm that doesn't need the multisample buffers we can remove
them.
The user preference for viewport multi_sampling is replaced by single
toggle overlay `use_overlay_smooth_wire`. By default this setting is
enabled as the new drawing is really quick (<1ms) and uses zero hacks.
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D6367
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 11a0e441392..eb1b3036767 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -1042,6 +1042,7 @@ typedef enum eUserpref_UI_Flag2 { typedef enum eUserpref_GPU_Flag { USER_GPU_FLAG_NO_DEPT_PICK = (1 << 0), USER_GPU_FLAG_NO_EDIT_MODE_SMOOTH_WIRE = (1 << 1), + USER_GPU_FLAG_OVERLAY_SMOOTH_WIRE = (1 << 2), } eUserpref_GPU_Flag; /** #UserDef.tablet_api */ |