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

Issue 2611403002: Fix a bug in drawBuffers optimization. (Closed)

Created:
3 years, 11 months ago by Zhenyao Mo
Modified:
3 years, 11 months ago
CC:
chromium-reviews, piman+watch_chromium.org, Kai Ninomiya, vmiura
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a bug in drawBuffers optimization. We filter out draw buffers that are not written to and are not NONE, but currently we only do that on Draw calls, not Clear. This CL fixes this. BUG=678153 TEST=webgl_conformance, test case from the bug R=kbr@chromium.org 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 Review-Url: https://codereview.chromium.org/2611403002 Cr-Commit-Position: refs/heads/master@{#442131} Committed: https://chromium.googlesource.com/chromium/src/+/3e2c0df8485250d7bd94ab90fc6a260bf89cef71

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -13 lines) Patch
M gpu/command_buffer/service/framebuffer_manager.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 1 1 chunk +25 lines, -13 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 3 chunks +15 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (11 generated)
Zhenyao Mo
WebGL conformance test to catch this bug will be uploaded shortly after. kbr: Please review. ...
3 years, 11 months ago (2017-01-06 22:32:03 UTC) #4
Ken Russell (switch to Gerrit)
Basically looks good. Any chance of a unit test for this change? https://codereview.chromium.org/2611403002/diff/1/gpu/command_buffer/service/framebuffer_manager.cc File gpu/command_buffer/service/framebuffer_manager.cc ...
3 years, 11 months ago (2017-01-06 22:43:07 UTC) #5
Zhenyao Mo
Conformance test is uploaded https://github.com/KhronosGroup/WebGL/pull/2246 As you can see, it take a quite some steps ...
3 years, 11 months ago (2017-01-07 00:22:24 UTC) #8
Ken Russell (switch to Gerrit)
Sounds good. LGTM
3 years, 11 months ago (2017-01-07 00:24:35 UTC) #11
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/2611403002/20001
3 years, 11 months ago (2017-01-07 00:41:15 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-07 01:39:11 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3e2c0df8485250d7bd94ab90fc6a...

Powered by Google App Engine
This is Rietveld 408576698