WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 170653
WTR: Avoid conversion from platform image to WKImage and then to platform image again when dumping pixel results
https://bugs.webkit.org/show_bug.cgi?id=170653
Summary
WTR: Avoid conversion from platform image to WKImage and then to platform ima...
Carlos Garcia Campos
Reported
2017-04-09 01:46:03 PDT
When dumping pixels from a web view snapshot, we create a platform image that is then converted to a WKImage, which is a ShareableBitmap, so the image is rendered into a graphics context. Then we immediately extract the platform image back from the WKImage to dump the pixels. We could avoid that conversion by taking the web snapshot from TestInvocation::dumpPixelsAndCompareWithExpected().
Attachments
Patch
(15.24 KB, patch)
2017-04-09 01:55 PDT
,
Carlos Garcia Campos
thorton
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews124 for ios-simulator-wk2
(350.96 KB, application/zip)
2017-04-09 03:08 PDT
,
Build Bot
no flags
Details
Patch for landing
(15.70 KB, patch)
2017-04-10 00:57 PDT
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
Patch for landing
(15.73 KB, patch)
2017-04-10 01:58 PDT
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2017-04-09 01:55:13 PDT
Created
attachment 306611
[details]
Patch
Build Bot
Comment 2
2017-04-09 03:08:32 PDT
Comment on
attachment 306611
[details]
Patch
Attachment 306611
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/3505055
Number of test failures exceeded the failure limit.
Build Bot
Comment 3
2017-04-09 03:08:33 PDT
Created
attachment 306615
[details]
Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Carlos Garcia Campos
Comment 4
2017-04-09 23:30:41 PDT
hmm, it seems the iOS changes are not correct, I'll try to figure out
Carlos Garcia Campos
Comment 5
2017-04-10 00:57:46 PDT
Created
attachment 306668
[details]
Patch for landing I think the problem in iOS is that we were releasing CARenderServerBufferRef too early, so I've added a callback to CGDataProviderCreateWithData and moved the call to CARenderServerDestroyBuffer there.
Carlos Garcia Campos
Comment 6
2017-04-10 01:58:02 PDT
Created
attachment 306672
[details]
Patch for landing
WebKit Commit Bot
Comment 7
2017-04-10 03:16:29 PDT
Comment on
attachment 306672
[details]
Patch for landing Clearing flags on attachment: 306672 Committed
r215176
: <
http://trac.webkit.org/changeset/215176
>
WebKit Commit Bot
Comment 8
2017-04-10 03:16:31 PDT
All reviewed patches have been landed. Closing bug.
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