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

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

Issue 403043004: [Ozone-DRI] Remove unneeded wrappers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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/platform/dri/dri_surface.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"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "ui/ozone/platform/dri/hardware_cursor_delegate.h" 12 #include "ui/ozone/platform/dri/hardware_cursor_delegate.h"
13 #include "ui/ozone/public/surface_factory_ozone.h" 13 #include "ui/ozone/public/surface_factory_ozone.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 class DriBuffer; 17 class DriBuffer;
18 class DriWrapper; 18 class DriWrapper;
19 class HardwareDisplayController;
20 class ScreenManager; 19 class ScreenManager;
21 class SurfaceOzoneCanvas; 20 class SurfaceOzoneCanvas;
22 21
23 // SurfaceFactoryOzone implementation on top of DRM/KMS using dumb buffers. 22 // SurfaceFactoryOzone implementation on top of DRM/KMS using dumb buffers.
24 // This implementation is used in conjunction with the software rendering 23 // This implementation is used in conjunction with the software rendering
25 // path. 24 // path.
26 class DriSurfaceFactory : public ui::SurfaceFactoryOzone, 25 class DriSurfaceFactory : public ui::SurfaceFactoryOzone,
27 public HardwareCursorDelegate { 26 public HardwareCursorDelegate {
28 public: 27 public:
29 static const gfx::AcceleratedWidget kDefaultWidgetHandle; 28 static const gfx::AcceleratedWidget kDefaultWidgetHandle;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 68
70 SkBitmap cursor_bitmap_; 69 SkBitmap cursor_bitmap_;
71 gfx::Point cursor_location_; 70 gfx::Point cursor_location_;
72 71
73 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory); 72 DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory);
74 }; 73 };
75 74
76 } // namespace ui 75 } // namespace ui
77 76
78 #endif // UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_ 77 #endif // UI_OZONE_PLATFORM_DRI_DRI_SURFACE_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/dri_surface.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