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

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

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | cc/test/test_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 GLint yoffset, 283 GLint yoffset,
284 GLsizei width, 284 GLsizei width,
285 GLsizei height, 285 GLsizei height,
286 GLenum format, 286 GLenum format,
287 GLenum type, 287 GLenum type,
288 const void* pixels) { 288 const void* pixels) {
289 test_context_->asyncTexSubImage2DCHROMIUM( 289 test_context_->asyncTexSubImage2DCHROMIUM(
290 target, level, xoffset, yoffset, width, height, format, type, pixels); 290 target, level, xoffset, yoffset, width, height, format, type, pixels);
291 } 291 }
292 292
293 void TestGLES2Interface::AsyncCompressedTexImage2DCHROMIUM(GLenum target,
294 GLint level,
295 GLint internalformat,
296 GLsizei width,
297 GLsizei height,
298 GLint border,
299 GLsizei imagesize,
300 const void* pixels) {
301 test_context_->asyncCompressedTexImage2DCHROMIUM(
302 target, level, internalformat, width, height, border, imagesize, pixels);
303 }
304
305 void TestGLES2Interface::AsyncCompressedTexSubImage2DCHROMIUM(
306 GLenum target,
307 GLint level,
308 GLint xoffset,
309 GLint yoffset,
310 GLsizei width,
311 GLsizei height,
312 GLenum format,
313 GLsizei imagesize,
314 const void* pixels) {
315 test_context_->asyncCompressedTexSubImage2DCHROMIUM(
316 target, level, xoffset, yoffset, width, height, format, imagesize,
317 pixels);
318 }
319
293 void TestGLES2Interface::CompressedTexImage2D(GLenum target, 320 void TestGLES2Interface::CompressedTexImage2D(GLenum target,
294 GLint level, 321 GLint level,
295 GLenum internalformat, 322 GLenum internalformat,
296 GLsizei width, 323 GLsizei width,
297 GLsizei height, 324 GLsizei height,
298 GLint border, 325 GLint border,
299 GLsizei image_size, 326 GLsizei image_size,
300 const void* data) { 327 const void* data) {
301 test_context_->compressedTexImage2D( 328 test_context_->compressedTexImage2D(
302 target, level, internalformat, width, height, border, image_size, data); 329 target, level, internalformat, width, height, border, image_size, data);
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 GLuint height, 436 GLuint height,
410 float device_scale) { 437 float device_scale) {
411 test_context_->reshapeWithScaleFactor(width, height, device_scale); 438 test_context_->reshapeWithScaleFactor(width, height, device_scale);
412 } 439 }
413 440
414 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) { 441 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) {
415 test_context_->loseContextCHROMIUM(current, other); 442 test_context_->loseContextCHROMIUM(current, other);
416 } 443 }
417 444
418 } // namespace cc 445 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | cc/test/test_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698