Add 'did_proceed' and 'repeat_visit' to ClientMalwareReportRequest to track CTR.
[chromium-blink-merge.git] / components / mus / gles2 / mojo_gpu_memory_buffer_manager.cc
bloba48594fb10fe5741916c6eb27a66ba688a30e3da
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/mus/gles2/mojo_gpu_memory_buffer_manager.h"
7 #include "base/logging.h"
8 #include "components/mus/gles2/mojo_gpu_memory_buffer.h"
10 namespace mus {
12 MojoGpuMemoryBufferManager::MojoGpuMemoryBufferManager() {}
14 MojoGpuMemoryBufferManager::~MojoGpuMemoryBufferManager() {}
16 scoped_ptr<gfx::GpuMemoryBuffer>
17 MojoGpuMemoryBufferManager::AllocateGpuMemoryBuffer(const gfx::Size& size,
18 gfx::BufferFormat format,
19 gfx::BufferUsage usage) {
20 return MojoGpuMemoryBufferImpl::Create(size, format, usage);
23 gfx::GpuMemoryBuffer*
24 MojoGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
25 ClientBuffer buffer) {
26 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer);
29 void MojoGpuMemoryBufferManager::SetDestructionSyncPoint(
30 gfx::GpuMemoryBuffer* buffer,
31 uint32 sync_point) {
32 NOTIMPLEMENTED();
35 } // namespace mus