Chromium Code Reviews
DescriptionWebGL2 & 16-bit depth capture: Upload video to GL_RED float texture.
This enables lossless access to 16-bit video stream using GL_RED float texture on WebGL2.
The patch extends the WebGL1 approach using RGBA32F textures for 16-bit depth video [*]
by using single component GL_RED float [**] texture on WebGL2.
* https://crrev.com/2476693002/
** Float is used for no-precision-loss access to 16-bit data normalized to
[0-1.0] range using formula value_float = value_16bit/65535.0.
BUG=369849, 624436
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/014802a3945cbf187a74bda8b2fdc21404d44104
Cr-Commit-Position: refs/heads/master@{#437371}
Patch Set 1 #Patch Set 2 : rebase issue fix. #Patch Set 3 : --enable-es3-apis is required for WebGL2 on Android. #
Messages
Total messages: 29 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||