OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 5 #ifndef UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
6 #define UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 6 #define UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 GLsizei width, | 96 GLsizei width, |
97 GLsizei height) override; | 97 GLsizei height) override; |
98 | 98 |
99 void glRenderbufferStorageMultisampleFn(GLenum target, | 99 void glRenderbufferStorageMultisampleFn(GLenum target, |
100 GLsizei samples, | 100 GLsizei samples, |
101 GLenum internalformat, | 101 GLenum internalformat, |
102 GLsizei width, | 102 GLsizei width, |
103 GLsizei height) override; | 103 GLsizei height) override; |
104 | 104 |
105 void glClearFn(GLbitfield mask) override; | 105 void glClearFn(GLbitfield mask) override; |
| 106 void glClearColorFn(GLclampf red, |
| 107 GLclampf green, |
| 108 GLclampf blue, |
| 109 GLclampf alpha) override; |
106 void glDrawArraysFn(GLenum mode, GLint first, GLsizei count) override; | 110 void glDrawArraysFn(GLenum mode, GLint first, GLsizei count) override; |
107 void glDrawElementsFn(GLenum mode, | 111 void glDrawElementsFn(GLenum mode, |
108 GLsizei count, | 112 GLsizei count, |
109 GLenum type, | 113 GLenum type, |
110 const void* indices) override; | 114 const void* indices) override; |
111 | 115 |
112 void glClearDepthFn(GLclampd depth) override; | 116 void glClearDepthFn(GLclampd depth) override; |
113 void glDepthRangeFn(GLclampd z_near, GLclampd z_far) override; | 117 void glDepthRangeFn(GLclampd z_near, GLclampd z_far) override; |
114 | 118 |
115 void InitializeFilteredExtensions(); | 119 void InitializeFilteredExtensions(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 170 |
167 // Include the auto-generated part of this class. We split this because | 171 // Include the auto-generated part of this class. We split this because |
168 // it means we can easily edit the non-auto generated parts right here in | 172 // it means we can easily edit the non-auto generated parts right here in |
169 // this file instead of having to edit some template or the code generator. | 173 // this file instead of having to edit some template or the code generator. |
170 #include "gl_bindings_api_autogen_gl.h" | 174 #include "gl_bindings_api_autogen_gl.h" |
171 }; | 175 }; |
172 | 176 |
173 } // namespace gl | 177 } // namespace gl |
174 | 178 |
175 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ | 179 #endif // UI_GL_GL_GL_API_IMPLEMENTATION_H_ |
OLD | NEW |