[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] [8] request for review 4649812: GIFImageReader handles transparency incorrectly
From:       philip.race () oracle ! com (Phil Race)
Date:       2012-11-27 19:29:39
Message-ID: 50B514A3.5030108 () oracle ! com
[Download RAW message or body]

Looks good to me too. Please mark the bug "noreg-perf".

-phil.

On 10/3/2012 6:00 AM, Andrew Brygin wrote:
> Hello Vadim,
>
>  the fix looks fine to me.
>
> Thanks,
> Andrew
>
> On 03.10.2012 16:05, Vadim Pakhnushev wrote:
>> Hello,
>>
>> Please review the fix for http://bugs.sun.com/view_bug.do?bug_id=4649812
>> webrev: http://cr.openjdk.java.net/~bae/4649812/webrev.00/
>>
>> This will result in lower footprint actually (not that it will be 
>> noticeable in real application though).
>> First, we will omit allocating temporary alpha LUT.
>> Second, although IndexColorModel will allocate full rgba array in any 
>> case, we will skip creating ImageTypeSpecifier.Indexed class (created 
>> with ImageTypeSpecifier.createIndexed call) which store a copy of 
>> passed LUT arrays.
>> It seems that this Indexed class was intended to have equals and 
>> hashCode methods like ImageTypeSpecifier.Banded and 
>> ImageTypeSpecifier.Interleaved.
>> But ImageTypeSpecifier.Grayscale, ImageTypeSpecifier.Indexed and 
>> ImageTypeSpecifier.Packed specifiers, although retains a copy of 
>> passed parameters, don't use them.
>>
>> Thanks,
>> Vadim
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic