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

Side by Side Diff: ui/gfx/mojo/buffer_types.mojom

Issue 2295923002: gfx: Struct traits for GpuMemoryBufferId and GpuMemoryBufferType. (Closed)
Patch Set: fix build Created 4 years, 3 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 | « services/ui/ws/gpu_service_proxy.cc ('k') | ui/gfx/mojo/buffer_types.typemap » ('j') | 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 module gfx.mojom; 5 module gfx.mojom;
6 6
7 // gfx::BufferFormat 7 // gfx::BufferFormat
8 enum BufferFormat { 8 enum BufferFormat {
9 ATC, 9 ATC,
10 ATCIA, 10 ATCIA,
(...skipping 16 matching lines...) Expand all
27 27
28 // gfx::BufferUsage 28 // gfx::BufferUsage
29 enum BufferUsage { 29 enum BufferUsage {
30 GPU_READ, 30 GPU_READ,
31 SCANOUT, 31 SCANOUT,
32 GPU_READ_CPU_READ_WRITE, 32 GPU_READ_CPU_READ_WRITE,
33 GPU_READ_CPU_READ_WRITE_PERSISTENT, 33 GPU_READ_CPU_READ_WRITE_PERSISTENT,
34 34
35 LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT 35 LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT
36 }; 36 };
37
38 // gfx::GpuMemoryBufferType
39 enum GpuMemoryBufferType {
40 EMPTY_BUFFER,
41 SHARED_MEMORY_BUFFER,
42 IO_SURFACE_BUFFER,
43 SURFACE_TEXTURE_BUFFER,
44 OZONE_NATIVE_PIXMAP,
45 LAST = OZONE_NATIVE_PIXMAP
46 };
47
48 // gfx::GpuMemoryBufferId
49 struct GpuMemoryBufferId {
50 int32 id;
51 };
OLDNEW
« no previous file with comments | « services/ui/ws/gpu_service_proxy.cc ('k') | ui/gfx/mojo/buffer_types.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698