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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 1263323004: Add NativePixmapHandle type & interface for exporting them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cast build Created 5 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/gfx.gyp ('k') | ui/gfx/ipc/gfx_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_memory_buffer.h
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index 1234dc2f27256662501e83c9fde40e79faff2b63..40bd41a49cc87e9669c0c9caf3fd695d2f8c341d 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -12,6 +12,10 @@
#include "ui/gfx/generic_shared_memory_id.h"
#include "ui/gfx/gfx_export.h"
+#if defined(USE_OZONE)
+#include "ui/gfx/native_pixmap_handle_ozone.h"
+#endif
+
extern "C" typedef struct _ClientBuffer* ClientBuffer;
namespace gfx {
@@ -33,6 +37,9 @@ struct GFX_EXPORT GpuMemoryBufferHandle {
GpuMemoryBufferType type;
GpuMemoryBufferId id;
base::SharedMemoryHandle handle;
+#if defined(USE_OZONE)
+ NativePixmapHandle native_pixmap_handle;
+#endif
};
base::trace_event::MemoryAllocatorDumpGuid GFX_EXPORT
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/ipc/gfx_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698