WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201381
Make "clips compositing descendants" an indirect compositing reason
https://bugs.webkit.org/show_bug.cgi?id=201381
Summary
Make "clips compositing descendants" an indirect compositing reason
Simon Fraser (smfr)
Reported
2019-08-31 13:28:23 PDT
Make "clips compositing descendants" an indirect compositing reason
Attachments
Patch
(11.91 KB, patch)
2019-08-31 13:30 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Patch
(12.05 KB, patch)
2019-09-02 10:00 PDT
,
Simon Fraser (smfr)
koivisto
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2019-08-31 13:30:46 PDT
Created
attachment 377805
[details]
Patch
Sam Weinig
Comment 2
2019-08-31 15:52:45 PDT
Comment on
attachment 377805
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=377805&action=review
> Source/WebCore/ChangeLog:10 > + > + Whether a layer has to composite to clip composited descendants is an "indirect" reason, > + just like having to composite for filters if there's a composited descendant. So add > + IndirectCompositingReason::Clipping, and have computeIndirectCompositingReason() compute this.
What is the goal/benefit of computing this?
Simon Fraser (smfr)
Comment 3
2019-08-31 16:12:30 PDT
(In reply to Sam Weinig from
comment #2
)
> Comment on
attachment 377805
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=377805&action=review
> > > Source/WebCore/ChangeLog:10 > > + > > + Whether a layer has to composite to clip composited descendants is an "indirect" reason, > > + just like having to composite for filters if there's a composited descendant. So add > > + IndirectCompositingReason::Clipping, and have computeIndirectCompositingReason() compute this. > > What is the goal/benefit of computing this?
We already compute this. This patch is some cleanup prior to fixing
bug 201330
.
Sam Weinig
Comment 4
2019-09-01 17:36:42 PDT
(In reply to Simon Fraser (smfr) from
comment #3
)
> (In reply to Sam Weinig from
comment #2
) > > Comment on
attachment 377805
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=377805&action=review
> > > > > Source/WebCore/ChangeLog:10 > > > + > > > + Whether a layer has to composite to clip composited descendants is an "indirect" reason, > > > + just like having to composite for filters if there's a composited descendant. So add > > > + IndirectCompositingReason::Clipping, and have computeIndirectCompositingReason() compute this. > > > > What is the goal/benefit of computing this? > > We already compute this. This patch is some cleanup prior to fixing bug > 201330.
Ok. Can you add that to the ChangeLog?
Simon Fraser (smfr)
Comment 5
2019-09-02 10:00:15 PDT
Created
attachment 377854
[details]
Patch
Antti Koivisto
Comment 6
2019-09-03 11:13:01 PDT
Comment on
attachment 377854
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=377854&action=review
> Source/WebCore/rendering/RenderLayerCompositor.cpp:3069 > + return IndirectCompositingReason::None;
Would be nice to modernise this to use Optional/OptionSet at some point.
Simon Fraser (smfr)
Comment 7
2019-09-03 12:49:18 PDT
https://trac.webkit.org/changeset/249434/webkit
Radar WebKit Bug Importer
Comment 8
2019-09-03 12:50:18 PDT
<
rdar://problem/54986805
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug