summaryrefslogtreecommitdiff
path: root/src/lib/ector/gl/ector_gl_surface.eo
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-11-15 15:51:32 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-11-15 17:45:31 +0100
commit9971a789a0790222b648a444d2ee4b3c3cabb3b4 (patch)
tree5d6751a17b4a63fd814ef02f51b842bc6137b09d /src/lib/ector/gl/ector_gl_surface.eo
parent03176e578aaf2ad8e541818e6ada3219f327bc03 (diff)
docs: ector_gl: fill gaps in ector gl backend eo file documentation
Diffstat (limited to 'src/lib/ector/gl/ector_gl_surface.eo')
-rw-r--r--src/lib/ector/gl/ector_gl_surface.eo24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/lib/ector/gl/ector_gl_surface.eo b/src/lib/ector/gl/ector_gl_surface.eo
index edefce10e3..531ad9ec7a 100644
--- a/src/lib/ector/gl/ector_gl_surface.eo
+++ b/src/lib/ector/gl/ector_gl_surface.eo
@@ -2,28 +2,32 @@ import ector_types;
2 2
3class Ector.GL.Surface (Ector.GL.Buffer, Ector.Surface) 3class Ector.GL.Surface (Ector.GL.Buffer, Ector.Surface)
4{ 4{
5 [[Ector GL surface class]]
5 eo_prefix: ector_gl_surface; 6 eo_prefix: ector_gl_surface;
6 methods { 7 methods {
7 shader_get { 8 shader_get {
8 return: uint; 9 [[Get shader]]
10 return: uint; [[Shader count]]
9 params { 11 params {
10 @in flags: uint64; 12 @in flags: uint64; [[Flags]]
11 } 13 }
12 } 14 }
13 push { 15 push {
14 return: bool; 16 [[Push surface to GPU]]
17 return: bool; [[$true on success, $false otherwise]]
15 params { 18 params {
16 @in flags: uint64; 19 @in flags: uint64; [[GL flags]]
17 @in vertex: ptr(GLshort); 20 @in vertex: ptr(GLshort); [[GL vertex]]
18 @in vertex_count: uint; 21 @in vertex_count: uint; [[GL vertex count]]
19 @in mul_col: uint; 22 @in mul_col: uint; [[Premultiplied color]]
20 } 23 }
21 } 24 }
22 state_define { 25 state_define {
23 return: bool; 26 [[Define state]]
27 return: bool; [[$true on success, $false otherwise]]
24 params { 28 params {
25 @in op: Efl.Gfx.Render_Op; 29 @in op: Efl.Gfx.Render_Op; [[Render operation]]
26 @in clips: array<ptr(Eina.Rectangle)>; [[array of @Eina.Rectangle clip]] 30 @in clips: array<ptr(Eina.Rectangle)>; [[Array of @Eina.Rectangle clip]]
27 } 31 }
28 } 32 }
29 } 33 }