|author||Sung Park <firstname.lastname@example.org>||2012-01-20 12:29:14 +0000|
|committer||Sung Park <email@example.com>||2012-01-20 12:29:14 +0000|
Added Direct Rendering to Evas' window instead of an FBO in Evas_GL.
This optimization is significant for rendering to a large surface because it'l save an extra copy overhead as well as an extra rendering pass. To enable it, you can give EVAS_GL_OPTIONS_DIRECT hint in the surface config options_bits. The following conditions have to be met in order for evas to render directly into the Evas' window. If they are not met, the engine will fallback to rendering to an FBO as it normally does. conditions: 1.) All the GL calls have to be called using the pixel_get_callback function. This is necessary for the evas object order to be maintained. 2.) Alpha must be disabled on the image ojbect that renders evas_gl. 3.) No rotation allowed. One way to override above condition is to set EVAS_GL_DIRECT_OVERRIDE=1 but there is no guarantee in its behavior. Currently, this optimization is added for gl_x11 engine only. SVN revision: 67388
Diffstat (limited to 'legacy/evil/src/bin/evil_test_dlfcn.c')
0 files changed, 0 insertions, 0 deletions