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

Unified Diff: gpu/command_buffer/service/context_group.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
« no previous file with comments | « gpu/command_buffer/service/context_group.h ('k') | gpu/command_buffer/service/context_group_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_group.cc
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc
index 291763b0f40c595160674c398c9e30bea742a158..06c1882b467a2124c25ad5a7354c44a6bd8acf4f 100644
--- a/gpu/command_buffer/service/context_group.cc
+++ b/gpu/command_buffer/service/context_group.cc
@@ -67,7 +67,8 @@ ContextGroup::ContextGroup(
const scoped_refptr<FeatureInfo>& feature_info,
bool bind_generates_resource,
gpu::ImageFactory* image_factory,
- ProgressReporter* progress_reporter)
+ ProgressReporter* progress_reporter,
+ const GpuFeatureInfo& gpu_feature_info)
: gpu_preferences_(gpu_preferences),
mailbox_manager_(mailbox_manager),
memory_tracker_(memory_tracker),
@@ -106,7 +107,8 @@ ContextGroup::ContextGroup(
feature_info_(feature_info),
image_factory_(image_factory),
passthrough_resources_(new PassthroughResources),
- progress_reporter_(progress_reporter) {
+ progress_reporter_(progress_reporter),
+ gpu_feature_info_(gpu_feature_info) {
{
DCHECK(feature_info_);
if (!mailbox_manager_.get())
« no previous file with comments | « gpu/command_buffer/service/context_group.h ('k') | gpu/command_buffer/service/context_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698