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

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

Issue 2648893002: Remove remaining traces of CreateGpuMemoryBufferImageCHROMIUM (Closed)
Patch Set: Rebase, but don't pull in extra changes... Created 3 years, 10 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
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | components/display_compositor/buffer_queue.h » ('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 #include "gpu/GLES2/gl2extchromium.h" 9 #include "gpu/GLES2/gl2extchromium.h"
10 10
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 GLsizei height, 270 GLsizei height,
271 GLenum internalformat) { 271 GLenum internalformat) {
272 return test_context_->createImageCHROMIUM( 272 return test_context_->createImageCHROMIUM(
273 buffer, width, height, internalformat); 273 buffer, width, height, internalformat);
274 } 274 }
275 275
276 void TestGLES2Interface::DestroyImageCHROMIUM(GLuint image_id) { 276 void TestGLES2Interface::DestroyImageCHROMIUM(GLuint image_id) {
277 test_context_->destroyImageCHROMIUM(image_id); 277 test_context_->destroyImageCHROMIUM(image_id);
278 } 278 }
279 279
280 GLuint TestGLES2Interface::CreateGpuMemoryBufferImageCHROMIUM(
281 GLsizei width,
282 GLsizei height,
283 GLenum internalformat,
284 GLenum usage) {
285 return test_context_->createGpuMemoryBufferImageCHROMIUM(
286 width, height, internalformat, usage);
287 }
288
289 void TestGLES2Interface::BindTexImage2DCHROMIUM(GLenum target, GLint image_id) { 280 void TestGLES2Interface::BindTexImage2DCHROMIUM(GLenum target, GLint image_id) {
290 test_context_->bindTexImage2DCHROMIUM(target, image_id); 281 test_context_->bindTexImage2DCHROMIUM(target, image_id);
291 } 282 }
292 283
293 void TestGLES2Interface::ReleaseTexImage2DCHROMIUM(GLenum target, 284 void TestGLES2Interface::ReleaseTexImage2DCHROMIUM(GLenum target,
294 GLint image_id) { 285 GLint image_id) {
295 test_context_->releaseTexImage2DCHROMIUM(target, image_id); 286 test_context_->releaseTexImage2DCHROMIUM(target, image_id);
296 } 287 }
297 288
298 void* TestGLES2Interface::MapBufferCHROMIUM(GLuint target, GLenum access) { 289 void* TestGLES2Interface::MapBufferCHROMIUM(GLuint target, GLenum access) {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 return GL_NO_ERROR; 387 return GL_NO_ERROR;
397 } 388 }
398 389
399 void TestGLES2Interface::set_test_context(TestWebGraphicsContext3D* context) { 390 void TestGLES2Interface::set_test_context(TestWebGraphicsContext3D* context) {
400 DCHECK(!test_context_); 391 DCHECK(!test_context_);
401 test_context_ = context; 392 test_context_ = context;
402 InitializeTestContext(test_context_); 393 InitializeTestContext(test_context_);
403 } 394 }
404 395
405 } // namespace cc 396 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | components/display_compositor/buffer_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698