| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |