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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 .WillByDefault(Invoke( | 153 .WillByDefault(Invoke( |
154 this, &MockCommandBufferBase::FlushHelper)); | 154 this, &MockCommandBufferBase::FlushHelper)); |
155 } | 155 } |
156 | 156 |
157 MockClientGpuControl::MockClientGpuControl() { | 157 MockClientGpuControl::MockClientGpuControl() { |
158 } | 158 } |
159 | 159 |
160 MockClientGpuControl::~MockClientGpuControl() { | 160 MockClientGpuControl::~MockClientGpuControl() { |
161 } | 161 } |
162 | 162 |
| 163 int32_t MockClientGpuControl::CreateImage(ClientBuffer* const buffers, |
| 164 size_t width, size_t height, |
| 165 unsigned internalformat) { |
| 166 return DoCreateImage(); |
| 167 } |
| 168 |
163 } // namespace gpu | 169 } // namespace gpu |
164 | 170 |
165 | 171 |
OLD | NEW |