[chromium] Changes to overdraw metrics to all upload tracking
Created attachment 132054 [details] Patch
Comment on attachment 132054 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132054&action=review R=me. It makes sense to rename painting to upload, since we may paint much more if we're not using per-tile painting. > Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.h:113 > + OwnPtr<CCOverdrawMetrics> m_overdrawMetrics; nit: Maybe make this a local, since you always create it and return a reference to it?
Comment on attachment 132054 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132054&action=review Thanks! >> Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.h:113 >> + OwnPtr<CCOverdrawMetrics> m_overdrawMetrics; > > nit: Maybe make this a local, since you always create it and return a reference to it? I agree, but then I can't pass a const CCOcclusionTracker around to culling. WDYT is better?
Comment on attachment 132054 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132054&action=review >>> Source/WebCore/platform/graphics/chromium/cc/CCOcclusionTracker.h:113 >>> + OwnPtr<CCOverdrawMetrics> m_overdrawMetrics; >> >> nit: Maybe make this a local, since you always create it and return a reference to it? > > I agree, but then I can't pass a const CCOcclusionTracker around to culling. WDYT is better? Ah, I see. What's in the patch seems reasonable given that.
Created attachment 132164 [details] Patch
Comment on attachment 132164 [details] Patch Clearing flags on attachment: 132164 Committed r110973: <http://trac.webkit.org/changeset/110973>
All reviewed patches have been landed. Closing bug.