summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_common_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-23 18:14:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-28 16:40:01 +0900
commit488854af2bbae2e18624fec235599de6e191a812 (patch)
treea03005764c3b90b76bb941c3a4023df0c2f07cf2 /src/lib/evas/include/evas_common_private.h
parentd5b0b1e683310d16855d2183f509b11c4c3b8971 (diff)
Efl.Gfx.Buffer: Switch to void* data and signed ints
1. unsigned char* as a return type was not even compatible with the default colorspace (ARGB: 32 bits). 2. Change all unsigned to int for... uh... simplicity unsigned is more correct than int for things like width, size or stride, but in fact having both ints (x,y) and unsigned ints makes the code more complex. This is a matter of personal taste.
Diffstat (limited to 'src/lib/evas/include/evas_common_private.h')
-rw-r--r--src/lib/evas/include/evas_common_private.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 600a645820..e649626cfa 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -835,11 +835,10 @@ struct _RGBA_Pipe_Thread_Info
835 835
836struct _RGBA_Image_Data_Map { 836struct _RGBA_Image_Data_Map {
837 EINA_INLIST; 837 EINA_INLIST;
838 unsigned char *ptr; 838 unsigned char *ptr, *baseptr;
839 unsigned int size, stride; // in bytes 839 int size, stride; // in bytes
840 int rx, ry, rw, rh; // actual map region 840 int rx, ry, rw, rh; // actual map region
841 unsigned char *baseptr; 841 int plane;
842 unsigned char plane;
843 Evas_Colorspace cspace; 842 Evas_Colorspace cspace;
844 Eina_Bool allocated; // ptr is malloc() for cow or cspace conv 843 Eina_Bool allocated; // ptr is malloc() for cow or cspace conv
845 Efl_Gfx_Buffer_Access_Mode mode; 844 Efl_Gfx_Buffer_Access_Mode mode;