WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
91288
[chromium] Remove targetRenderSurface concept, give layers a renderTarget which is the layer whose coordinate space they draw into
https://bugs.webkit.org/show_bug.cgi?id=91288
Summary
[chromium] Remove targetRenderSurface concept, give layers a renderTarget whi...
Dana Jansens
Reported
2012-07-13 14:53:13 PDT
[chromium] Remove targetRenderSurface concept, give layers a renderTarget which is the layer whose coordinate space they draw into
Attachments
Patch
(84.67 KB, patch)
2012-07-13 14:53 PDT
,
Dana Jansens
no flags
Details
Formatted Diff
Diff
rm-surface-filters
(10.88 KB, patch)
2012-07-13 15:08 PDT
,
Dana Jansens
no flags
Details
Formatted Diff
Diff
Patch
(84.82 KB, patch)
2012-07-16 12:54 PDT
,
Dana Jansens
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dana Jansens
Comment 1
2012-07-13 14:53:57 PDT
Created
attachment 152341
[details]
Patch
Dana Jansens
Comment 2
2012-07-13 15:08:01 PDT
Created
attachment 152349
[details]
rm-surface-filters
Adrienne Walker
Comment 3
2012-07-13 16:27:08 PDT
Comment on
attachment 152341
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=152341&action=review
> Source/WebCore/platform/graphics/chromium/RenderSurfaceChromium.h:-111 > - RenderSurfaceChromium* targetRenderSurface() const; > -
Nice!
> Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.cpp:454 > + // The layer owns a surface which is contributing to another target. > + ASSERT(layer->renderTarget() == layer);
Comment is kind of misleading.
> Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.cpp:468 > - const RenderSurfaceType* targetSurface = surface->targetRenderSurface(); > - if (targetSurface) > - surfaceClipRect = intersection(targetSurface->contentRect(), enclosingIntRect(surface->drawableContentRect())); > - else > - surfaceClipRect = m_scissorRectInScreenSpace; > + LayerType* contributingSurfaceRenderTarget = layer->parent()->renderTarget(); > + surfaceClipRect = intersection(contributingSurfaceRenderTarget->renderSurface()->contentRect(), enclosingIntRect(surface->drawableContentRect()));
<3
Adrienne Walker
Comment 4
2012-07-13 16:38:03 PDT
Comment on
attachment 152349
[details]
rm-surface-filters This is good too. Is there a reason not to just submit these patches separately?
Dana Jansens
Comment 5
2012-07-13 16:38:57 PDT
Nope was just wondering what you'd think, and wanted to give a trajectory. I could smoosh them together but no need to, I'll submit them separately then.
Dana Jansens
Comment 6
2012-07-16 12:54:10 PDT
Created
attachment 152592
[details]
Patch fix comment
Adrienne Walker
Comment 7
2012-07-16 13:24:18 PDT
Comment on
attachment 152592
[details]
Patch R=me. Nice cleanup. :)
WebKit Review Bot
Comment 8
2012-07-16 13:39:26 PDT
Comment on
attachment 152592
[details]
Patch Clearing flags on attachment: 152592 Committed
r122756
: <
http://trac.webkit.org/changeset/122756
>
WebKit Review Bot
Comment 9
2012-07-16 13:39:31 PDT
All reviewed patches have been landed. Closing bug.
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