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

Side by Side Diff: ui/ozone/platform/dri/dri_surface_factory.h

Issue 275263002: [wip] ozonex: X11 backend for ozone. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 6 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
« no previous file with comments | « ui/ozone/ozone_platform.cc ('k') | ui/ozone/platform/dri/dri_surface_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_
6 #define UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_ 6 #define UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 21 matching lines...) Expand all
32 public: 32 public:
33 static const gfx::AcceleratedWidget kDefaultWidgetHandle; 33 static const gfx::AcceleratedWidget kDefaultWidgetHandle;
34 34
35 DriSurfaceFactory(DriWrapper* drm, ScreenManager* screen_manager); 35 DriSurfaceFactory(DriWrapper* drm, ScreenManager* screen_manager);
36 virtual ~DriSurfaceFactory(); 36 virtual ~DriSurfaceFactory();
37 37
38 // SurfaceFactoryOzone overrides: 38 // SurfaceFactoryOzone overrides:
39 virtual HardwareState InitializeHardware() OVERRIDE; 39 virtual HardwareState InitializeHardware() OVERRIDE;
40 virtual void ShutdownHardware() OVERRIDE; 40 virtual void ShutdownHardware() OVERRIDE;
41 41
42 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; 42 virtual intptr_t CreatePlatformWindow(ui::PlatformWindowDelegate*) OVERRIDE;
43 43
44 virtual scoped_ptr<gfx::SurfaceOzoneCanvas> CreateCanvasForWidget( 44 virtual scoped_ptr<gfx::SurfaceOzoneCanvas> CreateCanvasForWidget(
45 gfx::AcceleratedWidget w) OVERRIDE; 45 gfx::AcceleratedWidget w) OVERRIDE;
46 46
47 virtual bool LoadEGLGLES2Bindings( 47 virtual bool LoadEGLGLES2Bindings(
48 AddGLLibraryCallback add_gl_library, 48 AddGLLibraryCallback add_gl_library,
49 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE; 49 SetGLGetProcAddressProcCallback set_gl_get_proc_address) OVERRIDE;
50 50
51 gfx::Size GetWidgetSize(gfx::AcceleratedWidget w); 51 gfx::Size GetWidgetSize(gfx::AcceleratedWidget w);
52 52
(...skipping 23 matching lines...) Expand all
76 76
77 SkBitmap cursor_bitmap_; 77 SkBitmap cursor_bitmap_;
78 gfx::Point cursor_location_; 78 gfx::Point cursor_location_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory); 80 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory);
81 }; 81 };
82 82
83 } // namespace ui 83 } // namespace ui
84 84
85 #endif // UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_ 85 #endif // UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/ozone/ozone_platform.cc ('k') | ui/ozone/platform/dri/dri_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698