Created attachment 52015 [details] [review] use stencil buffer for clipping This the second patch for clipping using stencil buffer, following submitted bug id 41482.
Clipping is a little more complicated than that. ;-) You need to compute the intersection between the clip->boxes and the nested clip->paths. As always it may be interesting to compare the cost of geometric clipping versus stencil buffer fill rates. And for aligned clips (ie clip regions) it still may be even faster to keep using scissors.
Created attachment 52244 [details] [review] support basic fill, incremental patch following bug id 41482 implements basic fill with constant color for MSAA compositor. This is the second patch in MSAA cairo/gles backend.
The second patch implements intersected clipping correctly as commented by Chris
The second patch is about fill with constant color, sorry for previous wrong comments on clipping
The source is not handled at all by the vbo. The first patch did at least pass the color components for the solid fill per-vertex, but here I would expect to see a call to setup the source operand in begin_tristrip.
Applied, thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.