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

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

Issue 2636433003: [NotForReview] Enable YUV video overlay on Skylake ChromeOS.
Patch Set: Created 3 years, 11 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/buffer_types.h ('k') | ui/gfx/mojo/buffer_types_traits.h » ('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,
11 DXT1, 11 DXT1,
12 DXT5, 12 DXT5,
13 ETC1, 13 ETC1,
14 R_8, 14 R_8,
15 RG_88, 15 RG_88,
16 BGR_565, 16 BGR_565,
17 RGBA_4444, 17 RGBA_4444,
18 RGBX_8888, 18 RGBX_8888,
19 RGBA_8888, 19 RGBA_8888,
20 BGRX_8888, 20 BGRX_8888,
21 BGRA_8888, 21 BGRA_8888,
22 YVU_420, 22 YVU_420,
23 YUV_420_BIPLANAR, 23 YUV_420_BIPLANAR,
24 UYVY_422, 24 UYVY_422,
25 YUYV_422,
25 26
26 LAST = UYVY_422 27 LAST = YUYV_422
27 }; 28 };
28 29
29 // gfx::BufferUsage 30 // gfx::BufferUsage
30 enum BufferUsage { 31 enum BufferUsage {
31 GPU_READ, 32 GPU_READ,
32 SCANOUT, 33 SCANOUT,
33 GPU_READ_CPU_READ_WRITE, 34 GPU_READ_CPU_READ_WRITE,
34 GPU_READ_CPU_READ_WRITE_PERSISTENT, 35 GPU_READ_CPU_READ_WRITE_PERSISTENT,
35 36
36 LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT 37 LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // gfx::GpuMemoryBufferHandle 70 // gfx::GpuMemoryBufferHandle
70 struct GpuMemoryBufferHandle { 71 struct GpuMemoryBufferHandle {
71 GpuMemoryBufferType type; 72 GpuMemoryBufferType type;
72 GpuMemoryBufferId id; 73 GpuMemoryBufferId id;
73 handle? shared_memory_handle; 74 handle? shared_memory_handle;
74 uint32 offset; 75 uint32 offset;
75 uint32 stride; 76 uint32 stride;
76 NativePixmapHandle? native_pixmap_handle; 77 NativePixmapHandle? native_pixmap_handle;
77 handle? mach_port; 78 handle? mach_port;
78 }; 79 };
OLDNEW
« no previous file with comments | « ui/gfx/buffer_types.h ('k') | ui/gfx/mojo/buffer_types_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698