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 "ui/ozone/platform/wayland/wayland_surface_factory.h" | 5 #include "ui/ozone/platform/wayland/wayland_surface_factory.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <sys/mman.h> | 8 #include <sys/mman.h> |
9 #include <wayland-client.h> | 9 #include <wayland-client.h> |
10 | 10 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmap( | 153 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmap( |
154 gfx::AcceleratedWidget widget, | 154 gfx::AcceleratedWidget widget, |
155 gfx::Size size, | 155 gfx::Size size, |
156 gfx::BufferFormat format, | 156 gfx::BufferFormat format, |
157 gfx::BufferUsage usage) { | 157 gfx::BufferUsage usage) { |
158 NOTIMPLEMENTED(); | 158 NOTIMPLEMENTED(); |
159 return nullptr; | 159 return nullptr; |
160 } | 160 } |
161 | 161 |
162 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmapFromHandle( | 162 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmapFromHandle( |
| 163 gfx::Size size, |
| 164 gfx::BufferFormat format, |
163 const gfx::NativePixmapHandle& handle) { | 165 const gfx::NativePixmapHandle& handle) { |
164 NOTIMPLEMENTED(); | 166 NOTIMPLEMENTED(); |
165 return nullptr; | 167 return nullptr; |
166 } | 168 } |
167 | 169 |
168 } // namespace ui | 170 } // namespace ui |
OLD | NEW |