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

Issue 1937313003: Hide WebGraphicsContext3DCommandBufferImpl. (Closed)

Created:
4 years, 7 months ago by danakj
Modified:
4 years, 7 months ago
Reviewers:
no sievers, piman
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, yusukes+watch_chromium.org, feature-media-reviews_chromium.org, posciak+watch_chromium.org, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, avayvod+watch_chromium.org, darin-cc_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, mlamouri+watch-media_chromium.org, dcheng, Ken Russell (switch to Gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide WebGraphicsContext3DCommandBufferImpl. This makes the WebGraphicsContext3DCommandBufferImpl inside the ContextProviderCommandBuffer an implementation detail of the class, removing it from the constructor. Now callers pass all the interesting data directly to the ContextProviderCommandBuffer constructor and it stores them as members, passing them to InitializeOnCurrentThread in WebGraphicsContext3DCommandBufferImpl when setting up the context. R=piman@chromium.org, sievers BUG=584497 Committed: https://crrev.com/ba37f8125d3253958faa590140c7a64c87cd5b8e Cr-Commit-Position: refs/heads/master@{#391166}

Patch Set 1 #

Patch Set 2 : construct: . #

Total comments: 4

Patch Set 3 : construct: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -82 lines) Patch
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_ipc_browsertests.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.h View 3 chunks +23 lines, -8 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 2 3 chunks +21 lines, -9 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 3 chunks +11 lines, -13 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 4 chunks +19 lines, -18 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M content/renderer/render_widget.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (2 generated)
danakj
Some IWYU fixes in here as well that were needed.
4 years, 7 months ago (2016-05-03 01:21:28 UTC) #1
piman
https://codereview.chromium.org/1937313003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1937313003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc#newcode115 content/common/gpu/client/context_provider_command_buffer.cc:115: surface_handle_, active_url_, channel_.get(), gpu_preference_, We don't need channel_ after ...
4 years, 7 months ago (2016-05-03 01:44:18 UTC) #2
danakj
PTAL https://codereview.chromium.org/1937313003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1937313003/diff/20001/content/common/gpu/client/context_provider_command_buffer.cc#newcode115 content/common/gpu/client/context_provider_command_buffer.cc:115: surface_handle_, active_url_, channel_.get(), gpu_preference_, On 2016/05/03 01:44:18, piman ...
4 years, 7 months ago (2016-05-03 01:56:18 UTC) #3
piman
lgtm
4 years, 7 months ago (2016-05-03 02:25:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1937313003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1937313003/40001
4 years, 7 months ago (2016-05-03 02:26:18 UTC) #6
piman
On Mon, May 2, 2016 at 6:56 PM, <danakj@chromium.org> wrote: > PTAL > > > ...
4 years, 7 months ago (2016-05-03 02:27:48 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-03 03:58:13 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 03:59:52 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ba37f8125d3253958faa590140c7a64c87cd5b8e
Cr-Commit-Position: refs/heads/master@{#391166}

Powered by Google App Engine
This is Rietveld 408576698