jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=85f23d96e7072f09ab73ab698047c3c172974b5e

commit 85f23d96e7072f09ab73ab698047c3c172974b5e
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Dec 8 15:11:57 2015 +0900

    ector: add typedef Ector_Buffer
---
 src/lib/ector/ector_buffer.h                            | 8 +++++++-
 src/lib/ector/ector_private.h                           | 2 +-
 src/lib/ector/software/ector_renderer_software_buffer.c | 2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/lib/ector/ector_buffer.h b/src/lib/ector/ector_buffer.h
index 3c40990..1047482 100644
--- a/src/lib/ector/ector_buffer.h
+++ b/src/lib/ector/ector_buffer.h
@@ -6,9 +6,15 @@
 #include "ector_generic_buffer.eo.h"
 #include "software/ector_software_buffer_base.eo.h"
 
+/**
+ * @typedef Ector_Buffer
+ * A generic pixel buffer type (2D). May be readable or writeable or both.
+ */
+typedef Ector_Generic_Buffer Ector_Buffer;
+
 typedef struct _Ector_Generic_Buffer_Data
 {
-   Eo                 *eo;
+   Ector_Buffer       *eo;
    unsigned int        w, h;
    unsigned char       l, r, t, b;
    Efl_Gfx_Colorspace  cspace;
diff --git a/src/lib/ector/ector_private.h b/src/lib/ector/ector_private.h
index d426f3f..7278566 100644
--- a/src/lib/ector/ector_private.h
+++ b/src/lib/ector/ector_private.h
@@ -122,7 +122,7 @@ struct _Ector_Renderer_Generic_Shape_Data
 
 struct _Ector_Renderer_Generic_Buffer_Data
 {
-   Ector_Generic_Buffer *eo_buffer;
+   Ector_Buffer *eo_buffer;
    struct {
       Efl_Gfx_Fill_Spread spread;
       int x, y, w, h;
diff --git a/src/lib/ector/software/ector_renderer_software_buffer.c 
b/src/lib/ector/software/ector_renderer_software_buffer.c
index 0eb6fa9..cfd13c0 100644
--- a/src/lib/ector/software/ector_renderer_software_buffer.c
+++ b/src/lib/ector/software/ector_renderer_software_buffer.c
@@ -15,7 +15,7 @@ typedef struct
 {
    Ector_Renderer_Generic_Base_Data *base;
    Software_Rasterizer *surface;
-   Ector_Generic_Buffer *eo_buffer;
+   Ector_Buffer *eo_buffer;
 } Ector_Renderer_Software_Buffer_Data;
 
 

-- 


Reply via email to