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

Side by Side Diff: cc/test/test_gles2_interface.cc

Issue 962723002: Change CHROMIUM_image declarations to support multi planar input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reveman@ comments and const-corrected function signatures. Created 5 years, 9 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 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 GLsizei image_size, 303 GLsizei image_size,
304 const void* data) { 304 const void* data) {
305 test_context_->compressedTexImage2D( 305 test_context_->compressedTexImage2D(
306 target, level, internalformat, width, height, border, image_size, data); 306 target, level, internalformat, width, height, border, image_size, data);
307 } 307 }
308 308
309 void TestGLES2Interface::WaitAsyncTexImage2DCHROMIUM(GLenum target) { 309 void TestGLES2Interface::WaitAsyncTexImage2DCHROMIUM(GLenum target) {
310 test_context_->waitAsyncTexImage2DCHROMIUM(target); 310 test_context_->waitAsyncTexImage2DCHROMIUM(target);
311 } 311 }
312 312
313 GLuint TestGLES2Interface::CreateImageCHROMIUM(ClientBuffer buffer, 313 GLuint TestGLES2Interface::CreateImageCHROMIUM(
314 GLsizei width, 314 const ClientBuffer* const buffers,
315 GLsizei height, 315 GLsizei width,
316 GLenum internalformat) { 316 GLsizei height,
317 return test_context_->createImageCHROMIUM( 317 GLenum internalformat) {
318 buffer, width, height, internalformat); 318 return test_context_->createImageCHROMIUM(buffers, width, height,
319 internalformat);
319 } 320 }
320 321
321 void TestGLES2Interface::DestroyImageCHROMIUM(GLuint image_id) { 322 void TestGLES2Interface::DestroyImageCHROMIUM(GLuint image_id) {
322 test_context_->destroyImageCHROMIUM(image_id); 323 test_context_->destroyImageCHROMIUM(image_id);
323 } 324 }
324 325
325 GLuint TestGLES2Interface::CreateGpuMemoryBufferImageCHROMIUM( 326 GLuint TestGLES2Interface::CreateGpuMemoryBufferImageCHROMIUM(
326 GLsizei width, 327 GLsizei width,
327 GLsizei height, 328 GLsizei height,
328 GLenum internalformat, 329 GLenum internalformat,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 GLuint height, 414 GLuint height,
414 float device_scale) { 415 float device_scale) {
415 test_context_->reshapeWithScaleFactor(width, height, device_scale); 416 test_context_->reshapeWithScaleFactor(width, height, device_scale);
416 } 417 }
417 418
418 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) { 419 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) {
419 test_context_->loseContextCHROMIUM(current, other); 420 test_context_->loseContextCHROMIUM(current, other);
420 } 421 }
421 422
422 } // namespace cc 423 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698