[Mesa-dev] [PATCH] meta: Avoid FBO resizing/reallocating in decompress_texture_image
Anuj Phogat
anuj.phogat at gmail.com
Tue Feb 14 14:51:48 PST 2012
On Tue, Feb 14, 2012 at 1:14 PM, Patrick Baggett
<baggett.patrick at gmail.com>wrote:
> Ack, I realized I didn't CC that to the list, thanks for bringing that up.
Sorry, I CC'd to wrong mailing list.
> On Tue, Feb 14, 2012 at 2:45 PM, Anuj Phogat <anuj.phogat at gmail.com>wrote:
>
>> On Mon, Feb 13, 2012 at 11:40 AM, Patrick Baggett <
>> baggett.patrick at gmail.com> wrote:
>>
>>> Would it be more appropriate to compare the product of the width and
>>> height? e.g.
>>>
>>> if (width * height > decompress->Width* decompress->Height)
>>>
>>
>> Yes, this looks more appropriate. Tested it with piglit quick.tests. No
>> regressions.
>> Brian, do you have any comments on Patrick's suggestion?
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120214/72c7960d/attachment.htm>
More information about the mesa-dev
mailing list