| Index: content/browser/compositor/gpu_process_transport_factory.h
|
| diff --git a/content/browser/compositor/gpu_process_transport_factory.h b/content/browser/compositor/gpu_process_transport_factory.h
|
| index 0bd5c05411c4e1e054f6c87118ae32d9846e9f60..4131dc9a49c3db00575dd4403c237456a4e9968a 100644
|
| --- a/content/browser/compositor/gpu_process_transport_factory.h
|
| +++ b/content/browser/compositor/gpu_process_transport_factory.h
|
| @@ -15,6 +15,10 @@
|
| #include "content/browser/compositor/image_transport_factory.h"
|
| #include "ui/compositor/compositor.h"
|
|
|
| +namespace base {
|
| +class Thread;
|
| +}
|
| +
|
| namespace content {
|
| class BrowserCompositorOutputSurface;
|
| class BrowserCompositorOutputSurfaceProxy;
|
| @@ -47,6 +51,7 @@ class GpuProcessTransportFactory
|
| SharedMainThreadContextProvider() OVERRIDE;
|
| virtual bool DoesCreateTestContexts() OVERRIDE;
|
| virtual cc::SharedBitmapManager* GetSharedBitmapManager() OVERRIDE;
|
| + virtual base::MessageLoopProxy* GetCompositorMessageLoop() OVERRIDE;
|
|
|
| // ImageTransportFactory implementation.
|
| virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() OVERRIDE;
|
| @@ -66,6 +71,7 @@ class GpuProcessTransportFactory
|
| void OnLostMainThreadSharedContext();
|
|
|
| typedef std::map<ui::Compositor*, PerCompositorData*> PerCompositorDataMap;
|
| + scoped_ptr<base::Thread> compositor_thread_;
|
| PerCompositorDataMap per_compositor_data_;
|
| scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_;
|
| scoped_ptr<GLHelper> gl_helper_;
|
|
|