This website requires JavaScript.
Explore
Help
Register
Sign In
kimcinoo
/
efl
forked from
enlightenment/efl
Watch
1
Star
0
Fork
You've already forked efl
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
f5b01ac5ce
efl
/
src
/
lib
/
ector
/
gl
/
ector_gl_buffer.eo
6 lines
97 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 ;)
2017-01-17 18:47:25 -08:00
class Ector.GL.Buffer (Efl.Object, Ector.Buffer)
ector: initial implementation of our own Ector GL backend.
2015-11-12 15:52:21 -08:00
{
docs: ector_gl: fill gaps in ector gl backend eo file documentation
2016-11-15 06:51:32 -08:00
[[Ector GL buffer class]]
ector: initial implementation of our own Ector GL backend.
2015-11-12 15:52:21 -08:00
data: null;
}