Chromium Code Reviews
DescriptionFix 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. #
Messages
Total messages: 24 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||