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

Side by Side Diff: ui/base/ozone/surface_factory_delegate_ozone.h

Issue 13886018: Add a factory and defines for native Linux surfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vsync provider, better transport_dib, etc. Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_BASE_LINUX_NATIVE_SURFACE_LINUX_FACTORY_DELEGATE_
6 #define UI_BASE_LINUX_NATIVE_SURFACE_LINUX_FACTORY_DELEGATE_
piman 2013/05/18 01:47:19 nit: guard is wrong.
rjkroege 2013/05/21 17:36:28 Done.
7
8 #include "ui/gfx/native_widget_types.h"
9
10 namespace gfx {
11 class VSyncProvider;
12 } // namespace gfx
13
14 namespace ui {
15
16 class SurfaceFactoryDelegate {
17 public:
18 virtual ~SurfaceFactoryDelegate();
19 virtual void InitializeHardware() = 0;
20 virtual void ShutdownHardware() = 0;
21 virtual gfx::AcceleratedWidget GetAcceleratedWidget(
22 const gfx::GLSurfaceHandle& handle) = 0;
23 virtual bool AcceleratedWidgetCanBeResized(gfx::AcceleratedWidget w) = 0;
24 virtual bool LoadEGLGLES2Bindings() = 0;
25 virtual gfx::VSyncProvider* GetVSyncProvider(gfx::AcceleratedWidget w) = 0;
26 };
27
28 } // namespace ui
29
30 #endif // UI_BASE_LINUX_NATIVE_SURFACE_LINUX_FACTORY_DELEGATE_
OLDNEW
« no previous file with comments | « no previous file | ui/base/ozone/surface_factory_delegate_ozone.cc » ('j') | ui/base/ozone/surface_factory_ozone.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698