WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149426
[Win] Show tiled drawing debug overlay on Windows
https://bugs.webkit.org/show_bug.cgi?id=149426
Summary
[Win] Show tiled drawing debug overlay on Windows
Brent Fulgham
Reported
2015-09-21 15:43:51 PDT
Add a debug menu option to MiniBrowser to activate the tiled drawing debug overlay. This will only be visible when the page is in accelerated compositing mode.
Attachments
Patch
(23.19 KB, patch)
2015-09-21 16:03 PDT
,
Brent Fulgham
dino
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2015-09-21 16:03:58 PDT
Created
attachment 261697
[details]
Patch
Dean Jackson
Comment 2
2015-09-21 16:10:57 PDT
Comment on
attachment 261697
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=261697&action=review
> Source/WebCore/platform/graphics/ca/PlatformCALayer.cpp:99 > +void PlatformCALayer::drawTextAtPoint(CGContextRef context, CGFloat x, CGFloat y, CGPoint scale, CGFloat fontSize, const char* text, size_t length) const
Shouldn't a scale be a CGSize?
> Source/WebCore/platform/graphics/ca/win/CACFLayerTreeHost.cpp:125 > CACFLayerTreeHost::CACFLayerTreeHost() > - : m_client(0) > - , m_rootLayer(PlatformCALayerWin::create(PlatformCALayer::LayerTypeRootLayer, 0)) > - , m_window(0) > - , m_shouldFlushPendingGraphicsLayerChanges(false) > - , m_isFlushingLayerChanges(false) > -#if !ASSERT_DISABLED > - , m_state(WindowNotSet) > -#endif > + : m_rootLayer(PlatformCALayerWin::create(PlatformCALayer::LayerTypeRootLayer, nullptr))
Nice!
Brent Fulgham
Comment 3
2015-09-21 16:50:27 PDT
Comment on
attachment 261697
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=261697&action=review
>> Source/WebCore/platform/graphics/ca/PlatformCALayer.cpp:99 >> +void PlatformCALayer::drawTextAtPoint(CGContextRef context, CGFloat x, CGFloat y, CGPoint scale, CGFloat fontSize, const char* text, size_t length) const > > Shouldn't a scale be a CGSize?
Sure! I'll change to that.
Brent Fulgham
Comment 4
2015-09-21 17:07:57 PDT
Committed
r190091
: <
http://trac.webkit.org/changeset/190091
>
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