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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 288343004: working copy of "zero_copy" Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 6 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 | « content/content_common.gypi ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_memory_buffer.h
===================================================================
--- ui/gfx/gpu_memory_buffer.h (revision 277402)
+++ ui/gfx/gpu_memory_buffer.h (working copy)
@@ -19,6 +19,7 @@
EMPTY_BUFFER,
SHARED_MEMORY_BUFFER,
IO_SURFACE_BUFFER,
+ DMA_BUFFER,
ANDROID_NATIVE_BUFFER,
SURFACE_TEXTURE_BUFFER,
GPU_MEMORY_BUFFER_TYPE_LAST = SURFACE_TEXTURE_BUFFER
@@ -49,6 +50,8 @@
bool is_null() const { return type == EMPTY_BUFFER; }
GpuMemoryBufferType type;
base::SharedMemoryHandle handle;
+ base::SharedMemoryHandle card_handle;
+ int stride;
GpuMemoryBufferId global_id;
#if defined(OS_MACOSX)
uint32 io_surface_id;
« no previous file with comments | « content/content_common.gypi ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698