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

Side by Side Diff: ui/ozone/platform/wayland/wayland_surface_factory.cc

Issue 2185863002: ozone/platform/wayland: Fix CreateNativePixmapFromHandle prototype (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « ui/ozone/platform/wayland/wayland_surface_factory.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmap( 175 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmap(
176 gfx::AcceleratedWidget widget, 176 gfx::AcceleratedWidget widget,
177 gfx::Size size, 177 gfx::Size size,
178 gfx::BufferFormat format, 178 gfx::BufferFormat format,
179 gfx::BufferUsage usage) { 179 gfx::BufferUsage usage) {
180 NOTIMPLEMENTED(); 180 NOTIMPLEMENTED();
181 return nullptr; 181 return nullptr;
182 } 182 }
183 183
184 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmapFromHandle( 184 scoped_refptr<NativePixmap> WaylandSurfaceFactory::CreateNativePixmapFromHandle(
185 gfx::AcceleratedWidget widget,
185 gfx::Size size, 186 gfx::Size size,
186 gfx::BufferFormat format, 187 gfx::BufferFormat format,
187 const gfx::NativePixmapHandle& handle) { 188 const gfx::NativePixmapHandle& handle) {
188 NOTIMPLEMENTED(); 189 NOTIMPLEMENTED();
189 return nullptr; 190 return nullptr;
190 } 191 }
191 192
192 } // namespace ui 193 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/wayland/wayland_surface_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698