summaryrefslogtreecommitdiff
path: root/src/lib/ector/gl/ector_gl_surface.eo
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-11-12 15:52:21 -0800
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-05 15:43:44 +0900
commit116fe3c65cd541b85623820605e237c4076024f2 (patch)
tree3eb399112740116ea2b3d1dbe75d42a3532d3dae /src/lib/ector/gl/ector_gl_surface.eo
parent1adc3cd915f9bd55337e37fb782bd1c38080478c (diff)
ector: initial implementation of our own Ector GL backend.
Diffstat (limited to 'src/lib/ector/gl/ector_gl_surface.eo')
-rw-r--r--src/lib/ector/gl/ector_gl_surface.eo35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/ector/gl/ector_gl_surface.eo b/src/lib/ector/gl/ector_gl_surface.eo
new file mode 100644
index 0000000000..31e6657975
--- /dev/null
+++ b/src/lib/ector/gl/ector_gl_surface.eo
@@ -0,0 +1,35 @@
1class Ector.GL.Surface (Ector.GL.Buffer, Ector.Generic.Surface)
2{
3 eo_prefix: ector_gl_surface;
4 legacy_prefix: null;
5 methods {
6 shader_get {
7 return: uint;
8 params {
9 @in flags: uint64_t;
10 }
11 }
12 push {
13 return: bool;
14 params {
15 @in flags: uint64_t;
16 @in vertex: GLshort *;
17 @in vertex_count: uint;
18 @in mul_col: uint;
19 }
20 }
21 state_define {
22 return: bool;
23 params {
24 @in op: Efl.Gfx.Render_Op;
25 @in clips: array<Eina.Rectangle *> *; [[array of @Eina.Rectangle clip]]
26 }
27 }
28 }
29 implements {
30 Ector.Generic.Surface.renderer_factory_new;
31 Ector.Generic.Surface.reference_point.set;
32 Eo.Base.destructor;
33 Eo.Base.constructor;
34 }
35}