From: Søren Sandmann Pedersen
Graduality is irrelevant for A8 images, so instead of using RGB-ness
as a short-cut, add a new macro BITMAP_FMT_HAS_GRADUALITY() that
returns true for the existing RGB images, but false for A8.
---
server/red_common.h| 2 +-
server/red_parse_qxl.c | 2 +-
serv
Hans de Goede writes:
>> @@ -5882,7 +5888,8 @@ static const LzImageType
>> MAP_BITMAP_FMT_TO_LZ_IMAGE_TYPE[] = {
>> LZ_IMAGE_TYPE_RGB16,
>> LZ_IMAGE_TYPE_RGB24,
>> LZ_IMAGE_TYPE_RGB32,
>> -LZ_IMAGE_TYPE_RGBA
>> +LZ_IMAGE_TYPE_RGBA,
>> +LZ_IMAGE_TYPE_A8
>> };
>>
>>
Hi,
On 08/19/2012 10:53 PM, Søren Sandmann Pedersen wrote:
Graduality is irrelevant for A8 images, so instead of using RGB-ness
as a short-cut, add a new macro BITMAP_FMT_HAS_GRADUALITY() that
returns true for the existing RGB images, but false for A8.
---
server/red_common.h| 2 +-
serv
Graduality is irrelevant for A8 images, so instead of using RGB-ness
as a short-cut, add a new macro BITMAP_FMT_HAS_GRADUALITY() that
returns true for the existing RGB images, but false for A8.
---
server/red_common.h| 2 +-
server/red_parse_qxl.c | 2 +-
server/red_worker.c| 23