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

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

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 | « no previous file | cc/test/test_gles2_interface.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 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_ 5 #ifndef CC_TEST_TEST_GLES2_INTERFACE_H_
6 #define CC_TEST_TEST_GLES2_INTERFACE_H_ 6 #define CC_TEST_TEST_GLES2_INTERFACE_H_
7 7
8 #include "gpu/command_buffer/client/gles2_interface_stub.h" 8 #include "gpu/command_buffer/client/gles2_interface_stub.h"
9 9
10 namespace cc { 10 namespace cc {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 GLsizei height) OVERRIDE; 92 GLsizei height) OVERRIDE;
93 virtual void TexImageIOSurface2DCHROMIUM(GLenum target, 93 virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
94 GLsizei width, 94 GLsizei width,
95 GLsizei height, 95 GLsizei height,
96 GLuint io_surface_id, 96 GLuint io_surface_id,
97 GLuint plane) OVERRIDE; 97 GLuint plane) OVERRIDE;
98 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) OVERRIDE; 98 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) OVERRIDE;
99 99
100 virtual void AsyncTexImage2DCHROMIUM(GLenum target, 100 virtual void AsyncTexImage2DCHROMIUM(GLenum target,
101 GLint level, 101 GLint level,
102 GLint internalformat, 102 GLenum internalformat,
103 GLsizei width, 103 GLsizei width,
104 GLsizei height, 104 GLsizei height,
105 GLint border, 105 GLint border,
106 GLenum format, 106 GLenum format,
107 GLenum type, 107 GLenum type,
108 const void* pixels) OVERRIDE; 108 const void* pixels) OVERRIDE;
109 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target, 109 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target,
110 GLint level, 110 GLint level,
111 GLint xoffset, 111 GLint xoffset,
112 GLint yoffset, 112 GLint yoffset,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 float device_scale) OVERRIDE; 168 float device_scale) OVERRIDE;
169 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE; 169 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) OVERRIDE;
170 170
171 private: 171 private:
172 TestWebGraphicsContext3D* test_context_; 172 TestWebGraphicsContext3D* test_context_;
173 }; 173 };
174 174
175 } // namespace cc 175 } // namespace cc
176 176
177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 177 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698