summaryrefslogtreecommitdiff
path: root/legacy/evil/src/bin/evil_test_dlfcn.c
diff options
context:
space:
mode:
authorSung Park <sungwoo@gmail.com>2012-01-20 12:29:14 +0000
committerSung Park <sungwoo@gmail.com>2012-01-20 12:29:14 +0000
commit9afd5b3f3fdf678c26898b33d03258c3f0f4e023 (patch)
tree416da133f9d9183187db62891118c65f1c132514 /legacy/evil/src/bin/evil_test_dlfcn.c
parent0f2dba299d69b7d058ffc168a5783d1abf8ba08d (diff)
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