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

Issue 2511153002: Fix semantics of uploading HTML sources to 3D textures. (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

Fix semantics of uploading HTML sources to 3D textures. The earlier code misinterpreted the spec as using the UNPACK_IMAGE_HEIGHT pixel storage parameter to slice the image's sub-rectangle into multiple layers of a 3D texture. The new semantics, which Firefox implements, walk the image sub-rectangle "depth" times through the source image, striding by UNPACK_IMAGE_HEIGHT rows each time -- this parameter defaulting to the height of the 3D texture. Tested with all conformance2/textures/ tests in https://github.com/KhronosGroup/WebGL/pull/2158 . Incorporates needed WebGL conformance roll: Roll WebGL b1a7540..453428f https://chromium.googlesource.com/external/khronosgroup/webgl.git/+log/b1a7540..453428f 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/d481a01bc050798a91512bdad6a70fccf0cb27a3 Cr-Commit-Position: refs/heads/master@{#433079}

Patch Set 1 #

Patch Set 2 : Incorporated needed WebGL conformance roll. #

Patch Set 3 : Remove attempted optimization of uploads of ImageBitmap sub-rectangles. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -105 lines) Patch
M DEPS View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 chunk +23 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 10 chunks +24 lines, -49 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h View 2 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp View 10 chunks +108 lines, -46 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
Ken Russell (switch to Gerrit)
Mo, Kai: please review. Thanks. Note that this can't be tried until https://github.com/KhronosGroup/WebGL/pull/2158 lands; I'll ...
4 years, 1 month ago (2016-11-17 16:10:02 UTC) #4
Zhenyao Mo
On 2016/11/17 16:10:02, Ken Russell wrote: > Mo, Kai: please review. Thanks. > > Note ...
4 years, 1 month ago (2016-11-17 16:34:10 UTC) #5
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/2511153002/20001
4 years, 1 month ago (2016-11-17 16:36:19 UTC) #9
Kai Ninomiya
lgtm
4 years, 1 month ago (2016-11-17 18:03:35 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_optional_gpu_tests_rel on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/4981)
4 years, 1 month ago (2016-11-17 18:20:06 UTC) #12
Ken Russell (switch to Gerrit)
On 2016/11/17 18:20:06, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-11-17 21:36:22 UTC) #13
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/2511153002/40001
4 years, 1 month ago (2016-11-17 21:38:02 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/338053)
4 years, 1 month ago (2016-11-17 23:30:25 UTC) #18
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/2511153002/40001
4 years, 1 month ago (2016-11-18 00:07:54 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-18 03:53:20 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 03:56:56 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d481a01bc050798a91512bdad6a70fccf0cb27a3
Cr-Commit-Position: refs/heads/master@{#433079}

Powered by Google App Engine
This is Rietveld 408576698