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

Side by Side Diff: gpu/tools/compositor_model_bench/shaders.h

Issue 8511045: Cleanup: Remove unneeded forward declarations in base, dbug, gpu, ipc, jingle, and media. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.h ('k') | ipc/ipc_sync_channel.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Shaders from Chromium and an interface for setting them up 5 // Shaders from Chromium and an interface for setting them up
6 6
7 #ifndef GPU_TOOLS_COMPOSITOR_MODEL_BENCH_SHADERS_H_ 7 #ifndef GPU_TOOLS_COMPOSITOR_MODEL_BENCH_SHADERS_H_
8 #define GPU_TOOLS_COMPOSITOR_MODEL_BENCH_SHADERS_H_ 8 #define GPU_TOOLS_COMPOSITOR_MODEL_BENCH_SHADERS_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 // Forward declarations. 12 // Forward declarations.
13 class CCNode; 13 class CCNode;
14 class ContentLayerNode; 14 class ContentLayerNode;
15 class TextureBuilder;
16 15
17 typedef unsigned int GLuint; 16 typedef unsigned int GLuint;
18 17
19 enum ShaderID { 18 enum ShaderID {
20 SHADER_UNRECOGNIZED = 0, 19 SHADER_UNRECOGNIZED = 0,
21 VERTEX_SHADER_POS_TEX_YUV_STRETCH, 20 VERTEX_SHADER_POS_TEX_YUV_STRETCH,
22 VERTEX_SHADER_POS_TEX, 21 VERTEX_SHADER_POS_TEX,
23 VERTEX_SHADER_POS_TEX_TRANSFORM, 22 VERTEX_SHADER_POS_TEX_TRANSFORM,
24 FRAGMENT_SHADER_YUV_VIDEO, 23 FRAGMENT_SHADER_YUV_VIDEO,
25 FRAGMENT_SHADER_RGBA_TEX_FLIP_ALPHA, 24 FRAGMENT_SHADER_RGBA_TEX_FLIP_ALPHA,
(...skipping 18 matching lines...) Expand all
44 void BeginFrame(); 43 void BeginFrame();
45 44
46 // Draw the quad in those VBO's. 45 // Draw the quad in those VBO's.
47 void DrawQuad(float width, float height); 46 void DrawQuad(float width, float height);
48 47
49 // Draw the quad in those VBO's for an individual tile within a tiled layer. 48 // Draw the quad in those VBO's for an individual tile within a tiled layer.
50 // x and y give the 2D index of the tile. 49 // x and y give the 2D index of the tile.
51 void DrawTileQuad(GLuint texID, int x, int y); 50 void DrawTileQuad(GLuint texID, int x, int y);
52 51
53 #endif // GPU_TOOLS_COMPOSITOR_MODEL_BENCH_SHADERS_H_ 52 #endif // GPU_TOOLS_COMPOSITOR_MODEL_BENCH_SHADERS_H_
54
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.h ('k') | ipc/ipc_sync_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698