We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / gpu / command_buffer / common / command_buffer_mock.cc
bloba64dc452c32de95560324add315b14153dadf8ea
1 // Copyright (c) 2011 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 "gpu/command_buffer/common/command_buffer_mock.h"
7 namespace gpu {
9 MockCommandBuffer::MockCommandBuffer() {
10 ON_CALL(*this, GetTransferBuffer(testing::_))
11 .WillByDefault(testing::Return(scoped_refptr<gpu::Buffer>()));
14 MockCommandBuffer::~MockCommandBuffer() {}
16 } // namespace gpu