oooh fix nasty bug never found to date in ecore-x - gettign if image
is argb or not was WRONG. fixed. :) this now affected the comp software non-32bit support as it used it. SVN revision: 76961
This commit is contained in:
parent
be48742a4e
commit
5834a7956c
|
@ -956,3 +956,8 @@
|
||||||
* Fix escaping in ecore_file_escape_name() to handle tab and
|
* Fix escaping in ecore_file_escape_name() to handle tab and
|
||||||
newline right.
|
newline right.
|
||||||
|
|
||||||
|
2012-09-21 Carsten Haitzler (The Rasterman)
|
||||||
|
|
||||||
|
* Fix ecore_x_image_is_argb32_get() to return correctly on
|
||||||
|
endianess.
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ Fixes:
|
||||||
completion callback).
|
completion callback).
|
||||||
* ecore_evas rotation handling on some driver implementations
|
* ecore_evas rotation handling on some driver implementations
|
||||||
* ecore_file_escape_name() escape taba nd newline right.
|
* ecore_file_escape_name() escape taba nd newline right.
|
||||||
|
* ecore_x_image_is_argb32_get() returns correctly given endianness.
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
|
|
|
@ -253,11 +253,9 @@ ecore_x_image_is_argb32_get(Ecore_X_Image *im)
|
||||||
(vis->green_mask == 0x00ff00) && (vis->blue_mask == 0x0000ff))
|
(vis->green_mask == 0x00ff00) && (vis->blue_mask == 0x0000ff))
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
if (im->xim->byte_order == XCB_IMAGE_ORDER_LSB_FIRST)
|
if (im->xim->byte_order == XCB_IMAGE_ORDER_MSB_FIRST) return EINA_TRUE;
|
||||||
return EINA_TRUE;
|
|
||||||
#else
|
#else
|
||||||
if (im->xim->byte_order == XCB_IMAGE_ORDER_MSB_FIRST)
|
if (im->xim->byte_order == XCB_IMAGE_ORDER_LSB_FIRST) return EINA_TRUE;
|
||||||
return EINA_TRUE;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -338,9 +338,9 @@ ecore_x_image_is_argb32_get(Ecore_X_Image *im)
|
||||||
(vis->blue_mask == 0x0000ff))
|
(vis->blue_mask == 0x0000ff))
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
if (im->xim->bitmap_bit_order == LSBFirst) return EINA_TRUE;
|
|
||||||
#else
|
|
||||||
if (im->xim->bitmap_bit_order == MSBFirst) return EINA_TRUE;
|
if (im->xim->bitmap_bit_order == MSBFirst) return EINA_TRUE;
|
||||||
|
#else
|
||||||
|
if (im->xim->bitmap_bit_order == LSBFirst) return EINA_TRUE;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue