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

Side by Side Diff: ui/gfx/ozone/impl/software_surface_factory_ozone.h

Issue 47213009: Add callbacks to register EGL bindings from Ozone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ui/gfx/ozone/impl/file_surface_factory_ozone.cc ('k') | ui/gfx/ozone/impl/software_surface_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698