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

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

Issue 817653003: Update from https://crrev.com/309717 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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') | cc/test/test_web_graphics_context_3d.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 9
10 namespace cc { 10 namespace cc {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 171 }
172 172
173 void TestGLES2Interface::BindFramebuffer(GLenum target, GLuint buffer) { 173 void TestGLES2Interface::BindFramebuffer(GLenum target, GLuint buffer) {
174 test_context_->bindFramebuffer(target, buffer); 174 test_context_->bindFramebuffer(target, buffer);
175 } 175 }
176 176
177 void TestGLES2Interface::BindBuffer(GLenum target, GLuint buffer) { 177 void TestGLES2Interface::BindBuffer(GLenum target, GLuint buffer) {
178 test_context_->bindBuffer(target, buffer); 178 test_context_->bindBuffer(target, buffer);
179 } 179 }
180 180
181 void TestGLES2Interface::PixelStorei(GLenum pname, GLint param) {
182 test_context_->pixelStorei(pname, param);
183 }
184
181 void TestGLES2Interface::TexImage2D(GLenum target, 185 void TestGLES2Interface::TexImage2D(GLenum target,
182 GLint level, 186 GLint level,
183 GLint internalformat, 187 GLint internalformat,
184 GLsizei width, 188 GLsizei width,
185 GLsizei height, 189 GLsizei height,
186 GLint border, 190 GLint border,
187 GLenum format, 191 GLenum format,
188 GLenum type, 192 GLenum type,
189 const void* pixels) { 193 const void* pixels) {
190 test_context_->texImage2D(target, 194 test_context_->texImage2D(target,
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 GLuint height, 413 GLuint height,
410 float device_scale) { 414 float device_scale) {
411 test_context_->reshapeWithScaleFactor(width, height, device_scale); 415 test_context_->reshapeWithScaleFactor(width, height, device_scale);
412 } 416 }
413 417
414 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) { 418 void TestGLES2Interface::LoseContextCHROMIUM(GLenum current, GLenum other) {
415 test_context_->loseContextCHROMIUM(current, other); 419 test_context_->loseContextCHROMIUM(current, other);
416 } 420 }
417 421
418 } // namespace cc 422 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698