summaryrefslogtreecommitdiffstats
path: root/content/common/child_process_host_impl.cc
diff options
context:
space:
mode:
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-06 17:16:54 +0000
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-06 17:16:54 +0000
commitd0eed26269fb7026938db68094e1e30077a044e5 (patch)
tree2971bd9c2bf6339437c729ea29295ce3a7ee8ce9 /content/common/child_process_host_impl.cc
parent9af439a537208fc73a8b513c6f2440606890ad44 (diff)
downloadchromium_src-d0eed26269fb7026938db68094e1e30077a044e5.zip
chromium_src-d0eed26269fb7026938db68094e1e30077a044e5.tar.gz
chromium_src-d0eed26269fb7026938db68094e1e30077a044e5.tar.bz2
Rearrange GLImage API to create them with a usage type
instead of using usage type while mapping the buffer. BUG= Review URL: https://codereview.chromium.org/255713008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_host_impl.cc')
-rw-r--r--content/common/child_process_host_impl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
index 6d6060e..488cdb0 100644
--- a/content/common/child_process_host_impl.cc
+++ b/content/common/child_process_host_impl.cc
@@ -308,6 +308,7 @@ void ChildProcessHostImpl::OnAllocateGpuMemoryBuffer(
uint32 width,
uint32 height,
uint32 internalformat,
+ uint32 usage,
gfx::GpuMemoryBufferHandle* handle) {
handle->type = gfx::SHARED_MEMORY_BUFFER;
AllocateSharedMemory(