OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
6 #define CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 6 #define CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 public: | 29 public: |
30 GpuProcessTransportFactory(); | 30 GpuProcessTransportFactory(); |
31 | 31 |
32 virtual ~GpuProcessTransportFactory(); | 32 virtual ~GpuProcessTransportFactory(); |
33 | 33 |
34 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> | 34 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> |
35 CreateOffscreenCommandBufferContext(); | 35 CreateOffscreenCommandBufferContext(); |
36 | 36 |
37 // ui::ContextFactory implementation. | 37 // ui::ContextFactory implementation. |
38 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( | 38 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( |
39 ui::Compositor* compositor) OVERRIDE; | 39 ui::Compositor* compositor, bool software_fallback) OVERRIDE; |
40 virtual scoped_refptr<ui::Reflector> CreateReflector( | 40 virtual scoped_refptr<ui::Reflector> CreateReflector( |
41 ui::Compositor* source, | 41 ui::Compositor* source, |
42 ui::Layer* target) OVERRIDE; | 42 ui::Layer* target) OVERRIDE; |
43 virtual void RemoveReflector( | 43 virtual void RemoveReflector( |
44 scoped_refptr<ui::Reflector> reflector) OVERRIDE; | 44 scoped_refptr<ui::Reflector> reflector) OVERRIDE; |
45 virtual void RemoveCompositor(ui::Compositor* compositor) OVERRIDE; | 45 virtual void RemoveCompositor(ui::Compositor* compositor) OVERRIDE; |
46 virtual scoped_refptr<cc::ContextProvider> | 46 virtual scoped_refptr<cc::ContextProvider> |
47 OffscreenCompositorContextProvider() OVERRIDE; | 47 OffscreenCompositorContextProvider() OVERRIDE; |
48 virtual scoped_refptr<cc::ContextProvider> | 48 virtual scoped_refptr<cc::ContextProvider> |
49 SharedMainThreadContextProvider() OVERRIDE; | 49 SharedMainThreadContextProvider() OVERRIDE; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 IDMap<BrowserCompositorOutputSurface> output_surface_map_; | 90 IDMap<BrowserCompositorOutputSurface> output_surface_map_; |
91 | 91 |
92 scoped_refptr<BrowserCompositorOutputSurfaceProxy> output_surface_proxy_; | 92 scoped_refptr<BrowserCompositorOutputSurfaceProxy> output_surface_proxy_; |
93 | 93 |
94 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); | 94 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); |
95 }; | 95 }; |
96 | 96 |
97 } // namespace content | 97 } // namespace content |
98 | 98 |
99 #endif // CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 99 #endif // CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
OLD | NEW |