OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_CLIENT_GL_HELPERS_H_ | |
6 #define REMOTING_CLIENT_GL_HELPERS_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "remoting/client/opengl_wrapper.h" | |
10 | |
11 namespace remoting { | |
12 | |
13 GLuint CompileShader(GLenum shaderType, const char* shaderSource); | |
Sergey Ulanov
2016/06/27 23:15:29
shader_type, shader_source
Sergey Ulanov
2016/06/27 23:15:30
add documentation for each of these functions
Yuwei
2016/06/28 22:51:11
Done.
| |
14 GLuint CreateProgram(GLuint vertex_shader, GLuint fragment_shader); | |
15 GLuint CreateTexture(); | |
16 GLuint CreateBuffer(const void* data, int size); | |
17 | |
18 } // namespace remoting | |
19 | |
20 #endif // REMOTING_CLIENT_GL_HELPERS_H_ | |
OLD | NEW |