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

Issue 1814263004: Remove create/delete methods from WebGraphicsContext3D. (Closed)

Created:
4 years, 9 months ago by danakj
Modified:
4 years, 9 months ago
CC:
ajuma+watch-canvas_chromium.org, bajones, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dcheng, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, jochen+watch_chromium.org, Justin Novosad, kinuko+watch, mlamouri+watch-test-runner_chromium.org, 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@complex-casts
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove create/delete methods from WebGraphicsContext3D. Have callers use the new Gen/Delete methods on GLES2Interface instead. R=bajones@chromium.org, chrishtr@chromium.org, kbr@chromium.org, pfeldman@chromium.org TBR=pfeldman BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/d8fb03aaed3416b77589c154ae1e9c2c832bfa4b Cr-Commit-Position: refs/heads/master@{#382506} Committed: https://crrev.com/8e6d7a72951c1f62377f6f69fab17375c92118e8 Cr-Commit-Position: refs/heads/master@{#382690}

Patch Set 1 #

Total comments: 6

Patch Set 2 : complex-create: rebase #

Patch Set 3 : complex-create: GLuintGLenum #

Patch Set 4 : complex-create: rebase #

Total comments: 5

Patch Set 5 : complex-create: . #

Total comments: 3

Patch Set 6 : complex-create: rebase #

Total comments: 2

Patch Set 7 : complex-create: rebase #

Patch Set 8 : complex-create: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -319 lines) Patch
M components/test_runner/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/test_runner/test_plugin.h View 1 2 3 4 5 6 7 5 chunks +11 lines, -10 lines 0 comments Download
M components/test_runner/test_plugin.cc View 1 2 3 4 5 6 7 7 chunks +15 lines, -15 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 1 2 3 4 5 3 chunks +0 lines, -24 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 2 3 4 5 3 chunks +0 lines, -90 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/CHROMIUMValuebuffer.cpp View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLDrawBuffers.cpp View 1 2 5 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderbuffer.cpp View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 7 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSampler.cpp View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTimerQueryEXT.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 2 3 4 5 6 3 chunks +3 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 4 5 6 7 11 chunks +17 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 1 2 3 4 5 6 7 4 chunks +35 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/SharedContextRateLimiter.cpp View 3 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h View 1 2 3 4 5 1 chunk +0 lines, -39 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 2 3 4 5 2 chunks +0 lines, -26 lines 0 comments Download

Messages

Total messages: 66 (26 generated)
danakj
kbr: please review everything chrishtr: public/ OWNERS pfeldman: TBR for test_runner
4 years, 9 months ago (2016-03-19 01:21:02 UTC) #2
chrishtr
lgtm
4 years, 9 months ago (2016-03-19 01:29:08 UTC) #3
piman
lgtm
4 years, 9 months ago (2016-03-19 01:31:27 UTC) #5
Ken Russell (switch to Gerrit)
Thanks for continuing to do this cleanup. LGTM with one slight concern. https://codereview.chromium.org/1814263004/diff/1/components/test_runner/test_plugin.h File components/test_runner/test_plugin.h ...
4 years, 9 months ago (2016-03-19 01:46:39 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/1814263004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/1
4 years, 9 months ago (2016-03-19 02:51:52 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/197846)
4 years, 9 months ago (2016-03-19 03:37:30 UTC) #10
danakj
https://codereview.chromium.org/1814263004/diff/1/components/test_runner/test_plugin.h File components/test_runner/test_plugin.h (right): https://codereview.chromium.org/1814263004/diff/1/components/test_runner/test_plugin.h#newcode160 components/test_runner/test_plugin.h:160: uint32_t color_texture_; On 2016/03/19 01:46:39, Ken Russell wrote: > ...
4 years, 9 months ago (2016-03-21 22:27:02 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814263004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/40001
4 years, 9 months ago (2016-03-21 22:27:36 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/7352) ios_dbg_simulator_ninja on ...
4 years, 9 months ago (2016-03-21 22:29:05 UTC) #15
Ken Russell (switch to Gerrit)
Thanks for the change to use the GL typedefs. I think that makes the code ...
4 years, 9 months ago (2016-03-21 22:29:56 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814263004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/60001
4 years, 9 months ago (2016-03-21 22:50:00 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/198523)
4 years, 9 months ago (2016-03-21 23:42:28 UTC) #22
danakj
I can't repro these failures locally, whyyy. I tried enable_oilpan=false. Hmmmm
4 years, 9 months ago (2016-03-22 00:05:59 UTC) #23
danakj
On Mon, Mar 21, 2016 at 5:05 PM, <danakj@chromium.org> wrote: > I can't repro these ...
4 years, 9 months ago (2016-03-22 00:09:27 UTC) #24
Ken Russell (switch to Gerrit)
On 2016/03/22 00:09:27, danakj wrote: > On Mon, Mar 21, 2016 at 5:05 PM, <mailto:danakj@chromium.org> ...
4 years, 9 months ago (2016-03-22 00:10:59 UTC) #25
danakj
On Mon, Mar 21, 2016 at 5:10 PM, <kbr@chromium.org> wrote: > On 2016/03/22 00:09:27, danakj ...
4 years, 9 months ago (2016-03-22 00:13:22 UTC) #26
danakj
On Mon, Mar 21, 2016 at 5:05 PM, <danakj@chromium.org> wrote: > I can't repro these ...
4 years, 9 months ago (2016-03-22 00:16:22 UTC) #27
danakj
On Mon, Mar 21, 2016 at 5:10 PM, <kbr@chromium.org> wrote: > On 2016/03/22 00:09:27, danakj ...
4 years, 9 months ago (2016-03-22 00:20:12 UTC) #28
danakj
https://codereview.chromium.org/1814263004/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/1814263004/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode281 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:281: if (!newTexture.textureId) ditto. This fixes the rest of the ...
4 years, 9 months ago (2016-03-22 00:21:26 UTC) #29
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1814263004/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/1814263004/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode637 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:637: if (!offscreenColorTexture) On 2016/03/22 00:21:26, danakj wrote: > This ...
4 years, 9 months ago (2016-03-22 00:30:30 UTC) #30
danakj
https://codereview.chromium.org/1814263004/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/1814263004/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode637 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:637: if (!offscreenColorTexture) On 2016/03/22 00:30:30, Ken Russell wrote: > ...
4 years, 9 months ago (2016-03-22 00:37:14 UTC) #31
danakj
PTAL
4 years, 9 months ago (2016-03-22 00:37:28 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814263004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/80001
4 years, 9 months ago (2016-03-22 00:37:57 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/175711) ios_dbg_simulator_gn on ...
4 years, 9 months ago (2016-03-22 00:39:46 UTC) #36
Ken Russell (switch to Gerrit)
Still LGTM, but: https://codereview.chromium.org/1814263004/diff/80001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp (right): https://codereview.chromium.org/1814263004/diff/80001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp#newcode173 third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp:173: static GLuint id = 1; I ...
4 years, 9 months ago (2016-03-22 00:43:46 UTC) #37
danakj
Thanks! https://codereview.chromium.org/1814263004/diff/80001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp (right): https://codereview.chromium.org/1814263004/diff/80001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp#newcode173 third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp:173: static GLuint id = 1; On 2016/03/22 00:43:45, ...
4 years, 9 months ago (2016-03-22 00:47:47 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814263004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/100001
4 years, 9 months ago (2016-03-22 00:49:07 UTC) #40
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1814263004/diff/80001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp (right): https://codereview.chromium.org/1814263004/diff/80001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp#newcode173 third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp:173: static GLuint id = 1; On 2016/03/22 00:47:47, danakj ...
4 years, 9 months ago (2016-03-22 00:50:37 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814263004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/100001
4 years, 9 months ago (2016-03-22 01:20:31 UTC) #45
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-22 04:12:03 UTC) #47
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d8fb03aaed3416b77589c154ae1e9c2c832bfa4b Cr-Commit-Position: refs/heads/master@{#382506}
4 years, 9 months ago (2016-03-22 04:13:36 UTC) #49
Dan Beam
https://codereview.chromium.org/1814263004/diff/100001/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp File third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/1814263004/diff/100001/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp#newcode255 third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp:255: WebGraphicsContext3D* webContext = context(); now unused https://codereview.chromium.org/1814263004/diff/100001/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp#newcode276 third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp:276: WebGraphicsContext3D* ...
4 years, 9 months ago (2016-03-22 04:31:04 UTC) #50
Dan Beam
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1817323003/ by dbeam@chromium.org. ...
4 years, 9 months ago (2016-03-22 04:37:14 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814263004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/120001
4 years, 9 months ago (2016-03-22 18:14:38 UTC) #55
danakj
On 2016/03/22 04:37:14, Dan Beam wrote: > A revert of this CL (patchset #6 id:100001) ...
4 years, 9 months ago (2016-03-22 18:16:17 UTC) #56
danakj
On 2016/03/22 18:16:17, danakj wrote: > On 2016/03/22 04:37:14, Dan Beam wrote: > > A ...
4 years, 9 months ago (2016-03-22 18:18:51 UTC) #57
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp: While running git apply --index -3 -p1; error: patch ...
4 years, 9 months ago (2016-03-22 20:07:01 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814263004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814263004/140001
4 years, 9 months ago (2016-03-22 20:26:51 UTC) #62
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-22 21:46:28 UTC) #64
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 21:47:51 UTC) #66
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8e6d7a72951c1f62377f6f69fab17375c92118e8
Cr-Commit-Position: refs/heads/master@{#382690}

Powered by Google App Engine
This is Rietveld 408576698