summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_common_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-01-24 14:23:03 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-14 11:26:43 +0900
commit3d2f1a3d9b04d4067ebe6008d2662c46ec694d7b (patch)
treeadcdba47ffe0813684dc6379d1328102736adc67 /src/lib/evas/include/evas_common_private.h
parent92dfe1831cc8a5f53c65ef5b0893eb05d2476e45 (diff)
evas filters: Implement mask filter in pure GL
This reuses the existing mask infrastructure, but adds a color flag to use the whole RGBA range, rather than just the Alpha channel. Filters are still very slow (glReadPixels and non-optimized use of GL buffers...), but this is progress :)
Diffstat (limited to 'src/lib/evas/include/evas_common_private.h')
-rw-r--r--src/lib/evas/include/evas_common_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index a3558f6e55..829c5109c3 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -766,6 +766,7 @@ struct _RGBA_Draw_Context
766 int mask_x, mask_y; 766 int mask_x, mask_y;
767 Eina_Bool use : 1; 767 Eina_Bool use : 1;
768 Eina_Bool async : 1; 768 Eina_Bool async : 1;
769 Eina_Bool mask_color : 1; // true if masking with color (eg. filters)
769 } clip; 770 } clip;
770 struct { 771 struct {
771#ifdef HAVE_PIXMAN 772#ifdef HAVE_PIXMAN