Re: [PATCH] gl: Set correct clip region when the destination surface is not texture.

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <1340536693_56490@CP5-2952>
On Sun, 24 Jun 2012 11:03:45 +0800, Chuanbo Weng <[email protected]> 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
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.