cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / view_manager / gles2 / mojo_gpu_memory_buffer_manager.cc
blob14d1313f6fe12c3e3c673273c44c7d2df7a51b67
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/view_manager/gles2/mojo_gpu_memory_buffer_manager.h"
7 #include "base/logging.h"
8 #include "components/view_manager/gles2/mojo_gpu_memory_buffer.h"
10 namespace gles2 {
12 MojoGpuMemoryBufferManager::MojoGpuMemoryBufferManager() {
15 MojoGpuMemoryBufferManager::~MojoGpuMemoryBufferManager() {
18 scoped_ptr<gfx::GpuMemoryBuffer>
19 MojoGpuMemoryBufferManager::AllocateGpuMemoryBuffer(const gfx::Size& size,
20 gfx::BufferFormat format,
21 gfx::BufferUsage usage) {
22 return MojoGpuMemoryBufferImpl::Create(size, format, usage);
25 gfx::GpuMemoryBuffer*
26 MojoGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
27 ClientBuffer buffer) {
28 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer);
31 void MojoGpuMemoryBufferManager::SetDestructionSyncPoint(
32 gfx::GpuMemoryBuffer* buffer, uint32 sync_point) {
33 NOTIMPLEMENTED();
36 } // namespace gles2