RESOLVED FIXED 63848
Consider backing scale when setting up graphics layers
https://bugs.webkit.org/show_bug.cgi?id=63848
Summary Consider backing scale when setting up graphics layers
Darin Adler
Reported 2011-07-01 14:29:19 PDT
Consider backing scale factor when setting up graphics layers
Attachments
Patch (8.77 KB, patch)
2011-07-01 14:34 PDT, Darin Adler
no flags
Patch (9.24 KB, patch)
2011-07-01 16:09 PDT, Darin Adler
no flags
Darin Adler
Comment 1 2011-07-01 14:34:12 PDT
Darin Adler
Comment 2 2011-07-01 14:34:53 PDT
Simon Fraser (smfr)
Comment 3 2011-07-01 14:42:08 PDT
Comment on attachment 99524 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=99524&action=review > Source/WebCore/rendering/RenderLayerBacking.cpp:111 > + ASSERT(renderer()); > + ASSERT(renderer()->document()); > + ASSERT(renderer()->document()->frame()); Should these be moved to pageContentsScale()? > Source/WebCore/rendering/RenderLayerBacking.h:195 > + float pageContentsScale() const; Why not just call this pageScaleFactor() to avoid introducing another term?
Darin Adler
Comment 4 2011-07-01 14:55:28 PDT
Comment on attachment 99524 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=99524&action=review >> Source/WebCore/rendering/RenderLayerBacking.cpp:111 >> + ASSERT(renderer()->document()->frame()); > > Should these be moved to pageContentsScale()? Probably not. At other call sites it may be OK for some of these things to be null. >> Source/WebCore/rendering/RenderLayerBacking.h:195 >> + float pageContentsScale() const; > > Why not just call this pageScaleFactor() to avoid introducing another term? Will do.
Darin Adler
Comment 5 2011-07-01 16:09:19 PDT
Darin Adler
Comment 6 2011-07-01 16:13:32 PDT
Note You need to log in before you can comment on or make changes to this bug.