RESOLVED FIXED 98574
Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer
https://bugs.webkit.org/show_bug.cgi?id=98574
Summary Some GraphicsLayer cleanup to separate the concepts of using a tile cache, an...
Simon Fraser (smfr)
Reported 2012-10-05 16:24:44 PDT
Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer
Attachments
Patch (17.93 KB, patch)
2012-10-05 16:38 PDT, Simon Fraser (smfr)
no flags
Patch (20.86 KB, patch)
2012-10-05 17:55 PDT, Simon Fraser (smfr)
dino: review+
buildbot: commit-queue-
Simon Fraser (smfr)
Comment 1 2012-10-05 16:38:13 PDT
Build Bot
Comment 2 2012-10-05 17:27:19 PDT
Simon Fraser (smfr)
Comment 3 2012-10-05 17:55:18 PDT
Build Bot
Comment 4 2012-10-05 18:41:37 PDT
Dean Jackson
Comment 5 2012-10-05 19:29:43 PDT
7>..\FullscreenVideoController.cpp(250) : error C2259: 'FullscreenVideoController::LayerClient' : cannot instantiate abstract class 7> due to following members: 7> 'bool WebCore::PlatformCALayerClient::platformCALayerShowRepaintCounter(WebCore::PlatformCALayer *) const' : is abstract 7> c:\cygwin\home\buildbot\webkit\webkitbuild\debug\include\webcore\PlatformCALayerClient.h(55) : see declaration of 'WebCore::PlatformCALayerClient::platformCALayerShowRepaintCounter'
Simon Fraser (smfr)
Comment 6 2012-10-05 20:12:57 PDT
Boo.
Dean Jackson
Comment 7 2012-10-08 10:47:26 PDT
Comment on attachment 167429 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167429&action=review > Source/WebCore/platform/graphics/GraphicsLayer.cpp:341 > +void GraphicsLayer::debugBorderInfo(Color& color, float& width) const In a recent review from Darin, he said "We reserve the word 'get' for functions that have no return value and use out arguments instead". When I was seeing this used in action below, it wasn't clear the function was doing anything since you don't get return values. Maybe it should be getDebugBorderInfo? > Source/WebCore/platform/graphics/GraphicsLayer.cpp:373 > + Color borderColor; > + float width = 0; > + debugBorderInfo(borderColor, width); > + setDebugBorder(borderColor, width); Here's the place I was talking about above. > Source/WebCore/platform/graphics/ca/win/PlatformCALayerWinInternal.cpp:99 > - if (owner()->owner()->platformCALayerShowRepaintCounter()) { > + if (owner()->owner()->platformCALayerShowRepaintCounter(owner())) { wow.
Simon Fraser (smfr)
Comment 8 2012-10-08 13:11:45 PDT
Note You need to log in before you can comment on or make changes to this bug.