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

Unified Diff: ui/gfx/gpu_memory_buffer.cc

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

Powered by Google App Engine
This is Rietveld 408576698