From 15abc9fe743e09f2ec7ef3a6bcfb8f4954bcf28c Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Thu, 5 Dec 2019 14:21:57 +0100 Subject: 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 --- source/blender/editors/include/ED_view3d.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 83caef29ca3..37ffb1b9d6d 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -593,7 +593,6 @@ struct ImBuf *ED_view3d_draw_offscreen_imbuf(struct Depsgraph *depsgraph, int sizey, unsigned int flag, int alpha_mode, - int samples, const char *viewname, struct GPUOffScreen *ofs, char err_out[256]); @@ -607,7 +606,6 @@ struct ImBuf *ED_view3d_draw_offscreen_imbuf_simple(struct Depsgraph *depsgraph, unsigned int flag, unsigned int draw_flags, int alpha_mode, - int samples, const char *viewname, struct GPUOffScreen *ofs, char err_out[256]); -- cgit v1.2.3