| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "services/ui/gles2/ozone_gpu_memory_buffer.h" | 5 #include "services/ui/surfaces/ozone_gpu_memory_buffer.h" |
| 6 | 6 |
| 7 #include "ui/gfx/buffer_format_util.h" | 7 #include "ui/gfx/buffer_format_util.h" |
| 8 #include "ui/ozone/public/client_native_pixmap.h" | 8 #include "ui/ozone/public/client_native_pixmap.h" |
| 9 #include "ui/ozone/public/client_native_pixmap_factory.h" | 9 #include "ui/ozone/public/client_native_pixmap_factory.h" |
| 10 #include "ui/ozone/public/native_pixmap.h" | 10 #include "ui/ozone/public/native_pixmap.h" |
| 11 #include "ui/ozone/public/ozone_platform.h" | 11 #include "ui/ozone/public/ozone_platform.h" |
| 12 #include "ui/ozone/public/surface_factory_ozone.h" | 12 #include "ui/ozone/public/surface_factory_ozone.h" |
| 13 | 13 |
| 14 namespace ui { | 14 namespace ui { |
| 15 | 15 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 return gfx::OZONE_NATIVE_PIXMAP; | 106 return gfx::OZONE_NATIVE_PIXMAP; |
| 107 } | 107 } |
| 108 | 108 |
| 109 #if defined(USE_OZONE) | 109 #if defined(USE_OZONE) |
| 110 scoped_refptr<ui::NativePixmap> OzoneGpuMemoryBuffer::GetNativePixmap() { | 110 scoped_refptr<ui::NativePixmap> OzoneGpuMemoryBuffer::GetNativePixmap() { |
| 111 return native_pixmap_; | 111 return native_pixmap_; |
| 112 } | 112 } |
| 113 #endif | 113 #endif |
| 114 | 114 |
| 115 } // namespace ui | 115 } // namespace ui |
| OLD | NEW |