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

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

Issue 333203003: Change GLInternalFormat param from GLint to GLenum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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') | gpu/command_buffer/client/gles2_c_lib_autogen.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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | gpu/command_buffer/client/gles2_c_lib_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698