| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Tests for GLES2Implementation. | 5 // Tests for GLES2Implementation. |
| 6 | 6 |
| 7 #include "gpu/command_buffer/client/client_test_helper.h" | 7 #include "gpu/command_buffer/client/client_test_helper.h" |
| 8 | 8 |
| 9 #include "gpu/command_buffer/common/command_buffer.h" | 9 #include "gpu/command_buffer/common/command_buffer.h" |
| 10 #include "gpu/command_buffer/client/cmd_buffer_helper.h" | 10 #include "gpu/command_buffer/client/cmd_buffer_helper.h" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 MockClientCommandBufferMockFlush::~MockClientCommandBufferMockFlush() { | 144 MockClientCommandBufferMockFlush::~MockClientCommandBufferMockFlush() { |
| 145 } | 145 } |
| 146 | 146 |
| 147 void MockClientCommandBufferMockFlush::DelegateToFake() { | 147 void MockClientCommandBufferMockFlush::DelegateToFake() { |
| 148 MockClientCommandBuffer::DelegateToFake(); | 148 MockClientCommandBuffer::DelegateToFake(); |
| 149 ON_CALL(*this, Flush(_)) | 149 ON_CALL(*this, Flush(_)) |
| 150 .WillByDefault(Invoke( | 150 .WillByDefault(Invoke( |
| 151 this, &MockCommandBufferBase::FlushHelper)); | 151 this, &MockCommandBufferBase::FlushHelper)); |
| 152 } | 152 } |
| 153 | 153 |
| 154 MockClientGpuControl::MockClientGpuControl() { |
| 155 } |
| 156 |
| 157 MockClientGpuControl::~MockClientGpuControl() { |
| 158 } |
| 159 |
| 154 } // namespace gpu | 160 } // namespace gpu |
| 155 | 161 |
| 156 | 162 |
| OLD | NEW |