OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 UI_GFX_OZONE_IMPL_SOFTWARE_SURFACE_FACTORY_OZONE_H_ | 5 #ifndef UI_GFX_OZONE_IMPL_SOFTWARE_SURFACE_FACTORY_OZONE_H_ |
6 #define UI_GFX_OZONE_IMPL_SOFTWARE_SURFACE_FACTORY_OZONE_H_ | 6 #define UI_GFX_OZONE_IMPL_SOFTWARE_SURFACE_FACTORY_OZONE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "ui/gfx/ozone/surface_factory_ozone.h" | 9 #include "ui/gfx/ozone/surface_factory_ozone.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 SoftwareSurfaceFactoryOzone(); | 22 SoftwareSurfaceFactoryOzone(); |
23 virtual ~SoftwareSurfaceFactoryOzone(); | 23 virtual ~SoftwareSurfaceFactoryOzone(); |
24 | 24 |
25 virtual HardwareState InitializeHardware() OVERRIDE; | 25 virtual HardwareState InitializeHardware() OVERRIDE; |
26 virtual void ShutdownHardware() OVERRIDE; | 26 virtual void ShutdownHardware() OVERRIDE; |
27 | 27 |
28 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 28 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
29 virtual gfx::AcceleratedWidget RealizeAcceleratedWidget( | 29 virtual gfx::AcceleratedWidget RealizeAcceleratedWidget( |
30 gfx::AcceleratedWidget w) OVERRIDE; | 30 gfx::AcceleratedWidget w) OVERRIDE; |
31 | 31 |
32 virtual bool LoadEGLGLES2Bindings() OVERRIDE; | 32 virtual bool LoadEGLGLES2Bindings( |
| 33 AddGLLibraryCallback add_gl_library, |
| 34 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE; |
33 | 35 |
34 virtual bool AttemptToResizeAcceleratedWidget( | 36 virtual bool AttemptToResizeAcceleratedWidget( |
35 gfx::AcceleratedWidget w, | 37 gfx::AcceleratedWidget w, |
36 const gfx::Rect& bounds) OVERRIDE; | 38 const gfx::Rect& bounds) OVERRIDE; |
37 | 39 |
38 virtual bool SchedulePageFlip(gfx::AcceleratedWidget w) OVERRIDE; | 40 virtual bool SchedulePageFlip(gfx::AcceleratedWidget w) OVERRIDE; |
39 | 41 |
40 virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w) OVERRIDE; | 42 virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w) OVERRIDE; |
41 | 43 |
42 virtual gfx::VSyncProvider* GetVSyncProvider( | 44 virtual gfx::VSyncProvider* GetVSyncProvider( |
(...skipping 22 matching lines...) Expand all Loading... |
65 // Active output. | 67 // Active output. |
66 scoped_ptr<HardwareDisplayControllerOzone> controller_; | 68 scoped_ptr<HardwareDisplayControllerOzone> controller_; |
67 | 69 |
68 | 70 |
69 DISALLOW_COPY_AND_ASSIGN(SoftwareSurfaceFactoryOzone); | 71 DISALLOW_COPY_AND_ASSIGN(SoftwareSurfaceFactoryOzone); |
70 }; | 72 }; |
71 | 73 |
72 } // namespace gfx | 74 } // namespace gfx |
73 | 75 |
74 #endif // UI_GFX_OZONE_IMPL_SOFTWARE_SURFACE_FACTORY_OZONE_H_ | 76 #endif // UI_GFX_OZONE_IMPL_SOFTWARE_SURFACE_FACTORY_OZONE_H_ |
OLD | NEW |