diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-12-04 03:31:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-12-05 00:32:17 +0300 |
commit | 6d3eb85f66ae93d9d4859ef3264f1a1b2ae4fa36 (patch) | |
tree | a18be546ae0daee539de83bcddea7ee4e2195e24 /source/blender/draw/engines/overlay/overlay_antialiasing.c | |
parent | e203f69bc3eb0c3c77820d54821c2e71469f36d1 (diff) |
Overlay Engine: Simplify outline rendering by using the antialiasing pass
This use the overlay AA pass to antialias the selection outlines.
This also do all search and expand in one pass and reduce the computation
time and memory used (2 x 32bit/pixel buffer less).
Note that the aliasing is a bit worse than the old FXAA that we used to have.
Diffstat (limited to 'source/blender/draw/engines/overlay/overlay_antialiasing.c')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_antialiasing.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_antialiasing.c b/source/blender/draw/engines/overlay/overlay_antialiasing.c index 569d47bf3a2..8f357d37768 100644 --- a/source/blender/draw/engines/overlay/overlay_antialiasing.c +++ b/source/blender/draw/engines/overlay/overlay_antialiasing.c @@ -60,12 +60,6 @@ #include "overlay_private.h" -void OVERLAY_antialiasing_reset(OVERLAY_Data *vedata) -{ - OVERLAY_PrivateData *pd = vedata->stl->pd; - pd->antialiasing.sample = 0; -} - void OVERLAY_antialiasing_init(OVERLAY_Data *vedata) { OVERLAY_FramebufferList *fbl = vedata->fbl; |