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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: cleanup Created 3 years, 11 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: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index f8337d4fbc2a35bb336a03d539036cf440630bea..dbb4ca38b01c6076186a442f0661e18ea975c019 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -20,6 +20,7 @@
#include "build/build_config.h"
#include "content/child/child_thread_impl.h"
#include "gpu/command_buffer/service/gpu_preferences.h"
+#include "gpu/config/gpu_feature_status.h"
#include "gpu/config/gpu_info.h"
#include "gpu/ipc/service/gpu_channel.h"
#include "gpu/ipc/service/gpu_channel_manager.h"
@@ -67,11 +68,13 @@ class GpuChildThread : public ChildThreadImpl,
GpuChildThread(std::unique_ptr<gpu::GpuWatchdogThread> gpu_watchdog_thread,
bool dead_on_arrival,
const gpu::GPUInfo& gpu_info,
+ const gpu::GPUFeatureStatus& gpu_feature_status,
const DeferredMessages& deferred_messages,
gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory);
GpuChildThread(const InProcessChildThreadParams& params,
const gpu::GPUInfo& gpu_info,
+ const gpu::GPUFeatureStatus& gpu_feature_status,
gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory);
~GpuChildThread() override;
@@ -159,6 +162,9 @@ class GpuChildThread : public ChildThreadImpl,
// Information about the GPU, such as device and vendor ID.
gpu::GPUInfo gpu_info_;
+ // The status of each GPU feature enumerated in gpu::GpuFeatureType.
+ gpu::GPUFeatureStatus gpu_feature_status_;
+
// Error messages collected in gpu_main() before the thread is created.
DeferredMessages deferred_messages_;

Powered by Google App Engine
This is Rietveld 408576698