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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 1417363006: ui: Add support for creating GLImage instances from shared memory pools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usage-rename
Patch Set: windows build fix Created 5 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/gpu_memory_buffer.h
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index 72ff1d26704eeed8cb9e9a4b4bcd68be897b0d5a..f26a966e63e06627d5fab707f00bdfcbe578e919 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -38,6 +38,7 @@ struct GFX_EXPORT GpuMemoryBufferHandle {
GpuMemoryBufferType type;
GpuMemoryBufferId id;
base::SharedMemoryHandle handle;
+ off_t offset;
piman 2015/10/26 16:17:50 I think I would prefer a well-defined-sized type f
reveman 2015/10/26 17:25:34 Makes sense. I changed to uint32_t in latest patch
#if defined(USE_OZONE)
NativePixmapHandle native_pixmap_handle;
#endif

Powered by Google App Engine
This is Rietveld 408576698