RESOLVED FIXED 152940
Add display-list drawing hooks to platform-specific GraphicsContext files
https://bugs.webkit.org/show_bug.cgi?id=152940
Summary Add display-list drawing hooks to platform-specific GraphicsContext files
Simon Fraser (smfr)
Reported 2016-01-08 21:27:05 PST
Add display-list drawing hooks to platform-specific GraphicsContext files
Attachments
Patch (42.73 KB, patch)
2016-01-08 21:29 PST, Simon Fraser (smfr)
no flags
Patch (42.74 KB, patch)
2016-01-08 21:36 PST, Simon Fraser (smfr)
zalan: review+
Simon Fraser (smfr)
Comment 1 2016-01-08 21:29:07 PST
Simon Fraser (smfr)
Comment 2 2016-01-08 21:36:31 PST
Simon Fraser (smfr)
Comment 3 2016-01-08 22:08:15 PST
Ryan Haddad
Comment 4 2016-01-11 16:35:28 PST
This change may be causing the Speedometer/Full.html Performance test to fail: <https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20WK2%20%28Perf%29/builds/832>
Simon Fraser (smfr)
Comment 5 2016-01-11 22:21:59 PST
That's odd: Running Speedometer/Full.html (151 of 151) error: Speedometer/Full.html GraphicsContext::roundToDevicePixels() is not yet compatible with recording contexts. GraphicsContext::roundToDevicePixels() is not yet compatible with recording contexts. The new code should not be enabled by default. Zalan, can you look to see if I messed up with roundToDevicePixels()?
Carlos Garcia Campos
Comment 6 2016-01-12 00:30:31 PST
(In reply to comment #5) > That's odd: > > Running Speedometer/Full.html (151 of 151) > error: Speedometer/Full.html > GraphicsContext::roundToDevicePixels() is not yet compatible with recording > contexts. > GraphicsContext::roundToDevicePixels() is not yet compatible with recording > contexts. > > The new code should not be enabled by default. > > Zalan, can you look to see if I messed up with roundToDevicePixels()? Yes, the condition looks wrong in GraphicsContext::roundToDevicePixels if (!isRecording()) { WTFLogAlways("GraphicsContext::roundToDevicePixels() is not yet compatible with recording contexts."); return frect; } I've just fixed it in r194889
Simon Fraser (smfr)
Comment 7 2016-01-12 08:45:30 PST
Weird that didn't break any layout tests.
Note You need to log in before you can comment on or make changes to this bug.