Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: gpu/command_buffer/common/command_buffer_mock.cc

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added gpu namespace for gles2_conform_support/egl/display.cc Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/common/command_buffer_mock.h" 5 #include "gpu/command_buffer/common/command_buffer_mock.h"
6 6
7 namespace gpu { 7 namespace gpu {
8 8
9 MockCommandBuffer::MockCommandBuffer() { 9 MockCommandBuffer::MockCommandBuffer()
10 : CommandBufferServiceBase(kCommandBufferNamespace_InProcess, 0) {
10 ON_CALL(*this, GetTransferBuffer(testing::_)) 11 ON_CALL(*this, GetTransferBuffer(testing::_))
11 .WillByDefault(testing::Return(scoped_refptr<gpu::Buffer>())); 12 .WillByDefault(testing::Return(scoped_refptr<gpu::Buffer>()));
12 } 13 }
13 14
14 MockCommandBuffer::~MockCommandBuffer() {} 15 MockCommandBuffer::~MockCommandBuffer() {}
15 16
16 } // namespace gpu 17 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698