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

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

Issue 2353453002: ui: Remove SurfaceTexture GpuMemoryBuffer type. (Closed)
Patch Set: ui: Remove SurfaceTexture GpuMemoryBuffer type. 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 | « ui/gfx/gpu_memory_buffer.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,
(...skipping 22 matching lines...) Expand all
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 37
38 // gfx::GpuMemoryBufferType 38 // gfx::GpuMemoryBufferType
39 enum GpuMemoryBufferType { 39 enum GpuMemoryBufferType {
40 EMPTY_BUFFER, 40 EMPTY_BUFFER,
41 SHARED_MEMORY_BUFFER, 41 SHARED_MEMORY_BUFFER,
42 IO_SURFACE_BUFFER, 42 IO_SURFACE_BUFFER,
43 SURFACE_TEXTURE_BUFFER,
44 OZONE_NATIVE_PIXMAP, 43 OZONE_NATIVE_PIXMAP,
45 LAST = OZONE_NATIVE_PIXMAP 44 LAST = OZONE_NATIVE_PIXMAP
46 }; 45 };
47 46
48 // gfx::GpuMemoryBufferId 47 // gfx::GpuMemoryBufferId
49 struct GpuMemoryBufferId { 48 struct GpuMemoryBufferId {
50 int32 id; 49 int32 id;
51 }; 50 };
52 51
53 // gfx::NativePixmapPlane 52 // gfx::NativePixmapPlane
(...skipping 14 matching lines...) Expand all
68 // gfx::GpuMemoryBufferHandle 67 // gfx::GpuMemoryBufferHandle
69 struct GpuMemoryBufferHandle { 68 struct GpuMemoryBufferHandle {
70 GpuMemoryBufferType type; 69 GpuMemoryBufferType type;
71 GpuMemoryBufferId id; 70 GpuMemoryBufferId id;
72 handle shared_memory_handle; 71 handle shared_memory_handle;
73 uint32 offset; 72 uint32 offset;
74 uint32 stride; 73 uint32 stride;
75 NativePixmapHandle? native_pixmap_handle; 74 NativePixmapHandle? native_pixmap_handle;
76 // TODO: Add support for mach_port on mac. 75 // TODO: Add support for mach_port on mac.
77 }; 76 };
OLDNEW
« no previous file with comments | « ui/gfx/gpu_memory_buffer.h ('k') | ui/gfx/mojo/buffer_types_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698