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

Unified Diff: content/common/gpu/client/gpu_channel_host.cc

Issue 458313002: Browser side OZONE_NATIVE_BUFFER allocation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more ifdefs Created 6 years, 4 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: content/common/gpu/client/gpu_channel_host.cc
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
index 492e6965b77bcc7f23fbbd9baea1050d9a5d418c..c3e6f8a4cfdb2d5cc363de913513736b1c6111a3 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -304,6 +304,8 @@ gfx::GpuMemoryBufferHandle GpuChannelHost::ShareGpuMemoryBufferToGpuProcess(
handle.handle = ShareToGpuProcess(source_handle.handle);
return handle;
}
+ case gfx::OZONE_NATIVE_BUFFER:
reveman 2014/08/11 19:43:05 ifdef OZONE missing?
achaulk 2014/08/12 19:03:56 Done.
+ return source_handle;
#if defined(OS_MACOSX)
case gfx::IO_SURFACE_BUFFER:
return source_handle;

Powered by Google App Engine
This is Rietveld 408576698