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

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

Issue 2248973005: mojo: Struct traits for gpu buffer types. (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/gfx/mojo/BUILD.gn ('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
(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 gfx.mojom;
6
7 // gfx::BufferFormat
8 enum BufferFormat {
9 ATC,
10 ATCIA,
11 DXT1,
12 DXT5,
13 ETC1,
14 R_8,
15 BGR_565,
16 RGBA_4444,
17 RGBX_8888,
18 RGBA_8888,
19 BGRX_8888,
20 BGRA_8888,
21 YVU_420,
22 YUV_420_BIPLANAR,
23 UYVY_422,
24
25 LAST = UYVY_422
26 };
27
28 // gfx::BufferUsage
29 enum BufferUsage {
30 GPU_READ,
31 SCANOUT,
32 GPU_READ_CPU_READ_WRITE,
33 GPU_READ_CPU_READ_WRITE_PERSISTENT,
34
35 LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT
36 };
OLDNEW
« no previous file with comments | « ui/gfx/mojo/BUILD.gn ('k') | ui/gfx/mojo/buffer_types.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698