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

Issue 1824433002: Remove getError() and synthesizeGLError() from WebGraphicsContext3D. (Closed)

Created:
4 years, 9 months ago by danakj
Modified:
4 years, 9 months ago
CC:
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, 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@simples-tplus
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove getError() and synthesizeGLError() from WebGraphicsContext3D. This moves synthetic gl errors entirely into WebGLRenderingContextBase, as all callers that need to synthesize errors have access to or are inside that class. We deleted some dead WebKit code in WebGLProgram to make the above true. Callers to synthesizeGLError() now call the same public method of WebGLRenderingContextBase instead, which allows them to provide additional debug strings. One caller to getError() was switched to GLES2Interface::GetError in DrawingBuffer as that appears separate from the needs for synthetic errors entirely. R=bajones@chromium.org, chrishtr@chromium.org, kbr@chromium.org, pfeldman@chromium.org BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/f6cc81c7e7f6ae0cc7259a276375fa0ccceec26c Cr-Commit-Position: refs/heads/master@{#382446}

Patch Set 1 #

Total comments: 6

Patch Set 2 : errors: review #

Patch Set 3 : errors: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -147 lines) Patch
M gpu/blink/webgraphicscontext3d_impl.h View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 2 4 chunks +4 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/EXTDisjointTimerQuery.cpp View 6 chunks +13 lines, -13 lines 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 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLObject.h View 2 chunks +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLProgram.h View 1 2 chunks +2 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp View 1 2 chunks +6 lines, -54 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 8 chunks +36 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h View 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 2 2 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
danakj
4 years, 9 months ago (2016-03-19 02:49:24 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1824433002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1824433002/1
4 years, 9 months ago (2016-03-19 02:51:53 UTC) #4
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/197844)
4 years, 9 months ago (2016-03-19 03:46:08 UTC) #6
Ken Russell (switch to Gerrit)
Awesome. LGTM https://codereview.chromium.org/1824433002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp File third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp (right): https://codereview.chromium.org/1824433002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp#newcode160 third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp:160: // TODO(danakj): Make this getAWebGLRenderingContextBase. WebGLProgram::linkStatus() could ...
4 years, 9 months ago (2016-03-19 04:36:04 UTC) #7
chrishtr
lgtm
4 years, 9 months ago (2016-03-21 15:07:19 UTC) #8
danakj
https://codereview.chromium.org/1824433002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp File third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp (right): https://codereview.chromium.org/1824433002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp#newcode160 third_party/WebKit/Source/modules/webgl/WebGLProgram.cpp:160: // TODO(danakj): Make this getAWebGLRenderingContextBase. On 2016/03/19 04:36:04, Ken ...
4 years, 9 months ago (2016-03-21 22:45:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1824433002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1824433002/20001
4 years, 9 months ago (2016-03-21 22:45:34 UTC) #12
commit-bot: I haz the power
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/7365) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-21 22:47:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1824433002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1824433002/40001
4 years, 9 months ago (2016-03-21 22:51:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1824433002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1824433002/40001
4 years, 9 months ago (2016-03-21 23:13:13 UTC) #22
Ken Russell (switch to Gerrit)
Still awesome. Still LGTM.
4 years, 9 months ago (2016-03-21 23:23:49 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-22 00:06:54 UTC) #25
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 00:09:29 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f6cc81c7e7f6ae0cc7259a276375fa0ccceec26c
Cr-Commit-Position: refs/heads/master@{#382446}

Powered by Google App Engine
This is Rietveld 408576698