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

Issue 1965253002: [Reland 2] Pepper takes ownership of a mailbox before passing it to the texture layer. (Closed)

Created:
4 years, 7 months ago by erikchen
Modified:
4 years, 7 months ago
CC:
chromium-reviews, rjkroege, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, ben+mojo_chromium.org, darin (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Reland 2] Pepper takes ownership of a mailbox before passing it to the texture layer. This CL is a reland of two CLs: Pepper: Associate TextureMailboxes with the Graphics3D they were obtained from. https://codereview.chromium.org/1951263003 [Reland 1] Pepper takes ownership of a mailbox before passing it to the texture layer. https://codereview.chromium.org/1943513002 This CL fixes a logic error in GpuChannel where preemption was incorrectly handled. BUG=350204, 602484 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=ccameron@chromium.org, bbudge@chromium.org, sky@chromium.org, tsepez@chromium.org Committed: https://crrev.com/438b0447d618fdba716b5898422f7dea8fce472b Cr-Commit-Position: refs/heads/master@{#393003}

Patch Set 1 : Original code. #

Patch Set 2 : Fix preemption bug. #

Total comments: 2

Patch Set 3 : Comments from piman. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+540 lines, -137 lines) Patch
M cc/layers/texture_layer.h View 1 chunk +0 lines, -6 lines 0 comments Download
M cc/layers/texture_layer.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 chunk +0 lines, -27 lines 0 comments Download
M components/mus/gles2/command_buffer_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/mus/gles2/command_buffer_impl.cc View 1 chunk +6 lines, -1 line 0 comments Download
M components/mus/public/interfaces/command_buffer.mojom View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 4 chunks +51 lines, -3 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 4 chunks +95 lines, -16 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.h View 4 chunks +14 lines, -7 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.cc View 6 chunks +39 lines, -10 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 6 chunks +123 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_mock.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_texture_mailbox_unittest.cc View 6 chunks +114 lines, -24 lines 0 comments Download
M gpu/ipc/client/command_buffer_proxy_impl.h View 1 chunk +4 lines, -1 line 0 comments Download
M gpu/ipc/client/command_buffer_proxy_impl.cc View 1 chunk +14 lines, -4 lines 0 comments Download
M gpu/ipc/common/gpu_messages.h View 2 chunks +14 lines, -2 lines 0 comments Download
M gpu/ipc/service/gpu_channel.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/ipc/service/gpu_command_buffer_stub.h View 2 chunks +4 lines, -1 line 0 comments Download
M gpu/ipc/service/gpu_command_buffer_stub.cc View 4 chunks +19 lines, -6 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.h View 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.cc View 4 chunks +17 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_graphics_3d_api.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965253002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965253002/20001
4 years, 7 months ago (2016-05-11 02:12:36 UTC) #5
erikchen
piman: Please review. TBRing ccameron, bbudge, sky, tsepez.
4 years, 7 months ago (2016-05-11 02:12:47 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/135320) mac_chromium_gn_rel on ...
4 years, 7 months ago (2016-05-11 02:23:05 UTC) #9
piman
LGTM % typo https://codereview.chromium.org/1965253002/diff/20001/gpu/ipc/service/gpu_channel.cc File gpu/ipc/service/gpu_channel.cc (right): https://codereview.chromium.org/1965253002/diff/20001/gpu/ipc/service/gpu_channel.cc#newcode795 gpu/ipc/service/gpu_channel.cc:795: if ((stub && stub->HasUnprocesedCommands()) || HasUnprocesedCommands->HasUnprocessedCommands ...
4 years, 7 months ago (2016-05-11 02:35:25 UTC) #10
erikchen
https://codereview.chromium.org/1965253002/diff/20001/gpu/ipc/service/gpu_channel.cc File gpu/ipc/service/gpu_channel.cc (right): https://codereview.chromium.org/1965253002/diff/20001/gpu/ipc/service/gpu_channel.cc#newcode795 gpu/ipc/service/gpu_channel.cc:795: if ((stub && stub->HasUnprocesedCommands()) || On 2016/05/11 02:35:25, piman ...
4 years, 7 months ago (2016-05-11 17:00:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965253002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965253002/40001
4 years, 7 months ago (2016-05-11 17:00:54 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/3820) ios-simulator on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-11 17:03:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1965253002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1965253002/60001
4 years, 7 months ago (2016-05-11 17:25:33 UTC) #19
Tom Sepez
lgtm
4 years, 7 months ago (2016-05-11 17:33:23 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-11 18:33:42 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 18:36:19 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/438b0447d618fdba716b5898422f7dea8fce472b
Cr-Commit-Position: refs/heads/master@{#393003}

Powered by Google App Engine
This is Rietveld 408576698