diff options
author | Cedric Bail <cedric.bail@free.fr> | 2013-04-07 15:33:58 +0900 |
---|---|---|
committer | Cedric Bail <cedric.bail@free.fr> | 2013-04-07 15:33:58 +0900 |
commit | d27bdb4726aece331134493754549b6341dcd178 (patch) | |
tree | f2472693e1bd0875c4f51b071bdf328ff920c944 | |
parent | 7739267d8b07b9429f16a952d1ae6014cb943637 (diff) | |
download | efl-d27bdb4726aece331134493754549b6341dcd178.tar.gz |
evas: small reorder for a little bit of memory win.
-rw-r--r-- | src/lib/evas/canvas/evas_object_image.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 190a89224f..52e1e38b2a 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -76,9 +76,9 @@ struct _Evas_Object_Image_State short w, h, stride; } image; struct { + double scale; short l, r, t, b; unsigned char fill; - double scale; } border; Evas_Object *source; @@ -86,9 +86,10 @@ struct _Evas_Object_Image_State const char *file; const char *key; int frame; - Evas_Colorspace cspace; int spread; + Evas_Colorspace cspace; + Eina_Bool smooth_scale : 1; Eina_Bool has_alpha :1; Eina_Bool opaque_valid : 1; @@ -191,12 +192,12 @@ static const Evas_Object_Image_Pixels default_pixels = { static const Evas_Object_Image_State default_state = { { 0, 0, 0, 0 }, // fill { 0, 0, 0 }, // image - { 0, 0, 0, 0, 1, 1.0 }, // border + { 1.0, 0, 0, 0, 0, 1 }, // border NULL, NULL, NULL, NULL, 0, - EVAS_COLORSPACE_ARGB8888, EVAS_TEXTURE_REPEAT, + EVAS_COLORSPACE_ARGB8888, EINA_TRUE, EINA_FALSE, EINA_FALSE, EINA_FALSE }; |