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

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

Issue 92593004: Use GLES2Interface for shader programs Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/test_context_provider.cc ('k') | 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 <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual GLenum CheckFramebufferStatus(GLenum target) OVERRIDE; 51 virtual GLenum CheckFramebufferStatus(GLenum target) OVERRIDE;
52 52
53 virtual const GLubyte* GetString(GLenum name) OVERRIDE; 53 virtual const GLubyte* GetString(GLenum name) OVERRIDE;
54 virtual GLint GetUniformLocation( 54 virtual GLint GetUniformLocation(
55 GLuint program, 55 GLuint program,
56 const GLchar* name) OVERRIDE; 56 const GLchar* name) OVERRIDE;
57 virtual void GetVertexAttribPointerv( 57 virtual void GetVertexAttribPointerv(
58 GLuint index, 58 GLuint index,
59 GLenum pname, 59 GLenum pname,
60 void** pointer) OVERRIDE; 60 void** pointer) OVERRIDE;
61 virtual void GetProgramiv(
62 GLuint program, GLenum pname, GLint* params) OVERRIDE;
63 virtual void GetShaderiv(GLuint shader, GLenum pname, GLint* params) OVERRIDE;
61 64
62 virtual void UseProgram(GLuint program) OVERRIDE; 65 virtual void UseProgram(GLuint program) OVERRIDE;
63 66
64 virtual void GenBuffers(GLsizei count, GLuint* ids) OVERRIDE; 67 virtual void GenBuffers(GLsizei count, GLuint* ids) OVERRIDE;
65 virtual void GenFramebuffers(GLsizei count, GLuint* ids) OVERRIDE; 68 virtual void GenFramebuffers(GLsizei count, GLuint* ids) OVERRIDE;
66 virtual void GenRenderbuffers(GLsizei count, GLuint* ids) OVERRIDE; 69 virtual void GenRenderbuffers(GLsizei count, GLuint* ids) OVERRIDE;
67 virtual void GenTextures(GLsizei count, GLuint* ids) OVERRIDE; 70 virtual void GenTextures(GLsizei count, GLuint* ids) OVERRIDE;
68 71
69 virtual void DeleteBuffers(GLsizei count, const GLuint* ids) OVERRIDE; 72 virtual void DeleteBuffers(GLsizei count, const GLuint* ids) OVERRIDE;
70 virtual void DeleteFramebuffers( 73 virtual void DeleteFramebuffers(
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 290
288 scoped_refptr<Namespace> namespace_; 291 scoped_refptr<Namespace> namespace_;
289 static Namespace* shared_namespace_; 292 static Namespace* shared_namespace_;
290 293
291 base::WeakPtrFactory<TestGLES2Interface> weak_ptr_factory_; 294 base::WeakPtrFactory<TestGLES2Interface> weak_ptr_factory_;
292 }; 295 };
293 296
294 } // namespace cc 297 } // namespace cc
295 298
296 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_ 299 #endif // CC_TEST_TEST_GLES2_INTERFACE_H_
OLDNEW
« no previous file with comments | « cc/test/test_context_provider.cc ('k') | cc/test/test_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698