OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "cc/test/test_gles2_interface.h" | 5 #include "cc/test/test_gles2_interface.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "cc/test/test_web_graphics_context_3d.h" | 8 #include "cc/test/test_web_graphics_context_3d.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 } | 219 } |
220 | 220 |
221 void TestGLES2Interface::TexParameteri(GLenum target, | 221 void TestGLES2Interface::TexParameteri(GLenum target, |
222 GLenum pname, | 222 GLenum pname, |
223 GLint param) { | 223 GLint param) { |
224 test_context_->texParameteri(target, pname, param); | 224 test_context_->texParameteri(target, pname, param); |
225 } | 225 } |
226 | 226 |
227 void TestGLES2Interface::AsyncTexImage2DCHROMIUM(GLenum target, | 227 void TestGLES2Interface::AsyncTexImage2DCHROMIUM(GLenum target, |
228 GLint level, | 228 GLint level, |
229 GLint internalformat, | 229 GLenum internalformat, |
230 GLsizei width, | 230 GLsizei width, |
231 GLsizei height, | 231 GLsizei height, |
232 GLint border, | 232 GLint border, |
233 GLenum format, | 233 GLenum format, |
234 GLenum type, | 234 GLenum type, |
235 const void* pixels) { | 235 const void* pixels) { |
236 test_context_->asyncTexImage2DCHROMIUM(target, | 236 test_context_->asyncTexImage2DCHROMIUM(target, |
237 level, | 237 level, |
238 internalformat, | 238 internalformat, |
239 width, | 239 width, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 GLuint height, | 369 GLuint height, |
370 float device_scale) { | 370 float device_scale) { |
371 test_context_->reshapeWithScaleFactor(width, height, device_scale); | 371 test_context_->reshapeWithScaleFactor(width, height, device_scale); |
372 } | 372 } |
373 | 373 |
374 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) { | 374 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) { |
375 test_context_->loseContextCHROMIUM(current, other); | 375 test_context_->loseContextCHROMIUM(current, other); |
376 } | 376 } |
377 | 377 |
378 } // namespace cc | 378 } // namespace cc |
OLD | NEW |