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

Issue 1907783002: Delete //gpu/blink/ and WebGraphicsContext3DImpl. (Closed)

Created:
4 years, 8 months ago by danakj
Modified:
4 years, 8 months ago
CC:
android-webview-reviews_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete //gpu/blink/ and WebGraphicsContext3DImpl. There is now only 1 subclass of WebGraphicsContext3DImpl (which is the infamous WebGraphicsContext3DCommandBufferImpl), so let's delete this in-between thing. The use of GLES2TraceImplementation was broken, since ContextProviderCommandBuffer was returning the underlying GLES2Implementation directly now (woops). Fix that and move it to the ContextProviderCommandBuffer. Move the lost context callback to WebGraphicsContext3DCommandBufferImpl, and remove the definition of the proxy class out of WebGraphicsContext3D leaving the blink base class empty now. Lots of DEPS and include removals all over the place that were already obsolete. R=piman, sievers TBR=chrishtr BUG=584497 Committed: https://crrev.com/405d011dea3e17b9b70716a7f425b07c03183884 Cr-Commit-Position: refs/heads/master@{#389257}

Patch Set 1 : rm-webgraphicscontext3dimpl: . #

Total comments: 4

Patch Set 2 : rm-webgraphicscontext3dimpl: rebase #

Total comments: 1

Patch Set 3 : rm-webgraphicscontext3dimpl: rebase #

Patch Set 4 : rm-webgraphicscontext3dimpl: noflush #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -286 lines) Patch
M android_webview/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/android_webview.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M android_webview/browser/aw_render_thread_context_provider.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/common/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.h View 2 chunks +9 lines, -1 line 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 2 3 7 chunks +28 lines, -11 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 5 chunks +17 lines, -2 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 4 chunks +0 lines, -19 lines 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 2 chunks +0 lines, -2 lines 0 comments Download
D gpu/blink/BUILD.gn View 1 chunk +0 lines, -38 lines 0 comments Download
D gpu/blink/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
D gpu/blink/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
D gpu/blink/gpu_blink.gyp View 1 chunk +0 lines, -48 lines 0 comments Download
D gpu/blink/gpu_blink_export.h View 1 chunk +0 lines, -29 lines 0 comments Download
D gpu/blink/webgraphicscontext3d_impl.h View 1 chunk +0 lines, -60 lines 0 comments Download
D gpu/blink/webgraphicscontext3d_impl.cc View 1 chunk +0 lines, -44 lines 0 comments Download
M media/blink/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M media/blink/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M media/blink/media_blink.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_cast_android.cc View 1 chunk +0 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 46 (23 generated)
danakj
4 years, 8 months ago (2016-04-21 00:29:41 UTC) #5
danakj
Usual suspects for review please :) piman: everything boliu: webview dalecurtis: media chrishtr: public
4 years, 8 months ago (2016-04-21 00:30:10 UTC) #6
Ken Russell (switch to Gerrit)
Awesome!
4 years, 8 months ago (2016-04-21 00:31:02 UTC) #8
boliu
lgtm \o/
4 years, 8 months ago (2016-04-21 00:35:10 UTC) #10
DaleCurtis
media/ lgtm
4 years, 8 months ago (2016-04-21 00:35:28 UTC) #12
danakj
https://codereview.chromium.org/1907783002/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1907783002/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc#newcode128 content/common/gpu/client/context_provider_command_buffer.cc:128: if (trace_impl_) We *could* avoid a branch here and ...
4 years, 8 months ago (2016-04-21 00:38:42 UTC) #14
piman
lgtm
4 years, 8 months ago (2016-04-21 00:43:31 UTC) #15
piman
https://codereview.chromium.org/1907783002/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1907783002/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc#newcode128 content/common/gpu/client/context_provider_command_buffer.cc:128: if (trace_impl_) On 2016/04/21 00:38:41, danakj wrote: > We ...
4 years, 8 months ago (2016-04-21 00:44:21 UTC) #16
danakj
https://codereview.chromium.org/1907783002/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1907783002/diff/40001/content/common/gpu/client/context_provider_command_buffer.cc#newcode128 content/common/gpu/client/context_provider_command_buffer.cc:128: if (trace_impl_) On 2016/04/21 00:44:21, piman wrote: > On ...
4 years, 8 months ago (2016-04-21 00:52:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907783002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907783002/60001
4 years, 8 months ago (2016-04-21 01:03:50 UTC) #20
danakj
TBR'ing chris for public/
4 years, 8 months ago (2016-04-21 01:04:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907783002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907783002/60001
4 years, 8 months ago (2016-04-21 01:04:48 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/158056)
4 years, 8 months ago (2016-04-21 01:26:55 UTC) #27
chrishtr
lgtm
4 years, 8 months ago (2016-04-21 15:24:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907783002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907783002/100001
4 years, 8 months ago (2016-04-22 00:38:24 UTC) #31
danakj
https://codereview.chromium.org/1907783002/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc File content/common/gpu/client/context_provider_command_buffer.cc (right): https://codereview.chromium.org/1907783002/diff/60001/content/common/gpu/client/context_provider_command_buffer.cc#newcode75 content/common/gpu/client/context_provider_command_buffer.cc:75: ContextGL()->Flush(); This line got the ContextGL() after unsetting the ...
4 years, 8 months ago (2016-04-22 00:38:53 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/217022)
4 years, 8 months ago (2016-04-22 01:40:27 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907783002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907783002/100001
4 years, 8 months ago (2016-04-22 20:26:47 UTC) #36
danakj
The WebglConformance.deqp_functional_gles3_shaderswitch test passes for me locally and the bot seems to be very behind, ...
4 years, 8 months ago (2016-04-22 21:48:26 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907783002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907783002/100001
4 years, 8 months ago (2016-04-22 21:49:27 UTC) #41
Ken Russell (switch to Gerrit)
On 2016/04/22 21:48:26, danakj wrote: > The WebglConformance.deqp_functional_gles3_shaderswitch test passes for me > locally and ...
4 years, 8 months ago (2016-04-22 21:54:06 UTC) #42
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 8 months ago (2016-04-22 21:57:30 UTC) #44
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 21:59:12 UTC) #46
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/405d011dea3e17b9b70716a7f425b07c03183884
Cr-Commit-Position: refs/heads/master@{#389257}

Powered by Google App Engine
This is Rietveld 408576698