summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_image_main.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-04 16:51:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-15 11:11:59 +0900
commitc52a53c3dcecdefc1ea8c01688b032554fcc3a80 (patch)
tree3fc06d09f1092f7d08d878af4895dac9cd21d280 /src/lib/evas/common/evas_image_main.c
parentba53f0e7857f9753e8e639ec5768112630b227ad (diff)
Evas Image: Implement Gfx.Buffer get/set/copy_set APIs
Those APIs should provide a cleaner interface than the old data_set/data_get APIs, by making sure the operations are atomic (ie. no need to call size_set, cspace_set and then data_set). padding/duplicated borders are not supported. TODO: Implement legacy API on top of the new API, instead of this quick patch
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_image_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c
index b82a851683..01db75ff25 100644
--- a/src/lib/evas/common/evas_image_main.c
+++ b/src/lib/evas/common/evas_image_main.c
@@ -110,7 +110,7 @@ static const Evas_Cache2_Image_Func _evas_common_image_func2 =
110}; 110};
111#endif 111#endif
112 112
113static inline int 113int
114_evas_common_rgba_image_surface_size(unsigned int w, unsigned int h, 114_evas_common_rgba_image_surface_size(unsigned int w, unsigned int h,
115 Evas_Colorspace cspace, 115 Evas_Colorspace cspace,
116 /* inout */ int *l, int *r, int *t, int *b) 116 /* inout */ int *l, int *r, int *t, int *b)