Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 2083013006: Simplify FRAMEBUFFER_SRGB setting update. (Closed)

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

Description

Simplify FRAMEBUFFER_SRGB setting update. Before we tracked its state and only call glEnable/glDIsable when it's actually changed. This caused a bug where virtual context is used on Linux. This CL simplified the handling by not tracking its state and always call glEnable/glDisable at render time. BUG=540900 TEST=fbomultisample.html on linux does not cause flashing [email protected] NOTRY=true 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/0ed71926ff337965bef62feeaaca45e4a15fd05a Cr-Commit-Position: refs/heads/master@{#401496}

Patch Set 1 #

Patch Set 2 : Slightly more complicated but also more efficient solution. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -41 lines) Patch
M gpu/command_buffer/service/context_state.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.h View 2 chunks +0 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 2 chunks +0 lines, -27 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 1 chunk +11 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (10 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/2083013006/20001
4 years, 6 months ago (2016-06-22 21:40:35 UTC) #4
Zhenyao Mo
piman: Please take a look at both CL1 and CL2 and let me know which ...
4 years, 6 months ago (2016-06-22 21:40:50 UTC) #5
piman
LGTM on PS2. Doing an extra GL call on every draw call seems way too ...
4 years, 6 months ago (2016-06-22 21:51:51 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_optional_gpu_tests_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/1447)
4 years, 6 months ago (2016-06-23 00:28:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2083013006/20001
4 years, 6 months ago (2016-06-23 00:34:00 UTC) #10
Zhenyao Mo
mac_optional_gpu times out and is unrelated to this CL. Land with NOTRY=true
4 years, 6 months ago (2016-06-23 01:13:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2083013006/20001
4 years, 6 months ago (2016-06-23 01:14:16 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-23 01:19:13 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 01:21:09 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0ed71926ff337965bef62feeaaca45e4a15fd05a
Cr-Commit-Position: refs/heads/master@{#401496}

Powered by Google App Engine
This is Rietveld 408576698