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

Side by Side Diff: client/deps/glbench/src/shaders.h

Issue 1282001: Added window manager graphics performance tests to gl_Bench. (Closed)
Patch Set: Implemented requested name change, retested Created 10 years, 9 months 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
« no previous file with comments | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/shaders.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 (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 ShaderProgram InitShaderProgram(const char *vertex_src, 10 ShaderProgram InitShaderProgram(const char *vertex_src,
11 const char *fragment_src); 11 const char *fragment_src);
12 void DeleteShaderProgram(ShaderProgram program); 12 void DeleteShaderProgram(ShaderProgram program);
13 ShaderProgram AttributeFetchShaderProgram(int attribute_count, 13 ShaderProgram AttributeFetchShaderProgram(int attribute_count,
14 GLuint vertex_buffers[]); 14 GLuint vertex_buffers[]);
15 ShaderProgram VaryingsShaderProgram(int varyings_count, GLuint vertex_buffer); 15 ShaderProgram VaryingsShaderProgram(int varyings_count, GLuint vertex_buffer);
16 ShaderProgram DdxDdyShaderProgram(bool ddx, GLuint vertex_buffer); 16 ShaderProgram DdxDdyShaderProgram(bool ddx, GLuint vertex_buffer);
17 ShaderProgram YuvToRgbShaderProgram(int type, GLuint vertex_buffer, 17 ShaderProgram YuvToRgbShaderProgram(int type, GLuint vertex_buffer,
18 int width, int height); 18 int width, int height);
19 ShaderProgram BasicTextureShaderProgram(GLuint vertex_buffer,
20 GLuint texture_buffer);
21 ShaderProgram DoubleTextureBlendShaderProgram(GLuint vertex_buffer,
22 GLuint texture_buffer_0,
23 GLuint texture_buffer_1);
24 ShaderProgram TripleTextureBlendShaderProgram(GLuint vertex_buffer,
25 GLuint texture_buffer_0,
26 GLuint texture_buffer_1,
27 GLuint texture_buffer_2);
19 28
20 #endif // BENCH_GL_SHADERS_H_ 29 #endif // BENCH_GL_SHADERS_H_
OLDNEW
« no previous file with comments | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/shaders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698