path: root/src/lib/ector/software/Ector_Software.h
diff options
authorJean-Philippe Andre <>2017-01-18 11:47:25 +0900
committerJean-Philippe Andre <>2017-04-14 11:26:43 +0900
commit2ef8d6f39af839c23551239216cea100254f80df (patch)
tree415581d3cb5245012225777926638827051bc3c2 /src/lib/ector/software/Ector_Software.h
parentfb52c15e8513cc1458341da13e570d231a886551 (diff)
evas filters: Refactor ector and gfx filters A LOT
Alright, so this is a massive patch that is the result of trying to get rid of unused or poorly implemented classes in ector. Originally ector was meant to support VG but extend to things like filters as well. At the moment, ector's design makes it quite hard to plug in the filters. For now I think it's easier to implement the GL support for the filters directly in the engine, where I hope to interfere as little as possible. This massive patch keeps only the required minimum to support a versatile gl buffer that can be mapped, drawn or rendered to (FBO). It's extremely inefficient as it relies on glReadPixels and lots of texture uploads, as well as conversions between ARGB and Alpha. Another type of GL buffer is a wrap around an existing GL image, but that one is read-only (map or draw: no write map, no FBO). No, all the filters run fine, and the high-level implementation (evas_filters.c) does not need to know whether the underlying engine is SW or GL. One problem though appears with the blending or blurring of some Alpha buffers, the colors are wrong. This patch removes more lines than it adds so it must be good ;)
Diffstat (limited to 'src/lib/ector/software/Ector_Software.h')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/ector/software/Ector_Software.h b/src/lib/ector/software/Ector_Software.h
index f53526c5b2..7c94b895cf 100644
--- a/src/lib/ector/software/Ector_Software.h
+++ b/src/lib/ector/software/Ector_Software.h
@@ -10,7 +10,6 @@
10#include "software/ector_software_buffer_base.eo.h" 10#include "software/ector_software_buffer_base.eo.h"
11#include "software/ector_renderer_software.eo.h" 11#include "software/ector_renderer_software.eo.h"
12#include "software/ector_renderer_software_shape.eo.h" 12#include "software/ector_renderer_software_shape.eo.h"
13#include "software/ector_renderer_software_buffer.eo.h"
14#include "software/ector_renderer_software_gradient_linear.eo.h" 13#include "software/ector_renderer_software_gradient_linear.eo.h"
15#include "software/ector_renderer_software_gradient_radial.eo.h" 14#include "software/ector_renderer_software_gradient_radial.eo.h"
16 15