[Webkit-unassigned] [Bug 72965] [chromium] Use blending on opaque non-axis-aligned layers.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 23 07:10:56 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72965





--- Comment #3 from Dana Jansens <danakj at chromium.org>  2011-11-23 07:10:56 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > Created an attachment (id=116239)
 --> (https://bugs.webkit.org/attachment.cgi?id=116239&action=review) [details] [details]
> > Patch
> 
> You might want to take a look at Dave Reveman's comment on https://bugs.webkit.org/show_bug.cgi?id=70533 about making the axis-align (and pixel-aligned) test more consistent with what is used elsewhere in the compositor.
> 
> He recommends:
> 
> > This also needs to snap to the pixel grid to be correct. Instead of analyzing the transform, I think we should use the same logic as the anti-aliasing code, which is: 
> > transformedQuad.isRectilinear() && transformedQuad.boundingBox().isExpressibleAsIntRect()

If an opaque rect is half inside a pixel, but axis aligned, would it want blending?

It would be possible to apply the layer's drawTransform() to its visibleLayerRect() and see if the resulting quad passes the above test.

@reveman would this be preferable?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list