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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 2289553002: gpu: Introduce GpuInit. (Closed)
Patch Set: . Created 4 years, 3 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 | « no previous file | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index 70aace9fac776dfc74e0de1823d351f58d867312..a9208170ea5d7e5030d810fb5c67b8e940f62bd5 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -25,6 +25,7 @@
#include "gpu/ipc/service/gpu_channel_manager.h"
#include "gpu/ipc/service/gpu_channel_manager_delegate.h"
#include "gpu/ipc/service/gpu_config.h"
+#include "gpu/ipc/service/gpu_init_delegate.h"
#include "gpu/ipc/service/x_util.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/shell/public/interfaces/service_factory.mojom.h"
@@ -56,12 +57,10 @@ class GpuChildThread : public ChildThreadImpl,
public gpu::GpuChannelManagerDelegate,
public base::FieldTrialList::Observer {
public:
- typedef std::queue<IPC::Message*> DeferredMessages;
-
GpuChildThread(gpu::GpuWatchdogThread* gpu_watchdog_thread,
bool dead_on_arrival,
const gpu::GPUInfo& gpu_info,
- const DeferredMessages& deferred_messages,
+ std::vector<gpu::GpuInitLogMessage> deferred_messages,
gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory);
GpuChildThread(const gpu::GpuPreferences& gpu_preferences,
@@ -156,7 +155,7 @@ class GpuChildThread : public ChildThreadImpl,
gpu::GPUInfo gpu_info_;
// Error messages collected in gpu_main() before the thread is created.
- DeferredMessages deferred_messages_;
+ std::vector<gpu::GpuInitLogMessage> deferred_messages_;
// Whether the GPU thread is running in the browser process.
bool in_browser_process_;
« no previous file with comments | « no previous file | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698