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

Issue 2112513003: gpu: Use workarounds to selectively enable CMAA (Closed)

Created:
4 years, 5 months ago by robert.bradford
Modified:
4 years, 5 months ago
Reviewers:
Zhenyao Mo, piman
CC:
chromium-reviews, 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

gpu: Use workarounds to selectively enable CMAA To get wider testing of the impact of using CMAA for WebGL selectively enable it by default for "Broadwell GT2" ChromeOS devices. This was achieved by adding a workaround disabling CMAA on all devices with an exception for the GPU found in ChromeOS devices like samus. BUG=535198 TEST=Boot samus device and with added logging observe that CMAA is activated for WebGL. Use --gpu-testing-device-id/--gpu-testing-vendor-id to override the device ID and observe "disable_framebuffer_cmaa" listed under "Driver Bug Workarounds." CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/0885aff9905de9b96b197c353d4f438c173b5834 Cr-Commit-Position: refs/heads/master@{#402913}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove switch and fix up JSON data #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -16 lines) Patch
M gpu/command_buffer/service/feature_info.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 chunks +18 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_switches.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/gl/gl_switches.cc View 1 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
robert.bradford
Hi zmo@ here is the CL enabling CMAA on samus devices using the method you ...
4 years, 5 months ago (2016-06-29 16:24:16 UTC) #3
Zhenyao Mo
Mostly looks good https://codereview.chromium.org/2112513003/diff/1/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2112513003/diff/1/gpu/command_buffer/service/feature_info.cc#newcode895 gpu/command_buffer/service/feature_info.cc:895: } else if ((enable_cmaa_shaders_switch_ || You ...
4 years, 5 months ago (2016-06-29 16:59:16 UTC) #4
robert.bradford
Hi zmo@ all done! piman@ could you review the changes in ui/gl? https://codereview.chromium.org/2112513003/diff/1/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc ...
4 years, 5 months ago (2016-06-29 17:39:46 UTC) #6
Zhenyao Mo
lgtm
4 years, 5 months ago (2016-06-29 17:44:20 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2112513003/20001
4 years, 5 months ago (2016-06-29 17:46:20 UTC) #9
piman
lgtm lgtm lgtm
4 years, 5 months ago (2016-06-29 17:47:50 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 19:09:22 UTC) #13
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/2112513003/20001
4 years, 5 months ago (2016-06-29 19:47:04 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-06-29 19:57:58 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 19:59:20 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0885aff9905de9b96b197c353d4f438c173b5834
Cr-Commit-Position: refs/heads/master@{#402913}

Powered by Google App Engine
This is Rietveld 408576698