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

Issue 1834983003: Remove string-getting methods from WebGraphicsContext3D. (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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove string-getting methods from WebGraphicsContext3D. This adds a GLStringQuery helper class to modules/webgl/ which allows sharing code between the various strings we query off the GLES2Interface, and uses that with the raw GLES2Interface to query these strings instead of using WebGraphicsContext3D. R=kbr@chromium.org TBR= 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/0220f42dbc4c23865d289d25256d623bcef3abbb Cr-Commit-Position: refs/heads/master@{#383569}

Patch Set 1 #

Total comments: 3

Patch Set 2 : getactive: whitespace #

Patch Set 3 : getactive: mock #

Patch Set 4 : getactive: moremock #

Patch Set 5 : getactive: rebase #

Patch Set 6 : getactive: stringlength #

Patch Set 7 : getactive: pointers #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -196 lines) Patch
M gpu/blink/webgraphicscontext3d_impl.h View 1 chunk +0 lines, -14 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 chunk +0 lines, -121 lines 0 comments Download
A third_party/WebKit/Source/modules/webgl/GLStringQuery.h View 1 chunk +73 lines, -0 lines 3 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLDebugShaders.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 9 chunks +47 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h View 1 2 3 1 chunk +0 lines, -23 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 2 chunks +0 lines, -18 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 43 (21 generated)
danakj
kbr: everything chrishtr: public OWNERS
4 years, 9 months ago (2016-03-25 21:09:09 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834983003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834983003/1
4 years, 9 months ago (2016-03-25 21:09:35 UTC) #5
danakj
https://codereview.chromium.org/1834983003/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1834983003/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode3026 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:3026: contextGL()->GetProgramiv(programId, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength); This pulls the maxNameLength query out ...
4 years, 9 months ago (2016-03-25 21:13:07 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/1834983003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834983003/20001
4 years, 9 months ago (2016-03-25 21:14:37 UTC) #8
commit-bot: I haz the power
Dry run: 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/40815) mac_chromium_gn_rel on ...
4 years, 9 months ago (2016-03-25 21:27:22 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/1834983003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834983003/40001
4 years, 9 months ago (2016-03-25 21:39:23 UTC) #12
chrishtr
lgtm
4 years, 9 months ago (2016-03-25 22:30:38 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834983003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834983003/60001
4 years, 9 months ago (2016-03-25 22:35:34 UTC) #16
Zhenyao Mo
On 2016/03/25 22:35:34, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 9 months ago (2016-03-25 23:07:37 UTC) #17
danakj
TBRing the code deletes in gpu/
4 years, 9 months ago (2016-03-25 23:36:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834983003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834983003/60001
4 years, 9 months ago (2016-03-25 23:37:13 UTC) #23
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/202348)
4 years, 9 months ago (2016-03-26 00:06:51 UTC) #25
danakj
Ah.. looks like I did something wrong here, some test failures. Will look next week ...
4 years, 9 months ago (2016-03-26 00:21:48 UTC) #26
piman
lgtm
4 years, 9 months ago (2016-03-26 00:34:25 UTC) #28
danakj
Oh I think I see what I did. Fixes in PS6. I was getting the ...
4 years, 8 months ago (2016-03-28 18:55:51 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/1834983003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834983003/100001
4 years, 8 months ago (2016-03-28 18:56:08 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/135476) linux_chromium_compile_dbg_32_ng on ...
4 years, 8 months ago (2016-03-28 19:05:39 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1834983003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1834983003/120001
4 years, 8 months ago (2016-03-28 20:04:18 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-03-28 21:33:22 UTC) #38
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/0220f42dbc4c23865d289d25256d623bcef3abbb Cr-Commit-Position: refs/heads/master@{#383569}
4 years, 8 months ago (2016-03-28 21:36:09 UTC) #40
esprehn
https://codereview.chromium.org/1834983003/diff/120001/third_party/WebKit/Source/modules/webgl/GLStringQuery.h File third_party/WebKit/Source/modules/webgl/GLStringQuery.h (right): https://codereview.chromium.org/1834983003/diff/120001/third_party/WebKit/Source/modules/webgl/GLStringQuery.h#newcode57 third_party/WebKit/Source/modules/webgl/GLStringQuery.h:57: return WTF::emptyString(); you don't need to write WTF:: on ...
4 years, 8 months ago (2016-03-28 21:44:15 UTC) #42
danakj
4 years, 8 months ago (2016-03-28 21:45:34 UTC) #43
Message was sent while issue was closed.
https://codereview.chromium.org/1834983003/diff/120001/third_party/WebKit/Sou...
File third_party/WebKit/Source/modules/webgl/GLStringQuery.h (right):

https://codereview.chromium.org/1834983003/diff/120001/third_party/WebKit/Sou...
third_party/WebKit/Source/modules/webgl/GLStringQuery.h:57: return
WTF::emptyString();
On 2016/03/28 21:44:15, esprehn wrote:
> you don't need to write WTF:: on all these.

Oh that stack of using's at the bottom of WTFString.h. ok thanks.

Powered by Google App Engine
This is Rietveld 408576698