forked from enlightenment/efl
Evas filters: Disable proxies with the GL engine
Well, proxy sources are rendered to a... GL texture! But we actually want the image pixels. So we'll need to call glReadPixels to get them. Yes, it will be horribly slow. But there isn't really a way around. This will require a new internal API. For now, just disable the feature. Hopefully I can make it work soon enough for the release?
This commit is contained in:
parent
9917962ffb
commit
6d1356adea
|
@ -218,6 +218,13 @@ evas_filter_context_proxy_render_all(Evas_Filter_Context *ctx, Eo *eo_obj,
|
|||
|
||||
obj = eo_data_scope_get(eo_obj, EVAS_OBJ_CLASS);
|
||||
|
||||
if (ctx->gl_engine)
|
||||
{
|
||||
// FIXME: We need to call glReadPixels (yeah, no other way around...)
|
||||
CRI("Proxy subrender is not supported in the GL engine (yet)");
|
||||
return;
|
||||
}
|
||||
|
||||
EINA_LIST_FOREACH(ctx->buffers, li, fb)
|
||||
if (fb->source)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue