[cairo] [patch] gl/msaa: do not attach alpha in emitting points

Martin Robinson mrobinson at igalia.com
Tue Jan 29 13:25:38 PST 2013


On 01/29/2013 09:39 AM, Henry (Yu) Song - SISA wrote:
> From 012cc5867791b9505b5224b251aeb88a35e943e7 Mon Sep 17 00:00:00 2001
> From: Henry Song <henry.song at samsung.com>
> Date: Tue, 29 Jan 2013 09:37:36 -0800
> Subject: [PATCH] gl/msaa: do not attach alpha value in emitting vertices

Nice catch. Since the color attribute is disabled when not in spans
mode, this avoids a lot of useless work and the potential for writing
past the end of the buffer. I landed this here:

http://cgit.freedesktop.org/cairo/commit/?id=89092b97b50a7740058d0f72f94dfc6defe15ed6

--Martin



More information about the cairo mailing list