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

Issue 1864373002: Remove unused features for in-process GL contexts. (Closed)

Created:
4 years, 8 months ago by danakj
Modified:
4 years, 8 months ago
Reviewers:
piman, boliu, Wez, no sievers
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam, android-webview-reviews_chromium.org, piman+watch_chromium.org, dcheng, Ken Russell (switch to Gerrit), piman_chomium.org, Zhenyao Mo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unused features for in-process GL contexts. These features are not used and need not be supported: - Global share group - Context lock Also cleans up GLInProcessContext to not require tracking lost context state, so that we can have users of GLES2Implementation get lost context notifications directly, going past the GLInProcessContext. R=piman@chomium.org, sievers@chromium.org BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/079252237cd59e2f00089976852366c50fe3d778 Cr-Commit-Position: refs/heads/master@{#385859}

Patch Set 1 #

Patch Set 2 : inproclost: . #

Patch Set 3 : inproclost: . #

Patch Set 4 : inproclost: . #

Total comments: 2

Patch Set 5 : inproclost: uicompositor #

Patch Set 6 : inproclost: allthethings #

Total comments: 1

Patch Set 7 : inproclost: callback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -181 lines) Patch
M android_webview/browser/aw_render_thread_context_provider.h View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M android_webview/browser/aw_render_thread_context_provider.cc View 1 2 3 4 5 2 chunks +8 lines, -5 lines 0 comments Download
M blimp/client/feature/compositor/blimp_context_provider.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M cc/test/layer_tree_pixel_test.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M cc/test/pixel_test.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M cc/test/test_in_process_context_provider.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M cc/test/test_in_process_context_provider.cc View 1 2 chunks +12 lines, -18 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/compositor/gl_helper_benchmark.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/compositor/gl_helper_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/client/gpu_in_process_context_tests.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h View 3 chunks +1 line, -4 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc View 4 chunks +6 lines, -21 lines 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.h View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.cc View 1 2 3 4 5 10 chunks +7 lines, -53 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 1 2 3 4 5 6 5 chunks +15 lines, -12 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 3 4 4 chunks +19 lines, -19 lines 2 comments Download
M ui/compositor/test/in_process_context_provider.h View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M ui/compositor/test/in_process_context_provider.cc View 1 2 3 4 5 4 chunks +17 lines, -23 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (17 generated)
danakj
4 years, 8 months ago (2016-04-06 22:59:00 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864373002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864373002/20001
4 years, 8 months ago (2016-04-06 23:00:25 UTC) #5
danakj
+bo for webview
4 years, 8 months ago (2016-04-06 23:01:06 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864373002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864373002/60001
4 years, 8 months ago (2016-04-06 23:02:42 UTC) #11
danakj
Oh, some changes needed for ui compositor unittests.
4 years, 8 months ago (2016-04-06 23:04:34 UTC) #12
boliu
On 2016/04/06 23:01:06, danakj wrote: > +bo for webview Context loss is used... To crash ...
4 years, 8 months ago (2016-04-06 23:05:38 UTC) #13
danakj
On Wed, Apr 6, 2016 at 4:05 PM, <boliu@chromium.org> wrote: > On 2016/04/06 23:01:06, danakj ...
4 years, 8 months ago (2016-04-06 23:07:01 UTC) #14
danakj
On Wed, Apr 6, 2016 at 4:06 PM, Dana Jansens <danakj@chromium.org> wrote: > On Wed, ...
4 years, 8 months ago (2016-04-06 23:12:27 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864373002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864373002/80001
4 years, 8 months ago (2016-04-06 23:14:01 UTC) #17
boliu
On 2016/04/06 23:12:27, danakj wrote: > On Wed, Apr 6, 2016 at 4:06 PM, Dana ...
4 years, 8 months ago (2016-04-06 23:14:54 UTC) #18
no sievers
https://codereview.chromium.org/1864373002/diff/60001/gpu/command_buffer/service/in_process_command_buffer.cc File gpu/command_buffer/service/in_process_command_buffer.cc (right): https://codereview.chromium.org/1864373002/diff/60001/gpu/command_buffer/service/in_process_command_buffer.cc#newcode241 gpu/command_buffer/service/in_process_command_buffer.cc:241: command_buffer_->SetParseError(gpu::error::kLostContext); return false;
4 years, 8 months ago (2016-04-06 23:17:23 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/46918) linux_chromium_gn_chromeos_rel on ...
4 years, 8 months ago (2016-04-06 23:27:40 UTC) #22
danakj
PTAL. Restored the lost callback, and fixed some more targets. +wez for blimp/ https://codereview.chromium.org/1864373002/diff/60001/gpu/command_buffer/service/in_process_command_buffer.cc File ...
4 years, 8 months ago (2016-04-06 23:29:38 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864373002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864373002/100001
4 years, 8 months ago (2016-04-06 23:30:44 UTC) #26
danakj
https://codereview.chromium.org/1864373002/diff/100001/gpu/command_buffer/service/in_process_command_buffer.cc File gpu/command_buffer/service/in_process_command_buffer.cc (left): https://codereview.chromium.org/1864373002/diff/100001/gpu/command_buffer/service/in_process_command_buffer.cc#oldcode327 gpu/command_buffer/service/in_process_command_buffer.cc:327: command_buffer->SetParseErrorCallback(base::Bind( Oops, gotta put this back too. :) Done.
4 years, 8 months ago (2016-04-06 23:44:42 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864373002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864373002/120001
4 years, 8 months ago (2016-04-06 23:46:12 UTC) #29
no sievers
lgtm
4 years, 8 months ago (2016-04-07 00:19:14 UTC) #30
piman
https://codereview.chromium.org/1864373002/diff/120001/ui/compositor/test/in_process_context_factory.cc File ui/compositor/test/in_process_context_factory.cc (right): https://codereview.chromium.org/1864373002/diff/120001/ui/compositor/test/in_process_context_factory.cc#newcode193 ui/compositor/test/in_process_context_factory.cc:193: &gpu_memory_buffer_manager_, &image_factory_, nullptr); Do we not need this to ...
4 years, 8 months ago (2016-04-07 00:26:06 UTC) #31
Wez
blimp/ LGTM
4 years, 8 months ago (2016-04-07 00:26:42 UTC) #32
boliu
android_webview lgtm
4 years, 8 months ago (2016-04-07 01:11:16 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-07 03:08:42 UTC) #35
danakj
https://codereview.chromium.org/1864373002/diff/120001/ui/compositor/test/in_process_context_factory.cc File ui/compositor/test/in_process_context_factory.cc (right): https://codereview.chromium.org/1864373002/diff/120001/ui/compositor/test/in_process_context_factory.cc#newcode193 ui/compositor/test/in_process_context_factory.cc:193: &gpu_memory_buffer_manager_, &image_factory_, nullptr); On 2016/04/07 00:26:06, piman wrote: > ...
4 years, 8 months ago (2016-04-07 18:58:59 UTC) #36
piman
ok, lgtm then
4 years, 8 months ago (2016-04-07 20:16:19 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1864373002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1864373002/120001
4 years, 8 months ago (2016-04-07 20:18:17 UTC) #39
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-07 21:19:38 UTC) #41
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 21:29:48 UTC) #43
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/079252237cd59e2f00089976852366c50fe3d778
Cr-Commit-Position: refs/heads/master@{#385859}

Powered by Google App Engine
This is Rietveld 408576698