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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 186123006: zero copy - NOT FOR REVIEW Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minus ui-map-image and ui-impl-side setting, plus tiled mode Created 6 years, 9 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
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index 3510a911c0493ca3c4781120a3abd0976f78781f..77741c183672c1695e5639e17211503116b8067e 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -19,6 +19,7 @@ enum GpuMemoryBufferType {
EMPTY_BUFFER,
SHARED_MEMORY_BUFFER,
EGL_CLIENT_BUFFER,
+ FOOBAR_BUFFER,
IO_SURFACE_BUFFER,
GPU_MEMORY_BUFFER_TYPE_LAST = IO_SURFACE_BUFFER
};
@@ -33,6 +34,7 @@ struct GpuMemoryBufferHandle {
#if defined(OS_MACOSX)
, io_surface_id(0)
#endif
+ , foobar_id(0)
{
}
bool is_null() const { return type == EMPTY_BUFFER; }
@@ -44,7 +46,7 @@ struct GpuMemoryBufferHandle {
#if defined(OS_MACOSX)
uint32 io_surface_id;
#endif
-
+ uint32 foobar_id;
};
// Interface for creating and accessing a zero-copy GPU memory buffer.
« 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