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 BENCH_GL_SHADERS_H_ | 5 #ifndef BENCH_GL_SHADERS_H_ |
6 #define BENCH_GL_SHADERS_H_ | 6 #define BENCH_GL_SHADERS_H_ |
7 | 7 |
8 typedef GLuint ShaderProgram; | 8 typedef GLuint ShaderProgram; |
9 | 9 |
10 void DeleteShaderProgram(ShaderProgram program); | 10 void DeleteShaderProgram(ShaderProgram program); |
11 ShaderProgram AttributeFetchShaderProgram(int attribute_count, | 11 ShaderProgram AttributeFetchShaderProgram(int attribute_count, |
12 GLuint vertex_buffers[]); | 12 GLuint vertex_buffers[]); |
13 ShaderProgram VaryingsShaderProgram(int varyings_count, GLuint vertex_buffer); | 13 ShaderProgram VaryingsShaderProgram(int varyings_count, GLuint vertex_buffer); |
14 ShaderProgram DdxDdyShaderProgram(bool ddx, GLuint vertex_buffer); | 14 ShaderProgram DdxDdyShaderProgram(bool ddx, GLuint vertex_buffer); |
15 ShaderProgram YuvToRgbShaderProgram(int type, GLuint vertex_buffer, | 15 ShaderProgram YuvToRgbShaderProgram(int type, GLuint vertex_buffer, |
16 int width, int height); | 16 int width, int height); |
17 | 17 |
18 #endif // BENCH_GL_SHADERS_H_ | 18 #endif // BENCH_GL_SHADERS_H_ |
OLD | NEW |