On Fri, 11 Feb 2011 12:37:37 +1000 David Seikel <[email protected]> said:

> I know one of the use cases for EFL is to be used for 2D games.  I'm
> wondering how well EFL could be used as the 2D GUI layer over an OpenGL
> 3D rendered game as the background?

you'd have to render to memory and upload that to  texture then draw the
texture over the 3d scene.

> I guess the OpenGL evas engine would be used.

no - it can't really do this. evas takes over the whole window/buffer and also
takes ownership of swapping buffers too.

> I'm also guessing it renders things onto textures that are then mapped
> into OpenGL vertex space as planes?

it does - thought it renders everything using textures and/or vertexes - it
takes care of texture allocation and upload as well as texture atlas handling
and more.

> Easy to wrap EFL GUI elements onto arbitrary 3D objects?

as per first statement. not hyper-efficient, but the only way (via buffer
enigne) without changing the gl enigne to be able to target a texture (fbo) as
a target and thus be able to disable the swapping and other glx/egl  buts as
well as make it use the ccontext you give it etc.

> The same with mapping video?

video is handled via evas's existing yuv image data support.

> Any and all comments are welcome.
> 
> -- 
> A big old stinking pile of genius that no one wants
> coz there are too many silver coated monkeys in the world.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to