RESOLVED FIXED 88597
[chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
https://bugs.webkit.org/show_bug.cgi?id=88597
Summary [chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
James Robinson
Reported 2012-06-07 17:29:48 PDT
[chromium] Port Canvas2DLayerBridge over to WebExternalTextureLayer
Attachments
Patch (13.04 KB, patch)
2012-06-07 17:33 PDT, James Robinson
no flags
rebased and fleshed out ChangeLogs (13.97 KB, patch)
2012-06-11 18:13 PDT, James Robinson
no flags
Patch (14.23 KB, patch)
2012-06-12 14:07 PDT, James Robinson
no flags
James Robinson
Comment 1 2012-06-07 17:33:49 PDT
James Robinson
Comment 2 2012-06-11 18:13:45 PDT
Created attachment 146984 [details] rebased and fleshed out ChangeLogs
WebKit Review Bot
Comment 3 2012-06-11 18:15:59 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Adrienne Walker
Comment 4 2012-06-12 12:04:38 PDT
Comment on attachment 146984 [details] rebased and fleshed out ChangeLogs View in context: https://bugs.webkit.org/attachment.cgi?id=146984&action=review > Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp:91 > MockTextureCopier copierMock; Unused now? > Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp:-117 > - EXPECT_CALL(implMock, flush()); Why remove the implMock expectations?
James Robinson
Comment 5 2012-06-12 12:42:03 PDT
(In reply to comment #4) > (From update of attachment 146984 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=146984&action=review > > > Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp:91 > > MockTextureCopier copierMock; > > Unused now? Indeed - will remove > > > Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp:-117 > > - EXPECT_CALL(implMock, flush()); > > Why remove the implMock expectations? The flush this mock was checking for was coming from the updater's implementation. The test no longer verifies the updater's implementation, it mocks the updater itself and verifies that we make the appropriate call (there is (hopefully) sufficient test coverage that the updater DTRT elsewhere).
Adrienne Walker
Comment 6 2012-06-12 12:58:20 PDT
Comment on attachment 146984 [details] rebased and fleshed out ChangeLogs (In reply to comment #5) > (In reply to comment #4) > > (From update of attachment 146984 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=146984&action=review > > > > > Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp:-117 > > > - EXPECT_CALL(implMock, flush()); > > > > Why remove the implMock expectations? > > The flush this mock was checking for was coming from the updater's implementation. The test no longer verifies the updater's implementation, it mocks the updater itself and verifies that we make the appropriate call (there is (hopefully) sufficient test coverage that the updater DTRT elsewhere). Ohhhh, quite right. R=me, then.
James Robinson
Comment 7 2012-06-12 14:07:08 PDT
James Robinson
Comment 8 2012-06-12 14:09:01 PDT
Removed the unused MockTextureCopier and ported the fix of http://trac.webkit.org/changeset/120117
Adrienne Walker
Comment 9 2012-06-12 14:12:26 PDT
Comment on attachment 147157 [details] Patch R=me. Sounds good.
WebKit Review Bot
Comment 10 2012-06-12 17:10:21 PDT
Comment on attachment 147157 [details] Patch Clearing flags on attachment: 147157 Committed r120142: <http://trac.webkit.org/changeset/120142>
WebKit Review Bot
Comment 11 2012-06-12 17:10:25 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.