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

Issue 1809553002: blink: Remove unused or rarely used methods from WebGraphicsContext3D (Closed)

Created:
4 years, 9 months ago by danakj
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dcheng, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jam, jbauman+watch_chromium.org, jbroman, Justin Novosad, kalyank, kinuko+watch, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, piman, rwlbuis, Stephen Chennney, sievers+watch_chromium.org, Zhenyao Mo
Base URL:
https://chromium.googlesource.com/chromium/src.git@wgc3d
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

blink: Remove unused or rarely used methods from WebGraphicsContext3D This is toward deleting the class entirely. These methods were not used at all, or for a couple of them, had one caller which we redirect to the GLES2Interface directly. Adds a DEPS entry for core/testing/ to use GLES2Interface as there's code in there calling things on WebGraphicsContext3D now. R=kbr,esprehn,sievers,chrishtr BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/5260676ed275358c7b44da823b97bc1084c7a25e Cr-Commit-Position: refs/heads/master@{#381586}

Patch Set 1 #

Total comments: 3

Patch Set 2 : wgc3d-unused: delete-more-overrides #

Patch Set 3 : wgc3d-unused: . #

Patch Set 4 : wgc3d-unused: depends? #

Patch Set 5 : wgc3d-unused: more beginTraceCHROMIUM in android #

Patch Set 6 : wgc3d-unused: WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -249 lines) Patch
M content/browser/android/in_process/context_provider_in_process.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/gpu/client/gl_helper_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/gpu_context_tests.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 3 chunks +14 lines, -20 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 1 8 chunks +0 lines, -56 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 7 chunks +0 lines, -87 lines 0 comments Download
A + third_party/WebKit/Source/core/testing/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h View 2 chunks +0 lines, -13 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 9 chunks +0 lines, -60 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 40 (21 generated)
danakj
kbr: content/ WebKit/modules/ WebKit/platform/ esprehn or chrishtr: WebKit/public/ and WebKit/core/testing/ sievers: gpu/blink/
4 years, 9 months ago (2016-03-15 23:56:49 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809553002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809553002/1
4 years, 9 months ago (2016-03-15 23:57:31 UTC) #8
chrishtr
lgtm
4 years, 9 months ago (2016-03-16 00:09:30 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/173705)
4 years, 9 months ago (2016-03-16 00:09:31 UTC) #11
Ken Russell (switch to Gerrit)
Thank you for working on this cleanup and removal! LGTM already. https://codereview.chromium.org/1809553002/diff/1/third_party/WebKit/public/platform/WebGraphicsContext3D.h File third_party/WebKit/public/platform/WebGraphicsContext3D.h (left): ...
4 years, 9 months ago (2016-03-16 00:18:22 UTC) #12
danakj
https://codereview.chromium.org/1809553002/diff/1/third_party/WebKit/public/platform/WebGraphicsContext3D.h File third_party/WebKit/public/platform/WebGraphicsContext3D.h (left): https://codereview.chromium.org/1809553002/diff/1/third_party/WebKit/public/platform/WebGraphicsContext3D.h#oldcode145 third_party/WebKit/public/platform/WebGraphicsContext3D.h:145: virtual void reshapeWithScaleFactor(int width, int height, float scaleFactor) { ...
4 years, 9 months ago (2016-03-16 00:19:28 UTC) #13
esprehn
lgtm
4 years, 9 months ago (2016-03-16 00:26:10 UTC) #14
no sievers
On 2016/03/16 00:19:28, danakj wrote: > https://codereview.chromium.org/1809553002/diff/1/third_party/WebKit/public/platform/WebGraphicsContext3D.h > File third_party/WebKit/public/platform/WebGraphicsContext3D.h (left): > > https://codereview.chromium.org/1809553002/diff/1/third_party/WebKit/public/platform/WebGraphicsContext3D.h#oldcode145 > ...
4 years, 9 months ago (2016-03-16 00:26:16 UTC) #15
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1809553002/diff/1/third_party/WebKit/public/platform/WebGraphicsContext3D.h File third_party/WebKit/public/platform/WebGraphicsContext3D.h (left): https://codereview.chromium.org/1809553002/diff/1/third_party/WebKit/public/platform/WebGraphicsContext3D.h#oldcode145 third_party/WebKit/public/platform/WebGraphicsContext3D.h:145: virtual void reshapeWithScaleFactor(int width, int height, float scaleFactor) { ...
4 years, 9 months ago (2016-03-16 00:29:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809553002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809553002/80001
4 years, 9 months ago (2016-03-16 17:49:10 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/36685)
4 years, 9 months ago (2016-03-16 18:10:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809553002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809553002/100001
4 years, 9 months ago (2016-03-16 18:42:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/36551)
4 years, 9 months ago (2016-03-16 18:57:10 UTC) #27
danakj
WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture also takes a WGC3D. Made it grab the GLES2Interface off it and use that ...
4 years, 9 months ago (2016-03-16 19:48:47 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809553002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809553002/140001
4 years, 9 months ago (2016-03-16 19:52:59 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/118380)
4 years, 9 months ago (2016-03-16 21:55:24 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809553002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809553002/140001
4 years, 9 months ago (2016-03-16 21:57:48 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 9 months ago (2016-03-16 23:28:07 UTC) #38
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 23:29:31 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5260676ed275358c7b44da823b97bc1084c7a25e
Cr-Commit-Position: refs/heads/master@{#381586}

Powered by Google App Engine
This is Rietveld 408576698