X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fcommon%2Fimage-attributes.cpp;h=b13b530fb1889f536e5e60b77445d915abb67587;hb=4d75040ab200bd306ec5a48f2a617480062eef4c;hp=134debc32f0b3506757fed24f2f5a5a2b55230f8;hpb=6a51fca768ccd75d552b73c0a67056721dc86e44;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/common/image-attributes.cpp b/dali/internal/common/image-attributes.cpp old mode 100644 new mode 100755 index 134debc..b13b530 --- a/dali/internal/common/image-attributes.cpp +++ b/dali/internal/common/image-attributes.cpp @@ -70,9 +70,8 @@ struct ImageAttributes::ImageAttributesImpl unsigned int width : 16; ///< image width in pixels unsigned int height : 16; ///< image height in pixels ScalingMode scaling : 3; ///< scaling option, ShrinkToFit is default - FilterMode filtering : 3; ///< filtering option. Box is the default + FilterMode filtering : 4; ///< filtering option. Box is the default bool mOrientationCorrection : 1; ///< If true, image pixels are reordered according to orientation metadata on load. - bool isDistanceField : 1; ///< true, if the image is a distancefield. Default is false. }; @@ -184,12 +183,6 @@ ImageAttributes ImageAttributes::New(unsigned int imageWidth, unsigned int image */ bool operator<(const ImageAttributes& a, const ImageAttributes& b) { - // Bail out if one is distance field and the other is not. - if (a.impl->isDistanceField != b.impl->isDistanceField) - { - return a.impl->isDistanceField < b.impl->isDistanceField; - } - if (a.impl->width != b.impl->width) { return a.impl->width < b.impl->width;