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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 121bd0290f1bdd53c1c499f4cc1982cd769fbd6d..638d0c765d2feec14137b36969fb1fd18d2ffadc 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -32,6 +32,8 @@ struct GFX_EXPORT GpuMemoryBufferHandle {
base::SharedMemoryHandle handle;
#if defined(OS_MACOSX)
uint32 io_surface_id;
+#elif defined(USE_OZONE)
+ base::SharedMemoryHandle device_handle;
reveman 2015/05/11 16:40:56 Please use |handle| instead.
dshwang 2015/05/14 12:25:47 |handle| is used for prime fd, and |device_handle|
reveman 2015/05/14 13:22:03 Is the device_handle different for each buffer? If
dshwang 2015/05/14 14:58:15 |device_handle| is kind of singleton. I'll make (C
#endif
};

Powered by Google App Engine
This is Rietveld 408576698