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

Unified Diff: gpu/command_buffer/service/context_group.h

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/common/capabilities.h ('k') | gpu/command_buffer/service/context_group.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.h
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
index 525bb1e6cc26271868c9eb2165c54284a6d10c4d..51a620168e58a0b5b8782ccea9f89249a3a6baf0 100644
--- a/gpu/command_buffer/service/context_group.h
+++ b/gpu/command_buffer/service/context_group.h
@@ -21,6 +21,7 @@
#include "gpu/command_buffer/service/framebuffer_completeness_cache.h"
#include "gpu/command_buffer/service/gpu_preferences.h"
#include "gpu/command_buffer/service/shader_translator_cache.h"
+#include "gpu/config/gpu_feature_info.h"
#include "gpu/gpu_export.h"
namespace gpu {
@@ -61,7 +62,8 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<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);
// This should only be called by GLES2Decoder. This must be paired with a
// call to destroy if it succeeds.
@@ -227,6 +229,8 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
return passthrough_resources_.get();
}
+ const GpuFeatureInfo& gpu_feature_info() const { return gpu_feature_info_; }
+
private:
friend class base::RefCounted<ContextGroup>;
~ContextGroup();
@@ -302,6 +306,8 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
// using in-process command buffer.
ProgressReporter* progress_reporter_;
+ GpuFeatureInfo gpu_feature_info_;
+
DISALLOW_COPY_AND_ASSIGN(ContextGroup);
};
« no previous file with comments | « gpu/command_buffer/common/capabilities.h ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698