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

Issue 1833273002: Remove WebGraphicsContext3D::getGLES2Interface(). (Closed)

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

Description

Remove WebGraphicsContext3D::getGLES2Interface(). We no longer have WebGraphicsContext3D without having access to the actual GLES2Interface anywhere, so we don't need the method. The last holdout was getAWebGraphicsContext3D() in the WebGLObjects. This was changed to get a WebGLRenderingContextBase from which it can get a GLES2Interface, and we remove the unused WebGraphicsContext3D* plumbing all over them. R=kbr@chromium.org 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/46070b02edbd8d5531a143612c53f1a77baded40 Cr-Commit-Position: refs/heads/master@{#383576}

Patch Set 1 #

Total comments: 1

Patch Set 2 : getgles2: media #

Total comments: 2

Patch Set 3 : getgles2: todo #

Total comments: 3

Patch Set 4 : getgles2: rebase-and-getAGLES2Interface #

Patch Set 5 : getgles2: getAGLInterface #

Patch Set 6 : getgles2: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -156 lines) Patch
M content/renderer/media/android/webmediaplayer_android.h View 1 3 chunks +9 lines, -8 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 chunks +7 lines, -11 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.h View 1 3 chunks +12 lines, -8 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 3 chunks +1 line, -7 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M media/blink/webmediaplayer_impl.h View 1 3 chunks +12 lines, -8 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.h View 1 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/OESVertexArrayObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLBuffer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLContextGroup.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLContextObject.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLContextObject.cpp View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp View 7 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLObject.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLObject.cpp View 1 2 3 4 4 chunks +9 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLProgram.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLQuery.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderbuffer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderbuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSampler.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSampler.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLShader.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLShader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSharedObject.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSharedObject.cpp View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSync.h View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSync.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTexture.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.cpp View 5 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaPlayer.h View 1 3 chunks +9 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 43 (22 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833273002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833273002/1
4 years, 9 months ago (2016-03-25 21:59:01 UTC) #3
danakj
kbr: everything chrishtr: public OWNERS https://codereview.chromium.org/1833273002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLObject.h File third_party/WebKit/Source/modules/webgl/WebGLObject.h (right): https://codereview.chromium.org/1833273002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLObject.h#newcode99 third_party/WebKit/Source/modules/webgl/WebGLObject.h:99: virtual WebGLRenderingContextBase* getAWebGLRenderingContextBase() const ...
4 years, 9 months ago (2016-03-25 21:59:27 UTC) #5
chrishtr
lgtm
4 years, 9 months ago (2016-03-25 22:12:04 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/43747)
4 years, 9 months ago (2016-03-25 22:17:40 UTC) #8
danakj
Oh, I missed copyVideoTextureToPlatformTexture(), updated that to take GLES2Interface* as its argument. +dalecurtis for media ...
4 years, 9 months ago (2016-03-25 22:27:56 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833273002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833273002/20001
4 years, 9 months ago (2016-03-25 22:29:47 UTC) #12
DaleCurtis
media/ lgtm https://codereview.chromium.org/1833273002/diff/20001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/1833273002/diff/20001/content/renderer/media/android/webmediaplayer_android.cc#newcode704 content/renderer/media/android/webmediaplayer_android.cc:704: // TODO(danakj): Pass a GLES2Interface to this ...
4 years, 9 months ago (2016-03-25 22:32:01 UTC) #13
danakj
https://codereview.chromium.org/1833273002/diff/20001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/1833273002/diff/20001/content/renderer/media/android/webmediaplayer_android.cc#newcode704 content/renderer/media/android/webmediaplayer_android.cc:704: // TODO(danakj): Pass a GLES2Interface to this method instead. ...
4 years, 9 months ago (2016-03-25 22:36:44 UTC) #14
Zhenyao Mo
blink/webgl lgtm I have one suggestion, but this is a large CL, so you can ...
4 years, 9 months ago (2016-03-25 23:13:52 UTC) #16
Zhenyao Mo
https://codereview.chromium.org/1833273002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h File third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h (right): https://codereview.chromium.org/1833273002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h#newcode56 third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h:56: WebGLRenderingContextBase* getAWebGLRenderingContextBase(); On 2016/03/25 23:13:52, Zhenyao Mo wrote: > ...
4 years, 9 months ago (2016-03-25 23:15:15 UTC) #17
danakj
TBRing the code deletes in gpu/
4 years, 9 months ago (2016-03-25 23:37:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833273002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833273002/40001
4 years, 9 months ago (2016-03-25 23:37:40 UTC) #22
danakj
https://codereview.chromium.org/1833273002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h File third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h (right): https://codereview.chromium.org/1833273002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h#newcode56 third_party/WebKit/Source/modules/webgl/WebGLContextGroup.h:56: WebGLRenderingContextBase* getAWebGLRenderingContextBase(); On 2016/03/25 23:15:15, Zhenyao Mo wrote: > ...
4 years, 9 months ago (2016-03-25 23:41:17 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833273002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833273002/80001
4 years, 9 months ago (2016-03-25 23:50:23 UTC) #25
piman
lgtm
4 years, 9 months ago (2016-03-26 00:35:25 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/194741)
4 years, 9 months ago (2016-03-26 01:12:35 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833273002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833273002/100001
4 years, 8 months ago (2016-03-28 20:19:00 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833273002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833273002/100001
4 years, 8 months ago (2016-03-28 21:38:53 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833273002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833273002/100001
4 years, 8 months ago (2016-03-28 21:41:06 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-03-28 21:54:21 UTC) #41
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 21:55:34 UTC) #43
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/46070b02edbd8d5531a143612c53f1a77baded40
Cr-Commit-Position: refs/heads/master@{#383576}

Powered by Google App Engine
This is Rietveld 408576698