jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=39a42ff559f2558a243de42eab47acbba10a3095

commit 39a42ff559f2558a243de42eab47acbba10a3095
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Jul 13 17:02:32 2015 +0900

    glview: pass render_op flag to the child surface
    
    Without this, apps can't set a GLView to be in COPY mode.
    COPY mode allows the glview to "poke holes" in the backbuffer of
    the window, without the need for other objects below (eg. a
    transparent rectangle in COPY mode).
---
 src/lib/elm_glview.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/elm_glview.c b/src/lib/elm_glview.c
index 8530c54..2bc87f1 100644
--- a/src/lib/elm_glview.c
+++ b/src/lib/elm_glview.c
@@ -114,6 +114,9 @@ static Eina_Bool
 _render_cb(void *obj)
 {
    ELM_GLVIEW_DATA_GET(obj, sd);
+   ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
+
+   evas_object_render_op_set(wd->resize_obj, evas_object_render_op_get(obj));
 
    // Do a make current
    if (!evas_gl_make_current(sd->evasgl, sd->surface, sd->context))

-- 


Reply via email to