[Bf-blender-cvs] [0e99d51a385] greasepencil-object: Remove antialiasing code
Antonio Vazquez
noreply at git.blender.org
Tue Oct 3 18:27:49 CEST 2017
Commit: 0e99d51a385db0b8be8f470e391da26deae8db91
Author: Antonio Vazquez
Date: Tue Oct 3 18:27:03 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB0e99d51a385db0b8be8f470e391da26deae8db91
Remove antialiasing code
These functions are not working here. Need a new approach using FXAA.
===================================================================
M source/blender/draw/engines/gpencil/gpencil_engine.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index de83c70eee4..65ad6aebd6a 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -651,25 +651,19 @@ static void GPENCIL_draw_scene(void *vedata)
/* Combine with default scene buffer always using tx_a as source texture */
DRW_framebuffer_bind(dfbl->default_fb);
- MULTISAMPLE_SYNC_ENABLE(dfbl)
/* Mix VFX Pass */
DRW_draw_pass(psl->mix_vfx_pass);
/* prepare for fast drawing */
gpencil_prepare_fast_drawing(stl, dfbl, fbl, psl->mix_vfx_pass_noblend, clearcol);
-
- MULTISAMPLE_SYNC_DISABLE(dfbl)
}
else {
/* Combine with scene buffer without more passes */
DRW_framebuffer_bind(dfbl->default_fb);
- MULTISAMPLE_SYNC_ENABLE(dfbl)
/* Mix Pass: DRW_STATE_WRITE_COLOR | DRW_STATE_BLEND | DRW_STATE_WRITE_DEPTH | DRW_STATE_DEPTH_LESS */
DRW_draw_pass(psl->mix_pass);
/* prepare for fast drawing */
gpencil_prepare_fast_drawing(stl, dfbl, fbl, psl->mix_pass_noblend, clearcol);
-
- MULTISAMPLE_SYNC_DISABLE(dfbl)
}
}
/* edit points */
More information about the Bf-blender-cvs
mailing list