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

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

Issue 2122573003: media: replace LUMINANCE_F16 by RG_88 for 9/10-bit h264 videos Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: introduce --disable-half-float-conversion-texture flag Created 4 years, 2 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
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 BGR_565, 16 BGR_565,
16 RGBA_4444, 17 RGBA_4444,
17 RGBX_8888, 18 RGBX_8888,
18 RGBA_8888, 19 RGBA_8888,
19 BGRX_8888, 20 BGRX_8888,
20 BGRA_8888, 21 BGRA_8888,
21 YVU_420, 22 YVU_420,
22 YUV_420_BIPLANAR, 23 YUV_420_BIPLANAR,
23 UYVY_422, 24 UYVY_422,
24 25
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // gfx::GpuMemoryBufferHandle 68 // gfx::GpuMemoryBufferHandle
68 struct GpuMemoryBufferHandle { 69 struct GpuMemoryBufferHandle {
69 GpuMemoryBufferType type; 70 GpuMemoryBufferType type;
70 GpuMemoryBufferId id; 71 GpuMemoryBufferId id;
71 handle shared_memory_handle; 72 handle shared_memory_handle;
72 uint32 offset; 73 uint32 offset;
73 uint32 stride; 74 uint32 stride;
74 NativePixmapHandle? native_pixmap_handle; 75 NativePixmapHandle? native_pixmap_handle;
75 // TODO: Add support for mach_port on mac. 76 // TODO: Add support for mach_port on mac.
76 }; 77 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698