ector: added surface propery to generic surface class 17/43217/1
authorSubhransu Sekhar Mohanty <sub.mohanty@samsung.com>
Tue, 3 Feb 2015 01:03:41 +0000 (10:03 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 8 Jul 2015 02:04:42 +0000 (11:04 +0900)
Change-Id: Ibc52fadf1c10145425723a61f9493d837b4322b6

src/lib/ector/ector_generic_surface.eo
src/lib/ector/ector_surface.c

index 18ebd47..b8a60b5 100644 (file)
@@ -14,6 +14,17 @@ abstract Ector.Generic.Surface (Eo.Base)
             int h; /*@ in */
          }
       }
+      surface {
+         set {
+         }
+         get {
+         }
+         values {
+            void *pixels;
+            uint width;
+            uint height;
+         }
+      }      
    }
    methods {
       renderer_factory_new {
index eda912f..949a4ef 100644 (file)
@@ -26,6 +26,21 @@ _ector_generic_surface_size_get(Eo *obj,
 {
 }
 
+void _ector_generic_surface_surface_set(Eo *obj, 
+                                           Ector_Generic_Surface_Data *pd, 
+                                           void *pixels, unsigned int width, unsigned int height)
+{
+
+}
+
+void _ector_generic_surface_surface_get(Eo *obj, 
+                                                                               Ector_Generic_Surface_Data *pd, 
+                                                                               void **pixels, unsigned int *width, unsigned int *height)
+{
+
+}
+
+
 Eina_Bool
 _ector_generic_surface_update_push(Eo *obj,
                                    Ector_Generic_Surface_Data *pd,