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

Unified Diff: ui/gfx/mojo/buffer_types.mojom

Issue 2970353002: Add GpuMemoryBuffer support for DXGI handles.
Patch Set: update build config Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/gpu_memory_buffer.cc ('k') | ui/gfx/mojo/buffer_types_struct_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types.mojom
diff --git a/ui/gfx/mojo/buffer_types.mojom b/ui/gfx/mojo/buffer_types.mojom
index 29c50d5417934e37afbc121ddfe1ecd4ce44b5cc..7614c05cd678a648fcf96d44ce66576c66762789 100644
--- a/ui/gfx/mojo/buffer_types.mojom
+++ b/ui/gfx/mojo/buffer_types.mojom
@@ -45,7 +45,8 @@ enum GpuMemoryBufferType {
SHARED_MEMORY_BUFFER,
IO_SURFACE_BUFFER,
NATIVE_PIXMAP,
- LAST = NATIVE_PIXMAP
+ DXGI_HANDLE,
+ LAST = DXGI_HANDLE
};
// gfx::GpuMemoryBufferId
@@ -78,4 +79,6 @@ struct GpuMemoryBufferHandle {
uint32 stride;
NativePixmapHandle? native_pixmap_handle;
handle? mach_port;
+ handle? win32_handle;
+ uint32 array_level;
};
« no previous file with comments | « ui/gfx/gpu_memory_buffer.cc ('k') | ui/gfx/mojo/buffer_types_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698