Index: content/common/gpu/gpu_memory_buffer_factory_ozone.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory_ozone.cc b/content/common/gpu/gpu_memory_buffer_factory_ozone.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e7dd2235ea26976c098e006465125bbfb4c7d1a |
--- /dev/null |
+++ b/content/common/gpu/gpu_memory_buffer_factory_ozone.cc |
@@ -0,0 +1,34 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "content/common/gpu/gpu_memory_buffer_factory.h" |
+ |
+namespace content { |
+ |
+// static |
+void GpuMemoryBufferFactory::Initialize() { |
+} |
+ |
+// static |
+bool GpuMemoryBufferFactory::CreateGpuMemoryBuffer( |
+ const gfx::GpuMemoryBufferHandle& handle, |
+ const gfx::Size& size, |
+ unsigned internalformat, |
+ unsigned usage) { |
+ return false; |
+} |
+ |
+// static |
+void GpuMemoryBufferFactory::DestroyGpuMemoryBuffer( |
+ const gfx::GpuMemoryBufferHandle& handle) { |
+} |
+ |
+// static |
+bool GpuMemoryBufferFactory::RequestAccessToGpuMemoryBuffer( |
+ const gfx::GpuMemoryBufferHandle& handle, |
+ int client_id) { |
+ return true; |
+} |
+ |
+} // namespace content |