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

Side by Side Diff: ui/ozone/platform/drm/gpu/gbm_buffer.h

Issue 2688623004: Move native_pixmap.h from ui/ozone/public to ui/gfx (Closed)
Patch Set: Rebase Created 3 years, 9 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
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_DRM_GPU_GBM_BUFFER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/scoped_file.h" 10 #include "base/files/scoped_file.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "ui/gfx/buffer_types.h" 12 #include "ui/gfx/buffer_types.h"
13 #include "ui/gfx/geometry/size.h" 13 #include "ui/gfx/geometry/size.h"
14 #include "ui/gfx/native_pixmap.h"
14 #include "ui/ozone/platform/drm/gpu/gbm_buffer_base.h" 15 #include "ui/ozone/platform/drm/gpu/gbm_buffer_base.h"
15 #include "ui/ozone/public/native_pixmap.h"
16 16
17 struct gbm_bo; 17 struct gbm_bo;
18 18
19 namespace ui { 19 namespace ui {
20 20
21 class GbmDevice; 21 class GbmDevice;
22 class GbmSurfaceFactory; 22 class GbmSurfaceFactory;
23 23
24 class GbmBuffer : public GbmBufferBase { 24 class GbmBuffer : public GbmBufferBase {
25 public: 25 public:
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // this Pixmap. This holds the processed buffer. 121 // this Pixmap. This holds the processed buffer.
122 scoped_refptr<GbmPixmap> processed_pixmap_; 122 scoped_refptr<GbmPixmap> processed_pixmap_;
123 ProcessingCallback processing_callback_; 123 ProcessingCallback processing_callback_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(GbmPixmap); 125 DISALLOW_COPY_AND_ASSIGN(GbmPixmap);
126 }; 126 };
127 127
128 } // namespace ui 128 } // namespace ui
129 129
130 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_ 130 #endif // UI_OZONE_PLATFORM_DRM_GPU_GBM_BUFFER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/cast/surface_factory_cast.cc ('k') | ui/ozone/platform/drm/gpu/gbm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698