| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS 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 WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_ | 5 #ifndef WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_ |
| 6 #define WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_ | 6 #define WINDOW_MANAGER_REAL_GLES2_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 void Clear(GLbitfield mask); | 63 void Clear(GLbitfield mask); |
| 64 void ClearColor(GLclampf red, GLclampf green, GLclampf blue, | 64 void ClearColor(GLclampf red, GLclampf green, GLclampf blue, |
| 65 GLclampf alpha); | 65 GLclampf alpha); |
| 66 void CompileShader(GLuint shader); | 66 void CompileShader(GLuint shader); |
| 67 GLuint CreateProgram(); | 67 GLuint CreateProgram(); |
| 68 GLuint CreateShader(GLenum type); | 68 GLuint CreateShader(GLenum type); |
| 69 void DeleteBuffers(GLsizei n, const GLuint* buffers); | 69 void DeleteBuffers(GLsizei n, const GLuint* buffers); |
| 70 void DeleteProgram(GLuint program); | 70 void DeleteProgram(GLuint program); |
| 71 void DeleteShader(GLuint shader); | 71 void DeleteShader(GLuint shader); |
| 72 void DeleteTextures(GLsizei n, const GLuint* textures); | 72 void DeleteTextures(GLsizei n, const GLuint* textures); |
| 73 void DepthMask(GLboolean flag); |
| 73 void Disable(GLenum cap); | 74 void Disable(GLenum cap); |
| 74 void DisableVertexAttribArray(GLuint index); | 75 void DisableVertexAttribArray(GLuint index); |
| 75 void DrawArrays(GLenum mode, GLint first, GLsizei count); | 76 void DrawArrays(GLenum mode, GLint first, GLsizei count); |
| 76 void Enable(GLenum cap); | 77 void Enable(GLenum cap); |
| 77 void EnableVertexAttribArray(GLuint index); | 78 void EnableVertexAttribArray(GLuint index); |
| 78 void GenBuffers(GLsizei n, GLuint* buffers); | 79 void GenBuffers(GLsizei n, GLuint* buffers); |
| 79 void GenTextures(GLsizei n, GLuint* textures); | 80 void GenTextures(GLsizei n, GLuint* textures); |
| 80 int GetAttribLocation(GLuint program, const char* name); | 81 int GetAttribLocation(GLuint program, const char* name); |
| 81 GLenum GetError(); | 82 GLenum GetError(); |
| 82 void GetIntegerv(GLenum pname, GLint* params); | 83 void GetIntegerv(GLenum pname, GLint* params); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 gl_egl_image_target_texture_2d_oes_; | 146 gl_egl_image_target_texture_2d_oes_; |
| 146 PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC | 147 PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC |
| 147 gl_egl_image_target_renderbuffer_storage_oes_; | 148 gl_egl_image_target_renderbuffer_storage_oes_; |
| 148 | 149 |
| 149 DISALLOW_COPY_AND_ASSIGN(RealGles2Interface); | 150 DISALLOW_COPY_AND_ASSIGN(RealGles2Interface); |
| 150 }; | 151 }; |
| 151 | 152 |
| 152 } // namespace window_manager | 153 } // namespace window_manager |
| 153 | 154 |
| 154 #endif | 155 #endif |
| OLD | NEW |