[Mesa-dev] [PATCH] meta: Fix blitting a framebuffer with renderbuffer attachment

Anuj Phogat anuj.phogat at gmail.com
Wed Aug 14 17:50:40 PDT 2013


On Wed, Aug 14, 2013 at 1:46 PM, Paul Berry <stereotype441 at gmail.com> wrote:
> On 5 August 2013 15:00, Anuj Phogat <anuj.phogat at gmail.com> wrote:
>>
>> This patch fixes a case of framebuffer blitting with renderbuffer
>> as color attachment and GL_LINEAR filter. Meta implementation of
>> glBlitFrambuffer() converts source color buffer to a texture and
>> uses it to do the scaled blitting in to destination buffer. Using
>> the exact source rectangle to create the texture does incorrect
>> linear filtering along the edges. This patch makes the changes to
>> extend the texture edges by one pixel in x, y directions. This
>> ensures correct linear filtering.
>>
>> It fixes failing piglit fbo-linear-blit test. Patch for the testcase
>> is on piglit mailing list.
>>
>> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
>
>
> Reviewed-by: Paul Berry <stereotype441 at gmail.com>
I missed to send it to mesa-stable list. Will do it now.


More information about the mesa-dev mailing list