Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Issue 1804243002: Re-enable IOSurface Canvas2D. (Closed)

Created:
4 years, 9 months ago by erikchen
Modified:
4 years, 9 months ago
CC:
ajuma+watch-canvas_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-enable IOSurface Canvas2D. Previously, WebExternalTextureLayerImpl inferred the size of the texture from the bounds of the WebLayer, but the two are not necessarily the same. This CL passes the texture size through WebExternalTextureMailbox. This CL also adds a pixel test. BUG=595063 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/4e7ecf36fb2af3e3677c085de5b1ea6e7e75f3be Cr-Commit-Position: refs/heads/master@{#381570}

Patch Set 1 #

Patch Set 2 : Fix compile error. #

Total comments: 4

Patch Set 3 : Comments from danakj. #

Patch Set 4 : Patch in https://codereview.chromium.org/1805673003/. #

Patch Set 5 : Use GetGraphicsResetStatusKHR instead of isContextLost. #

Patch Set 6 : Use the right conditional. #

Patch Set 7 : Compile errors from rebase, still... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -105 lines) Patch
M cc/blink/web_external_texture_layer_impl.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
A + content/test/data/gpu/pixel_canvas2d_webgl.html View 1 2 3 3 chunks +16 lines, -2 lines 0 comments Download
M content/test/data/gpu/pixel_webgl.html View 1 2 3 2 chunks +2 lines, -88 lines 0 comments Download
A content/test/data/gpu/pixel_webgl_util.js View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_expectations.py View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/test/gpu/page_sets/pixel_tests.py View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebExternalTextureMailbox.h View 1 chunk +7 lines, -8 lines 0 comments Download

Messages

Total messages: 43 (19 generated)
erikchen
kbr: Please review. I will include the new pixel test with the CL that reenables ...
4 years, 9 months ago (2016-03-15 21:08:35 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804243002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804243002/1
4 years, 9 months ago (2016-03-15 21:10:16 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/130326)
4 years, 9 months ago (2016-03-15 21:20:09 UTC) #7
Ken Russell (switch to Gerrit)
Looks good in principle, but will wait to review until the tryjobs are green.
4 years, 9 months ago (2016-03-15 21:41:54 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804243002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804243002/20001
4 years, 9 months ago (2016-03-15 22:01:29 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-16 00:41:35 UTC) #12
erikchen
danakj: Please review cc/ aelias: Please review third_party/WebKit/public/
4 years, 9 months ago (2016-03-16 01:02:20 UTC) #14
aelias_OOO_until_Jul13
third_party/WebKit/public/ lgtm
4 years, 9 months ago (2016-03-16 01:18:46 UTC) #15
danakj
https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc File cc/blink/web_external_texture_layer_impl.cc (left): https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc#oldcode90 cc/blink/web_external_texture_layer_impl.cc:90: if (client_mailbox.allowOverlay) https://code.google.com/p/chromium/codesearch#chromium/src/cc/resources/texture_mailbox.h&l=66 Can you explain this change vs ...
4 years, 9 months ago (2016-03-16 01:21:20 UTC) #16
Ken Russell (switch to Gerrit)
LGTM Not sure whether the other CL https://codereview.chromium.org/1805673003/ covers this, but a test should be ...
4 years, 9 months ago (2016-03-16 01:27:52 UTC) #17
erikchen
https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc File cc/blink/web_external_texture_layer_impl.cc (left): https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc#oldcode90 cc/blink/web_external_texture_layer_impl.cc:90: if (client_mailbox.allowOverlay) On 2016/03/16 01:21:19, danakj wrote: > https://code.google.com/p/chromium/codesearch#chromium/src/cc/resources/texture_mailbox.h&l=66 ...
4 years, 9 months ago (2016-03-16 01:33:58 UTC) #18
erikchen
On 2016/03/16 01:27:52, Ken Russell wrote: > LGTM > > Not sure whether the other ...
4 years, 9 months ago (2016-03-16 01:35:21 UTC) #19
Ken Russell (switch to Gerrit)
On 2016/03/16 01:35:21, erikchen wrote: > On 2016/03/16 01:27:52, Ken Russell wrote: > > LGTM ...
4 years, 9 months ago (2016-03-16 01:39:32 UTC) #20
danakj
https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc File cc/blink/web_external_texture_layer_impl.cc (left): https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc#oldcode90 cc/blink/web_external_texture_layer_impl.cc:90: if (client_mailbox.allowOverlay) On 2016/03/16 01:33:58, erikchen wrote: > On ...
4 years, 9 months ago (2016-03-16 01:48:25 UTC) #21
erikchen
https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc File cc/blink/web_external_texture_layer_impl.cc (left): https://codereview.chromium.org/1804243002/diff/20001/cc/blink/web_external_texture_layer_impl.cc#oldcode90 cc/blink/web_external_texture_layer_impl.cc:90: if (client_mailbox.allowOverlay) On 2016/03/16 01:48:25, danakj wrote: > On ...
4 years, 9 months ago (2016-03-16 01:55:31 UTC) #22
danakj
cc LGTM
4 years, 9 months ago (2016-03-16 01:57:32 UTC) #23
erikchen
On 2016/03/16 01:57:32, danakj wrote: > cc LGTM Note that patch set 4 patches in ...
4 years, 9 months ago (2016-03-16 18:02:59 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804243002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804243002/60001
4 years, 9 months ago (2016-03-16 18:04:56 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/196165)
4 years, 9 months ago (2016-03-16 18:24:28 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804243002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804243002/100001
4 years, 9 months ago (2016-03-16 18:33:47 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/174055)
4 years, 9 months ago (2016-03-16 18:50:33 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804243002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804243002/120001
4 years, 9 months ago (2016-03-16 21:00:45 UTC) #39
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-16 22:32:36 UTC) #41
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 22:35:37 UTC) #43
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4e7ecf36fb2af3e3677c085de5b1ea6e7e75f3be
Cr-Commit-Position: refs/heads/master@{#381570}

Powered by Google App Engine
This is Rietveld 408576698