projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6988a38
)
evas: don't forget that we can allocate AGRY8 now.
author
Cedric BAIL
<cedric.bail@samsung.com>
Fri, 21 Mar 2014 01:48:04 +0000
(10:48 +0900)
committer
Cedric BAIL
<cedric.bail@free.fr>
Tue, 1 Apr 2014 13:00:15 +0000
(22:00 +0900)
src/lib/evas/common/evas_image_main.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/common/evas_image_main.c
b/src/lib/evas/common/evas_image_main.c
index
5ac91cc
..
f4302b1
100644
(file)
--- a/
src/lib/evas/common/evas_image_main.c
+++ b/
src/lib/evas/common/evas_image_main.c
@@
-124,6
+124,7
@@
_evas_common_rgba_image_surface_size(unsigned int w, unsigned int h, Evas_Colors
switch (cspace)
{
case EVAS_COLORSPACE_GRY8: siz = w * h * sizeof(DATA8); break;
+ case EVAS_COLORSPACE_AGRY88: siz = w * h * sizeof(DATA16); break;
case EVAS_COLORSPACE_ARGB8888: siz = w * h * sizeof(DATA32); break;
case EVAS_COLORSPACE_ETC1:
// Need to round width and height independently