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

Issue 1927593005: Fix ReadPixels from float fbo buffer in ES2/WebGL1. (Closed)

Created:
4 years, 7 months ago by Zhenyao Mo
Modified:
4 years, 7 months ago
CC:
chromium-reviews, blink-reviews, darin-cc_chromium.org, haraken, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ReadPixels from float fbo buffer in ES2/WebGL1. This CL change the default format/type from RGBA/UNSIGNED_BYTE to RGBA/FLOAT. Also, simplify querying IMPLMENTATION_READ_COLOR_FORMAT/TYPE by always calling down to the driver (even if the two enums are not supported) and fall back to internal decision if a GL error is generated. BUG=607283 TEST=webgl_conformance,webgl2_conformance R=piman@chromium.org,kbr@chromium.org,bajones@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/f3640b929df962d140b9314275eaa9d91dea2ac8 Cr-Commit-Position: refs/heads/master@{#390499}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -168 lines) Patch
M content/test/gpu/gpu_tests/webgl_conformance_expectations.py View 1 2 chunks +2 lines, -3 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 1 chunk +5 lines, -19 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 13 chunks +68 lines, -58 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 2 chunks +24 lines, -82 lines 0 comments Download
M gpu/command_buffer/tests/gl_readback_unittest.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 2 chunks +15 lines, -2 lines 0 comments Download
M ui/gl/gl_implementation.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M ui/gl/gl_version_info.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_version_info.cc View 3 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 21 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1927593005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1927593005/1
4 years, 7 months ago (2016-04-27 23:51:35 UTC) #4
Zhenyao Mo
piman: command_buffer and ui/gl kbr, bajones: blink PTAL
4 years, 7 months ago (2016-04-27 23:55:19 UTC) #5
piman
lgtm
4 years, 7 months ago (2016-04-28 02:18:53 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_optional_gpu_tests_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_optional_gpu_tests_rel/builds/1032)
4 years, 7 months ago (2016-04-28 03:00:36 UTC) #8
Ken Russell (switch to Gerrit)
Thanks for fixing this Mo. The CL description says: "The default format/type is set to ...
4 years, 7 months ago (2016-04-28 13:31:35 UTC) #9
Zhenyao Mo
On 2016/04/28 13:31:35, Ken Russell OOO till 5-2-2016 wrote: > Thanks for fixing this Mo. ...
4 years, 7 months ago (2016-04-28 17:21:14 UTC) #10
Ken Russell (switch to Gerrit)
On 2016/04/28 17:21:14, Zhenyao Mo wrote: > On 2016/04/28 13:31:35, Ken Russell OOO till 5-2-2016 ...
4 years, 7 months ago (2016-04-28 17:56:14 UTC) #12
Zhenyao Mo
The conformance test is already rolled in. With this CL, it begins to pass on ...
4 years, 7 months ago (2016-04-28 19:32:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1927593005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1927593005/20001
4 years, 7 months ago (2016-04-28 19:33:48 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-28 22:04:54 UTC) #18
pasko
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1929203003/ by pasko@chromium.org. ...
4 years, 7 months ago (2016-04-29 17:26:16 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:21:50 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f3640b929df962d140b9314275eaa9d91dea2ac8
Cr-Commit-Position: refs/heads/master@{#390499}

Powered by Google App Engine
This is Rietveld 408576698