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

Issue 271763002: Clean up SyncCompositorFactory context creation (Closed)

Created:
6 years, 7 months ago by boliu
Modified:
6 years, 7 months ago
Reviewers:
no sievers
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Visibility:
Public.

Description

Clean up SyncCompositorFactory context creation Separate out context creation that does not need surface or service into separate CreateOffscreenContext call. Do not create GLSurfaceStubs on client side, and pass in NULL window so the context creates GLSurfaceStubs on service side. Clean up share context code since compositor does not need an offscreen context anymore. BUG=370566 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269618

Patch Set 1 #

Total comments: 1

Patch Set 2 : review #

Patch Set 3 : comment #

Patch Set 4 : revert bare pointer change #

Total comments: 2

Patch Set 5 : inline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -84 lines) Patch
M content/browser/android/in_process/synchronous_compositor_factory_impl.h View 1 2 3 4 2 chunks +1 line, -9 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 2 3 4 7 chunks +44 lines, -49 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.cc View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.h View 1 2 2 chunks +14 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.cc View 1 1 chunk +23 lines, -15 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
boliu
6 years, 7 months ago (2014-05-07 19:59:53 UTC) #1
no sievers
Let's not do the gpu/ changes as it makes the code worse. If the refcounting ...
6 years, 7 months ago (2014-05-08 18:57:14 UTC) #2
boliu
PTAL
6 years, 7 months ago (2014-05-08 21:57:46 UTC) #3
no sievers
lgtm https://codereview.chromium.org/271763002/diff/60001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/271763002/diff/60001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode179 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:179: void SynchronousCompositorFactoryImpl::EnsureShareContextCreated() { Maybe just inline this below ...
6 years, 7 months ago (2014-05-09 17:47:06 UTC) #4
boliu
https://codereview.chromium.org/271763002/diff/60001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc File content/browser/android/in_process/synchronous_compositor_factory_impl.cc (right): https://codereview.chromium.org/271763002/diff/60001/content/browser/android/in_process/synchronous_compositor_factory_impl.cc#newcode179 content/browser/android/in_process/synchronous_compositor_factory_impl.cc:179: void SynchronousCompositorFactoryImpl::EnsureShareContextCreated() { On 2014/05/09 17:47:06, sievers wrote: > ...
6 years, 7 months ago (2014-05-09 17:59:20 UTC) #5
boliu
The CQ bit was checked by boliu@chromium.org
6 years, 7 months ago (2014-05-09 17:59:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/271763002/80001
6 years, 7 months ago (2014-05-09 18:00:25 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 19:20:07 UTC) #8
Message was sent while issue was closed.
Change committed as 269618

Powered by Google App Engine
This is Rietveld 408576698