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

Side by Side Diff: services/ui/public/interfaces/gpu_memory_buffer.mojom

Issue 2522153002: mus: Remove unused gpu_memory_buffer.mojom (Closed)
Patch Set: Created 4 years 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 | « services/ui/public/interfaces/BUILD.gn ('k') | services/ui/public/interfaces/gpu_service.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 module ui.mojom;
6
7 import "ui/gfx/mojo/buffer_types.mojom";
8
9 struct NativePixmapHandle {
10 // A file descriptor for the underlying memory object (usually dmabuf).
11 handle fd;
12
13 // The stride used when accessing the buffer via a memory mapping.
14 int32 stride;
15 };
16
17
18 struct GpuMemoryBufferHandle {
19 gfx.mojom.GpuMemoryBufferType type;
20 gfx.mojom.GpuMemoryBufferId id;
21 handle buffer_handle;
22 uint32 offset;
23 int32 stride;
24 NativePixmapHandle? native_pixmap_handle;
25 // TODO(fsamuel): Add support for Machports.
26 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/BUILD.gn ('k') | services/ui/public/interfaces/gpu_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698