summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_generic/evas_ector_software_buffer.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-12-08 17:29:54 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 15:43:43 +0900
commit7a8879ba8bf5d9aec15428f94222222eea6c0e2e (patch)
tree0ccf55e8242dff190ec53d27aa4ac42308dbea88 /src/modules/evas/engines/software_generic/evas_ector_software_buffer.eo
parent85f23d96e7072f09ab73ab698047c3c172974b5e (diff)
ector: add engine-specific evas image buffer wrapper
Since Evas still relies entirely on Image_Entry and Evas_GL_Image, we will need an engine-specific wrapper object creating a Buffer around an existing cached image. Currently only SW support is implemented. GL will be more fun to do (with glReadPixels and whatnot).
Diffstat (limited to 'src/modules/evas/engines/software_generic/evas_ector_software_buffer.eo')
-rw-r--r--src/modules/evas/engines/software_generic/evas_ector_software_buffer.eo12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_ector_software_buffer.eo b/src/modules/evas/engines/software_generic/evas_ector_software_buffer.eo
new file mode 100644
index 0000000000..f6a1a200d3
--- /dev/null
+++ b/src/modules/evas/engines/software_generic/evas_ector_software_buffer.eo
@@ -0,0 +1,12 @@
1class Evas.Ector.Software.Buffer (Ector.Software.Buffer, Evas.Ector.Buffer)
2{
3 [[A buffer object wrapping an existing Evas Image_Entry.]]
4 legacy_prefix: null;
5 implements {
6 Eo.Base.constructor;
7 Eo.Base.finalize;
8 Eo.Base.destructor;
9 Evas.Ector.Buffer.engine_image.set;
10 Evas.Ector.Buffer.engine_image.get;
11 }
12}