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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 3140d6f55dedf9f0609dc6705a4749d76afa771f..ae85eefa94a521f69270fb8620a67e148c9886d8 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3761,6 +3761,10 @@ Capabilities GLES2DecoderImpl::GetCapabilities() {
query_manager_->GPUTimingAvailable();
caps.disable_multisampling_color_mask_usage =
workarounds().disable_multisampling_color_mask_usage;
+ caps.gpu_rasterization =
+ group_->gpu_feature_info()
+ .status_values[GPU_FEATURE_TYPE_GPU_RASTERIZATION] ==
+ kGpuFeatureStatusEnabled;
caps.disable_webgl_rgb_multisampling_usage =
workarounds().disable_webgl_rgb_multisampling_usage;
caps.emulate_rgb_buffer_with_rgba =
« no previous file with comments | « gpu/command_buffer/service/context_group_unittest.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698