Enlightenment CVS committal Author : barbieri Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_private.h Log Message: Save 8 bytes from Evas_Object by packing interpolation.color_space. Interpolation color_space (now ASHV or ARGB) was being used inside a struct with 4 byte alignment. Remove it from the struct and make it a bitfield so can be packed with the other fields. This saves 2 integers, so 8 bytes. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_private.h,v retrieving revision 1.99 retrieving revision 1.100 diff -u -3 -r1.99 -r1.100 --- evas_private.h 1 May 2008 03:52:20 -0000 1.99 +++ evas_private.h 1 May 2008 04:14:08 -0000 1.100 @@ -418,12 +418,10 @@ } color; int layer; Evas_Object *clipper; - struct { - int color_space; - } interpolation; Evas_Bool visible : 1; Evas_Bool have_clipees : 1; Evas_Bool anti_alias : 1; + unsigned char interpolation_color_space : 1; Evas_Render_Op render_op : 4; } cur, prev; ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs