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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 5b1d47e31cda0f10a27c5552dc67bc4ce5c94919..da16687c75019322be568caa62c644e56118e56f 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -32,6 +32,9 @@ struct GFX_EXPORT GpuMemoryBufferHandle {
base::SharedMemoryHandle handle;
#if defined(OS_MACOSX)
uint32 io_surface_id;
+#elif defined(USE_OZONE)
+ uint32 stride;
reveman 2015/04/13 00:46:13 GpuMemoryBufferHandle should not be used to pass b
+ base::SharedMemoryHandle device_handle;
reveman 2015/04/13 00:46:13 Just use |handle| instead.
#endif
};

Powered by Google App Engine
This is Rietveld 408576698