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

Issue 1374043005: Blacklist MSAA for GPU Raster on Intel GPUs (Closed)

Created:
5 years, 2 months ago by ericrk
Modified:
5 years, 2 months ago
Reviewers:
Zhenyao Mo
CC:
chromium-reviews, piman+watch_chromium.org, Stephen White, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@ignore_cr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blacklist MSAA for GPU Raster on Intel GPUs Intel GPUs have unacceptable performance for GPU raster when MSAA is enabled. This has been tested on recent Intel GPUs on CrOS, Mac, and Windows. Given this we’re adding a workaround for Intel GPUs which will disable MSAA for GPU raster. We don’t want to impact WebGL, so this workaround specifically targets non-WebGL contexts. I’ve updated FeatureInfo’s Initialize function to accept the context type, which allows us to customize features based on webgl/non-webgl. I’ve also changed the secondary version of Initialize, which takes no arguments, to be InitializeForTesting, as this function is only called in tests. BUG=527565 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/ed27437d3a0a58534dd6cb877b18d2d60d1d21fe Cr-Commit-Position: refs/heads/master@{#351904}

Patch Set 1 #

Patch Set 2 : unit tests + fixes #

Patch Set 3 : fix formatting #

Patch Set 4 : comments + cleanup #

Total comments: 8

Patch Set 5 : review feedback #

Patch Set 6 : android fix #

Total comments: 2

Patch Set 7 : version # #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -70 lines) Patch
M gpu/command_buffer/service/buffer_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/context_group.cc View 1 2 3 4 3 chunks +11 lines, -15 lines 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 4 chunks +35 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/feature_info_unittest.cc View 1 4 chunks +40 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 10 chunks +12 lines, -18 lines 0 comments Download
M gpu/command_buffer/service/query_manager_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/renderbuffer_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M gpu/command_buffer/tests/gl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 6 2 chunks +11 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
ericrk
Hi Mo, Let me know if this approach (modifying FeatureInfo) seems reasonable - we could ...
5 years, 2 months ago (2015-09-30 23:26:19 UTC) #2
Zhenyao Mo
On 2015/09/30 23:26:19, ericrk wrote: > Hi Mo, > > Let me know if this ...
5 years, 2 months ago (2015-09-30 23:50:06 UTC) #4
Zhenyao Mo
https://chromiumcodereview.appspot.com/1374043005/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://chromiumcodereview.appspot.com/1374043005/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode1129 gpu/command_buffer/service/feature_info.cc:1129: if (workarounds_.disable_msaa_on_non_webgl_contexts) { This is inconsistent with the rest ...
5 years, 2 months ago (2015-09-30 23:50:13 UTC) #5
Zhenyao Mo
https://chromiumcodereview.appspot.com/1374043005/diff/60001/gpu/command_buffer/service/feature_info.h File gpu/command_buffer/service/feature_info.h (right): https://chromiumcodereview.appspot.com/1374043005/diff/60001/gpu/command_buffer/service/feature_info.h#newcode168 gpu/command_buffer/service/feature_info.h:168: ContextType context_type_; On 2015/09/30 23:50:13, Zhenyao Mo wrote: > ...
5 years, 2 months ago (2015-09-30 23:51:37 UTC) #6
ericrk
Thanks for the feedback! https://codereview.chromium.org/1374043005/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1374043005/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode1129 gpu/command_buffer/service/feature_info.cc:1129: if (workarounds_.disable_msaa_on_non_webgl_contexts) { On 2015/09/30 ...
5 years, 2 months ago (2015-10-01 17:13:11 UTC) #8
Zhenyao Mo
Beautiful CL. LGTM with the json file version updated. https://codereview.chromium.org/1374043005/diff/140001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/1374043005/diff/140001/gpu/config/gpu_driver_bug_list_json.cc#newcode1555 gpu/config/gpu_driver_bug_list_json.cc:1555: ...
5 years, 2 months ago (2015-10-01 19:55:30 UTC) #10
ericrk
https://codereview.chromium.org/1374043005/diff/140001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/1374043005/diff/140001/gpu/config/gpu_driver_bug_list_json.cc#newcode1555 gpu/config/gpu_driver_bug_list_json.cc:1555: ] On 2015/10/01 19:55:30, Zhenyao Mo wrote: > You ...
5 years, 2 months ago (2015-10-01 20:58:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374043005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374043005/180001
5 years, 2 months ago (2015-10-01 21:00:17 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/48406) win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, ...
5 years, 2 months ago (2015-10-01 21:06:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374043005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374043005/180001
5 years, 2 months ago (2015-10-01 21:11:44 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:180001)
5 years, 2 months ago (2015-10-01 22:19:07 UTC) #22
commit-bot: I haz the power
5 years, 2 months ago (2015-10-01 22:20:13 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ed27437d3a0a58534dd6cb877b18d2d60d1d21fe
Cr-Commit-Position: refs/heads/master@{#351904}

Powered by Google App Engine
This is Rietveld 408576698