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

Unified Diff: ui/gfx/gpu_memory_buffer.cc

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.cc
diff --git a/ui/gfx/gpu_memory_buffer.cc b/ui/gfx/gpu_memory_buffer.cc
index da80107bda452458eecc01419db935a595ae0d4a..9c4a369456b56b717dcbc6bbf060f7c143428322 100644
--- a/ui/gfx/gpu_memory_buffer.cc
+++ b/ui/gfx/gpu_memory_buffer.cc
@@ -13,6 +13,10 @@ GpuMemoryBufferHandle::GpuMemoryBufferHandle()
#if defined(OS_MACOSX)
,
io_surface_id(0)
+#elif defined(USE_OZONE)
+ ,
+ stride(0),
+ device_handle(base::SharedMemory::NULLHandle())
#endif
{
}

Powered by Google App Engine
This is Rietveld 408576698