summaryrefslogtreecommitdiff
path: root/src/lib/ector/gl/ector_gl_surface.eo
blob: e3585cd64a922ef69ac54ac7bad09ca27351bf41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import ector_types;

class Ector.GL.Surface (Ector.GL.Buffer, Ector.Generic.Surface)
{
   eo_prefix: ector_gl_surface;
   legacy_prefix: null;
   methods {
      shader_get {
         return: uint;
         params {
            @in flags: uint64;
         }
      }
      push {
         return: bool;
	 params {
	    @in flags: uint64;
	    @in vertex: GLshort *;
	    @in vertex_count: uint;
	    @in mul_col: uint;
	 }
      }
      state_define {
         return: bool;
	 params {
            @in op: Efl.Gfx.Render_Op;
	    @in clips: array<Eina.Rectangle *> *; [[array of @Eina.Rectangle clip]]
	 }
      }
   }
   implements {
      Ector.Generic.Surface.renderer_factory_new;
      Ector.Generic.Surface.reference_point.set;
      Eo.Base.destructor;
      Eo.Base.constructor;
   }
}