[cairo] [PATCH] gl: Set correct clip region when the destination surface is not texture.
Chris Wilson
chris at chris-wilson.co.uk
Sun Jun 24 04:17:38 PDT 2012
On Sun, 24 Jun 2012 11:03:45 +0800, Chuanbo Weng <strgnm at gmail.com> wrote:
> When the destination surface is not texture, it's flipped on the Y axis.
> So we should set correct value when using glScissor to set clip region.
> Fixes 14 cases(such as partial-clip-text-top) in cairo-test-suite.
Great catch! I'd be tearing my hair out trying to find where the missing
y-flip was. I rewrote your patch slightly so that we only have a single
instance of the flipping logic for glScissor and pushed.
Thanks,
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo
mailing list