forked from enlightenment/enlightenment
change native api to allow for other types of native data like texture
id's, fbo's etc. too - at least it's versioned now. SVN revision: 55315
This commit is contained in:
parent
2229f914f5
commit
07ff0c319b
|
@ -535,6 +535,8 @@ _e_mod_comp_win_update(E_Comp_Win *cw)
|
|||
{
|
||||
Evas_Native_Surface ns;
|
||||
|
||||
ns.version = EVAS_NATIVE_SURFACE_VERSION;
|
||||
ns.type = EVAS_NATIVE_SURFACE_X11;
|
||||
ns.data.x11.visual = cw->vis;
|
||||
ns.data.x11.pixmap = cw->pixmap;
|
||||
evas_object_image_native_surface_set(cw->obj, &ns);
|
||||
|
@ -1438,6 +1440,8 @@ _e_mod_comp_win_mirror_add(E_Comp_Win *cw)
|
|||
{
|
||||
Evas_Native_Surface ns;
|
||||
|
||||
ns.version = EVAS_NATIVE_SURFACE_VERSION;
|
||||
ns.type = EVAS_NATIVE_SURFACE_X11;
|
||||
ns.data.x11.visual = cw->vis;
|
||||
ns.data.x11.pixmap = cw->pixmap;
|
||||
evas_object_image_size_set(o, w, h);
|
||||
|
|
Loading…
Reference in New Issue