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 2458943002: Support 2D texture sub-source uploads from HTMLImageElement. (Closed)

Created:
4 years, 1 month ago by Ken Russell (switch to Gerrit)
Modified:
4 years, 1 month ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, haraken, Rik, f(malita), blink-reviews, piman+watch_chromium.org, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support 2D texture sub-source uploads from HTMLImageElement. Covers both texImage2D and texSubImage2D. Verified with new tests in https://github.com/KhronosGroup/WebGL/pull/2119 . Other code paths will follow. BUG=639145 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/936bf933e5b57ed08bc8ff211233a21783260615 Cr-Commit-Position: refs/heads/master@{#428889}

Patch Set 1 #

Patch Set 2 : Fixed bug with sub-rectangle, y-flipped uploads. #

Patch Set 3 : Fixed bug in computation of default image sub-rectangle. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -69 lines) Patch
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 4 chunks +29 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 13 chunks +79 lines, -17 lines 2 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp View 1 2 9 chunks +49 lines, -34 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
Ken Russell (switch to Gerrit)
PTAL
4 years, 1 month ago (2016-10-28 20:28:04 UTC) #5
Zhenyao Mo
On 2016/10/28 20:28:04, Ken Russell wrote: > PTAL The bot failures seem real
4 years, 1 month ago (2016-10-29 00:28:39 UTC) #10
Ken Russell (switch to Gerrit)
On 2016/10/29 00:28:39, Zhenyao Mo wrote: > On 2016/10/28 20:28:04, Ken Russell wrote: > > ...
4 years, 1 month ago (2016-10-30 21:43:38 UTC) #11
Zhenyao Mo
LGTM with one tiny suggestion Let's land this now https://codereview.chromium.org/2458943002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2458943002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode4371 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4371: ...
4 years, 1 month ago (2016-10-31 22:50:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2458943002/40001
4 years, 1 month ago (2016-10-31 22:51:33 UTC) #18
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2458943002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2458943002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode4371 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4371: synthesizeGLError(GL_INVALID_OPERATION, funcName, On 2016/10/31 22:50:51, Zhenyao Mo wrote: > ...
4 years, 1 month ago (2016-11-01 00:31:34 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-01 00:54:10 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 00:56:44 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/936bf933e5b57ed08bc8ff211233a21783260615
Cr-Commit-Position: refs/heads/master@{#428889}

Powered by Google App Engine
This is Rietveld 408576698