[Mesa-dev] [PATCH] meta: Fix blitting a framebuffer with renderbuffer attachment
Paul Berry
stereotype441 at gmail.com
Wed Aug 14 13:46:03 PDT 2013
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130814/1c87732d/attachment.html>
More information about the mesa-dev
mailing list