jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8ce52c238028c5f42969c8f89164246582ebece5

commit 8ce52c238028c5f42969c8f89164246582ebece5
Author: Jean-Philippe Andre <[email protected]>
Date:   Fri Jul 11 15:18:52 2014 +0900

    Edje: Add support for ETC1+Alpha
    
    If the image is not opaque and etc1 is selected, choose
    ETC1_ALPHA as encoding format.
---
 src/bin/edje/edje_cc_out.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index b80afb9..0bd9611 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -809,7 +809,7 @@ data_thread_image(void *data, Ecore_Thread *thread 
EINA_UNUSED)
              if (qual > max_quality) qual = max_quality;
              // Enable TGV with LZ4. A bit redundant with EET compression.
              comp = !no_comp;
-             lossy = EET_IMAGE_ETC1;
+             lossy = opaque ? EET_IMAGE_ETC1 : EET_IMAGE_ETC1_ALPHA;
           }
         if (mode == 4)
           {

-- 


Reply via email to