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

Issue 1812243003: Remove methods from WebGraphicsContext3D that wrap type casts. (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, dcheng, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, jochen+watch_chromium.org, Justin Novosad, Ken Russell (switch to Gerrit), 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@simples-tplus
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove methods from WebGraphicsContext3D that wrap type casts. There were a set of methods that just pass through to the GLES2Interface but do some type casting along the way. Move those casts to the caller or use GL types instead of WGC3D types directly, and call GLES2Interface instead of WebGraphicsContext3D for the methods. R=bajones@chromium.org, pfeldman@chromium.org, piman@chromium.org TBR=pfeldman BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/ed585b378ae0a8e410ae5b508821869fe4435d30 Cr-Commit-Position: refs/heads/master@{#382470}

Patch Set 1 #

Total comments: 4

Patch Set 2 : complex-casts: rebase #

Patch Set 3 : complex-casts: rebase-review #

Patch Set 4 : complex-casts: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -179 lines) Patch
M components/test_runner/test_plugin.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 1 2 3 7 chunks +0 lines, -52 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 1 2 3 7 chunks +0 lines, -79 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 8 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFenceSync.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSync.h View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSync.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/MockWebGraphicsContext3D.h View 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 2 3 8 chunks +0 lines, -19 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (13 generated)
danakj
bajones: modules/ piman: test_runner/ gpu/ platform/ public/ chrishtr: platform/ public/ OWNERS pfeldman: TBR for test_runner
4 years, 9 months ago (2016-03-18 23:22:53 UTC) #2
chrishtr
lgtm
4 years, 9 months ago (2016-03-18 23:23:51 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812243003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812243003/1
4 years, 9 months ago (2016-03-18 23:25:26 UTC) #7
bajones
modules/ LGTM
4 years, 9 months ago (2016-03-18 23:34:10 UTC) #8
danakj
+kbr for gpu/blink/ and components/
4 years, 9 months ago (2016-03-19 01:23:15 UTC) #10
danakj
On 2016/03/19 01:23:15, danakj wrote: > +kbr for gpu/blink/ and components/ Typing is hard. ^ ...
4 years, 9 months ago (2016-03-19 01:23:41 UTC) #12
piman
lgtm https://codereview.chromium.org/1812243003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1812243003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode38 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:38: return object ? reinterpret_cast<GLsync>(object->object()) : nullptr; nit: no ...
4 years, 9 months ago (2016-03-19 01:28:35 UTC) #13
Ken Russell (switch to Gerrit)
lgtm
4 years, 9 months ago (2016-03-19 02:20:44 UTC) #14
danakj
https://codereview.chromium.org/1812243003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1812243003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode38 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:38: return object ? reinterpret_cast<GLsync>(object->object()) : nullptr; On 2016/03/19 01:28:35, ...
4 years, 9 months ago (2016-03-21 22:02:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812243003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812243003/40001
4 years, 9 months ago (2016-03-21 22:03:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812243003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812243003/60001
4 years, 9 months ago (2016-03-21 22:47:43 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-22 01:17:29 UTC) #24
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 01:18:56 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ed585b378ae0a8e410ae5b508821869fe4435d30
Cr-Commit-Position: refs/heads/master@{#382470}

Powered by Google App Engine
This is Rietveld 408576698