[Webkit-unassigned] [Bug 241777] New: TextureMapperLayer::computeOverlapRegions doesn't need to use m_state.contentsRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 19 23:52:47 PDT 2022


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

            Bug ID: 241777
           Summary: TextureMapperLayer::computeOverlapRegions doesn't need
                    to use m_state.contentsRect
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

TextureMapperLayer::computeOverlapRegions doesn't need to use m_state.contentsRect

computeOverlapRegions has the following code.

>    if (m_backingStore || m_state.masksToBounds || m_state.maskLayer || hasFilters())
>        localBoundingRect = layerRect();
>    else if (m_contentsLayer || m_state.solidColor.isVisible())
>        localBoundingRect = m_state.contentsRect;

But, I don't know why m_state.contentsRect is used.
It was added by 129278 at main (Bug 110762).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220620/e7759a96/attachment.htm>


More information about the webkit-unassigned mailing list