diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-02-14 14:40:31 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-02-14 14:40:31 -0600 |
commit | ce3467f0b19918a2be535896b17d8f93030e2e0e (patch) | |
tree | 5db8fd751595c662c0726fb12788ad7f58af89ff /src/lib/efl_wl/efl_wl.c | |
parent | a2b5dbf1d876c001532d28ba9f558ae831095324 (diff) |
efl_wl: Update native surface for dmabuf test too
Should've added this to the last commit - though this change is purely
cosmetic as the test can never trigger direct scanout.
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 037efd67ff..863dcd9452 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c | |||
@@ -5584,6 +5584,8 @@ comp_dmabuf_test(struct linux_dmabuf_buffer *dmabuf) | |||
5584 | ns.version = EVAS_NATIVE_SURFACE_VERSION; | 5584 | ns.version = EVAS_NATIVE_SURFACE_VERSION; |
5585 | ns.data.wl_dmabuf.attr = &dmabuf->attributes; | 5585 | ns.data.wl_dmabuf.attr = &dmabuf->attributes; |
5586 | ns.data.wl_dmabuf.resource = NULL; | 5586 | ns.data.wl_dmabuf.resource = NULL; |
5587 | ns.data.wl_dmabuf.scanout.handler = NULL; | ||
5588 | ns.data.wl_dmabuf.scanout.data = NULL; | ||
5587 | test = evas_object_image_add(c->evas); | 5589 | test = evas_object_image_add(c->evas); |
5588 | evas_object_image_native_surface_set(test, &ns); | 5590 | evas_object_image_native_surface_set(test, &ns); |
5589 | ret = evas_object_image_load_error_get(test) == EVAS_LOAD_ERROR_NONE; | 5591 | ret = evas_object_image_load_error_get(test) == EVAS_LOAD_ERROR_NONE; |