aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/efl_canvas_scene3d.eo
diff options
context:
space:
mode:
authorOleksandr Shcherbina <o.shcherbina@samsung.com>2016-06-03 14:22:33 +0300
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-06-03 14:22:33 +0300
commit7e0601c98027a710e273fc2abe1dc2278a54a093 (patch)
tree6ef4a8072940ff3e8fa91062ce068a0c4318948d /src/lib/evas/canvas/efl_canvas_scene3d.eo
parentevas: fix huge memory leak for non-async rendering (diff)
downloadefl-7e0601c98027a710e273fc2abe1dc2278a54a093.tar.gz
evas: Get pixels from rendered 3D scene
Summary: Implemented interface Efl.Gfx.Buffer functions bufer_map/unmap for Efl.Canvas3D.Scene. Added function e3d_drawable_texture_rendered_pixels_get to module evas_gl_3d to getting pixels from FBO. Added wrappers for functions e3d_drawable_texture_rendered_pixels_get and e3d_drawable_texture_id_get to have possibility call it through engine functions. Reviewers: cedric, Hermet, raster, jpeg Reviewed By: jpeg Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3978
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_scene3d.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_scene3d.eo6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_scene3d.eo b/src/lib/evas/canvas/efl_canvas_scene3d.eo
index b157587e11..4df223992f 100644
--- a/src/lib/evas/canvas/efl_canvas_scene3d.eo
+++ b/src/lib/evas/canvas/efl_canvas_scene3d.eo
@@ -1,4 +1,4 @@
-class Efl.Canvas.Scene3d (Evas.Image)
+class Efl.Canvas.Scene3d (Evas.Image, Efl.Gfx.Buffer)
{
[[A UI view for EFL Canvas 3D.]]
data: null;
@@ -15,4 +15,8 @@ class Efl.Canvas.Scene3d (Evas.Image)
}
}
}
+ implements {
+ Efl.Gfx.Buffer.buffer_map;
+ Efl.Gfx.Buffer.buffer_unmap;
+ }
}