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

Unified Diff: gpu/ipc/service/gpu_channel_manager.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/ipc/in_process_command_buffer.cc ('k') | gpu/ipc/service/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_channel_manager.h
diff --git a/gpu/ipc/service/gpu_channel_manager.h b/gpu/ipc/service/gpu_channel_manager.h
index 70a10e4f70b2c41f65ab7dfafceec67f118c2083..5ca1c677505101712dc0893098e36a69aa51cde5 100644
--- a/gpu/ipc/service/gpu_channel_manager.h
+++ b/gpu/ipc/service/gpu_channel_manager.h
@@ -20,6 +20,7 @@
#include "gpu/command_buffer/common/constants.h"
#include "gpu/command_buffer/service/gpu_preferences.h"
#include "gpu/config/gpu_driver_bug_workarounds.h"
+#include "gpu/config/gpu_feature_info.h"
#include "gpu/gpu_export.h"
#include "gpu/ipc/service/gpu_memory_manager.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -71,7 +72,8 @@ class GPU_EXPORT GpuChannelManager {
base::SingleThreadTaskRunner* io_task_runner,
base::WaitableEvent* shutdown_event,
SyncPointManager* sync_point_manager,
- GpuMemoryBufferFactory* gpu_memory_buffer_factory);
+ GpuMemoryBufferFactory* gpu_memory_buffer_factory,
+ const GpuFeatureInfo& gpu_feature_info);
virtual ~GpuChannelManager();
GpuChannelManagerDelegate* delegate() const { return delegate_; }
@@ -103,6 +105,7 @@ class GPU_EXPORT GpuChannelManager {
const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds() const {
return gpu_driver_bug_workarounds_;
}
+ const GpuFeatureInfo& gpu_feature_info() const { return gpu_feature_info_; }
gles2::ProgramCache* program_cache();
gles2::ShaderTranslatorCache* shader_translator_cache();
gles2::FramebufferCompletenessCache* framebuffer_completeness_cache();
@@ -192,6 +195,7 @@ class GPU_EXPORT GpuChannelManager {
framebuffer_completeness_cache_;
scoped_refptr<gl::GLSurface> default_offscreen_surface_;
GpuMemoryBufferFactory* const gpu_memory_buffer_factory_;
+ GpuFeatureInfo gpu_feature_info_;
#if defined(OS_ANDROID)
// Last time we know the GPU was powered on. Global for tracking across all
// transport surfaces.
« no previous file with comments | « gpu/ipc/in_process_command_buffer.cc ('k') | gpu/ipc/service/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698