summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-12-14 15:52:02 +0900
committerCedric BAIL <cedric@osg.samsung.com>2016-01-04 01:12:19 +0100
commit0ac74b0ce02d738434c4d54681b095850a63a2ac (patch)
treed9168c847cf31eaf566357c70824204d6861d2b3
parent05467549de3775f8605c64b67d8b0ba14e0d6a8d (diff)
downloadefl-0ac74b0ce02d738434c4d54681b095850a63a2ac.tar.gz
ector eo: fix indentation (tabs --> spaces)
Why? Why would an editor replace 8 spaces by a TAB? WHYYYYYY?
-rw-r--r--src/lib/ector/cairo/ector_renderer_cairo_base.eo6
-rw-r--r--src/lib/ector/ector_generic_buffer.eo154
-rw-r--r--src/lib/ector/ector_generic_surface.eo16
-rw-r--r--src/lib/ector/software/ector_renderer_software_buffer.eo10
-rw-r--r--src/lib/ector/software/ector_software_buffer_base.eo2
-rw-r--r--src/lib/evas/include/evas_ector_buffer.eo12
6 files changed, 100 insertions, 100 deletions
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_base.eo b/src/lib/ector/cairo/ector_renderer_cairo_base.eo
index 0132c2e36d..374594c177 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_base.eo
+++ b/src/lib/ector/cairo/ector_renderer_cairo_base.eo
@@ -4,9 +4,9 @@ abstract Ector.Renderer.Cairo.Base (Ector.Renderer.Generic.Base)
methods {
fill {
return: bool;
- params {
- @in mul_col: uint;
- }
+ params {
+ @in mul_col: uint;
+ }
}
}
implements {
diff --git a/src/lib/ector/ector_generic_buffer.eo b/src/lib/ector/ector_generic_buffer.eo
index d16fec4d10..ae9a87c0ee 100644
--- a/src/lib/ector/ector_generic_buffer.eo
+++ b/src/lib/ector/ector_generic_buffer.eo
@@ -25,100 +25,100 @@ mixin Ector.Generic.Buffer
legacy_prefix: null;
methods {
@property size {
- get {
- [[Retrieves the (rectangular) size of the pixel buffer.]]
- }
- values {
- w: int;
- h: int;
- }
+ get {
+ [[Retrieves the (rectangular) size of the pixel buffer.]]
+ }
+ values {
+ w: int;
+ h: int;
+ }
}
@property cspace {
- get {}
- values {
- cspace: Efl.Gfx.Colorspace;
- }
+ get {}
+ values {
+ cspace: Efl.Gfx.Colorspace;
+ }
}
map {
- [[Map a region of this buffer for read or write access by the CPU,
- fetch data from the GPU if needed. This operation may be slow if
- cpu_readable_fast or cpu_writeable_fast are not true, or if the
- required colorspace is different from the internal one.
- ]]
- params {
- @out length: uint; [[Accessible buffer size in bytes, should not be $null.]]
- @in mode: Ector.Buffer.Access_Flag; [[Specifies whether to map for read-only,
- write-only or read-write access (OR combinaison of flags).]]
- @in x: uint; [[X position of the top-left pixel to map]]
- @in y: uint; [[Y position of the top-left pixel to map]]
- @in w: uint; [[If 0, defaults to the buffer width]]
- @in h: uint; [[If 0, defaults to the buffer height]]
- @in cspace: Efl.Gfx.Colorspace; [[Requested colorspace. If differen from the internal cspace,
- map should try to convert the data into a new buffer]]
- @out stride: uint @optional; [[Returns the length in bytes of a mapped line]]
- }
- return: void* @warn_unused; [[Pointer to the top-left pixel data. Returns $null in case of failure]]
+ [[Map a region of this buffer for read or write access by the CPU,
+ fetch data from the GPU if needed. This operation may be slow if
+ cpu_readable_fast or cpu_writeable_fast are not true, or if the
+ required colorspace is different from the internal one.
+ ]]
+ params {
+ @out length: uint; [[Accessible buffer size in bytes, should not be $null.]]
+ @in mode: Ector.Buffer.Access_Flag; [[Specifies whether to map for read-only,
+ write-only or read-write access (OR combinaison of flags).]]
+ @in x: uint; [[X position of the top-left pixel to map]]
+ @in y: uint; [[Y position of the top-left pixel to map]]
+ @in w: uint; [[If 0, defaults to the buffer width]]
+ @in h: uint; [[If 0, defaults to the buffer height]]
+ @in cspace: Efl.Gfx.Colorspace; [[Requested colorspace. If differen from the internal cspace,
+ map should try to convert the data into a new buffer]]
+ @out stride: uint @optional; [[Returns the length in bytes of a mapped line]]
+ }
+ return: void* @warn_unused; [[Pointer to the top-left pixel data. Returns $null in case of failure]]
}
unmap {
- [[Unmap a region of this buffer, and upload data to the GPU (if needed).]]
- params {
- @in data: void*; [[Data pointer returned by a previous call to map]]
- @in length: uint; [[Must be the same as returned by map.]]
- }
+ [[Unmap a region of this buffer, and upload data to the GPU (if needed).]]
+ params {
+ @in data: void*; [[Data pointer returned by a previous call to map]]
+ @in length: uint; [[Must be the same as returned by map.]]
+ }
}
pixels_set {
- [[Set the source pixels for this buffer, or allocate a new memory region]]
- params {
- @in pixels: void*; [[If $null, allocates an empty buffer]]
- @in width: int;
- @in height: int;
- @in stride: int; [[Can be 0]]
- @in cspace: Efl.Gfx.Colorspace;
- @in writable: bool;
- @in l: ubyte; [[Left border pixels, usually 0 or 1]]
- @in r: ubyte; [[Right border pixels, usually 0 or 1]]
- @in t: ubyte; [[Top border pixels, usually 0 or 1]]
- @in b: ubyte; [[Bottom border pixels, usually 0 or 1]]
- }
- return: bool;
+ [[Set the source pixels for this buffer, or allocate a new memory region]]
+ params {
+ @in pixels: void*; [[If $null, allocates an empty buffer]]
+ @in width: int;
+ @in height: int;
+ @in stride: int; [[Can be 0]]
+ @in cspace: Efl.Gfx.Colorspace;
+ @in writable: bool;
+ @in l: ubyte; [[Left border pixels, usually 0 or 1]]
+ @in r: ubyte; [[Right border pixels, usually 0 or 1]]
+ @in t: ubyte; [[Top border pixels, usually 0 or 1]]
+ @in b: ubyte; [[Bottom border pixels, usually 0 or 1]]
+ }
+ return: bool;
}
span_get {
- [[Get a single horizontal span of length w starting from (x,y)
+ [[Get a single horizontal span of length w starting from (x,y)
- Call span_free() to release it. This function will try not to
- allocate any new buffer, whenever possible. This means the data
- might be mapped directly from the backing memory buffer.
- ]]
- params {
- @in x: int; [[Ranges from -l to w+r-1]]
- @in y: int; [[Ranges from -t to h+b-1]]
- @in w: uint; [[Ranges from 1 to w+l+r]]
- @in cspace: Efl.Gfx.Colorspace; [[Requested colorspace, may trigger conversion on the fly.]]
- @out length: uint; [[Length in bytes of the returned buffer]]
- }
- return: uint8*; [[A temporary memory buffer containing the pixels requested.]]
+ Call span_free() to release it. This function will try not to
+ allocate any new buffer, whenever possible. This means the data
+ might be mapped directly from the backing memory buffer.
+ ]]
+ params {
+ @in x: int; [[Ranges from -l to w+r-1]]
+ @in y: int; [[Ranges from -t to h+b-1]]
+ @in w: uint; [[Ranges from 1 to w+l+r]]
+ @in cspace: Efl.Gfx.Colorspace; [[Requested colorspace, may trigger conversion on the fly.]]
+ @out length: uint; [[Length in bytes of the returned buffer]]
+ }
+ return: uint8*; [[A temporary memory buffer containing the pixels requested.]]
}
span_free {
- [[Must be called as soon as possible after span_get]]
- params {
- data: uint8*;
- }
+ [[Must be called as soon as possible after span_get]]
+ params {
+ data: uint8*;
+ }
}
@property flags {
- get { [[Get the capabilities of this buffer]] }
- values {
- flag: Ector.Buffer.Flag; [[A bitmask of capability flags]]
- }
+ get { [[Get the capabilities of this buffer]] }
+ values {
+ flag: Ector.Buffer.Flag; [[A bitmask of capability flags]]
+ }
}
@property border {
- [[Duplicated pixel borders of this buffer, used for GL scaling]]
- get {}
- values {
- l: int;
- r: int;
- t: int;
- b: int;
- }
+ [[Duplicated pixel borders of this buffer, used for GL scaling]]
+ get {}
+ values {
+ l: int;
+ r: int;
+ t: int;
+ b: int;
+ }
}
}
events {
diff --git a/src/lib/ector/ector_generic_surface.eo b/src/lib/ector/ector_generic_surface.eo
index cb05c6d3d5..438296eb01 100644
--- a/src/lib/ector/ector_generic_surface.eo
+++ b/src/lib/ector/ector_generic_surface.eo
@@ -7,17 +7,17 @@ mixin Ector.Generic.Surface (Ector.Generic.Buffer)
@property reference_point {
set {
[[This define where is (0,0) in pixels coordinate inside the surface]]
- }
- values {
- x: int;
- y: int;
- }
+ }
+ values {
+ x: int;
+ y: int;
+ }
}
renderer_factory_new {
return: Ector_Renderer *;
- params {
- @in type: const(Eo_Class) * @nonull;
- }
+ params {
+ @in type: const(Eo_Class) * @nonull;
+ }
}
}
implements {
diff --git a/src/lib/ector/software/ector_renderer_software_buffer.eo b/src/lib/ector/software/ector_renderer_software_buffer.eo
index 14c45ad522..e7f2207765 100644
--- a/src/lib/ector/software/ector_renderer_software_buffer.eo
+++ b/src/lib/ector/software/ector_renderer_software_buffer.eo
@@ -3,11 +3,11 @@ class Ector.Renderer.Software.Buffer (Ector.Renderer.Software.Base, Ector.Render
legacy_prefix: null;
methods {
@property buffer {
- set {}
- get {}
- values {
- buf: Ector.Generic.Buffer *;
- }
+ set {}
+ get {}
+ values {
+ buf: Ector.Generic.Buffer *;
+ }
}
}
implements {
diff --git a/src/lib/ector/software/ector_software_buffer_base.eo b/src/lib/ector/software/ector_software_buffer_base.eo
index d10df04f1d..2ada74dc83 100644
--- a/src/lib/ector/software/ector_software_buffer_base.eo
+++ b/src/lib/ector/software/ector_software_buffer_base.eo
@@ -5,7 +5,7 @@ mixin Ector.Software.Buffer.Base (Ector.Generic.Buffer)
legacy_prefix: null;
methods {
pixels_clear @protected {
- [[Clear internal pixel buffer]]
+ [[Clear internal pixel buffer]]
}
}
implements {
diff --git a/src/lib/evas/include/evas_ector_buffer.eo b/src/lib/evas/include/evas_ector_buffer.eo
index 7dbb5e0842..cb9421534f 100644
--- a/src/lib/evas/include/evas_ector_buffer.eo
+++ b/src/lib/evas/include/evas_ector_buffer.eo
@@ -5,12 +5,12 @@ interface Evas.Ector.Buffer
legacy_prefix: null;
methods {
@property engine_image {
- get {}
- set { [[This Buffer will hold a reference to the evas image struct.]] }
- values {
- evas: Evas *; [[The current Evas.]]
- image: void *; [[The engine-specific image struct.]]
- }
+ get {}
+ set { [[This Buffer will hold a reference to the evas image struct.]] }
+ values {
+ evas: Evas *; [[The current Evas.]]
+ image: void *; [[The engine-specific image struct.]]
+ }
}
}
}