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

Side by Side Diff: third_party/mesa/MesaLib/src/glsl/glsl_parser_extras.h

Issue 10825442: Fix the compile errors for mesa on Android (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/mesa/MesaLib/src/glsl/ir.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 /* 1 /*
2 * Copyright © 2010 Intel Corporation 2 * Copyright © 2010 Intel Corporation
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation 6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the 8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions: 9 * Software is furnished to do so, subject to the following conditions:
10 * 10 *
(...skipping 13 matching lines...) Expand all
24 #pragma once 24 #pragma once
25 #ifndef GLSL_PARSER_EXTRAS_H 25 #ifndef GLSL_PARSER_EXTRAS_H
26 #define GLSL_PARSER_EXTRAS_H 26 #define GLSL_PARSER_EXTRAS_H
27 27
28 /* 28 /*
29 * Most of the definitions here only apply to C++ 29 * Most of the definitions here only apply to C++
30 */ 30 */
31 #ifdef __cplusplus 31 #ifdef __cplusplus
32 32
33 33
34 #include <cstdlib> 34 #include <stdlib.h>
35 #include "glsl_symbol_table.h" 35 #include "glsl_symbol_table.h"
36 36
37 enum _mesa_glsl_parser_targets { 37 enum _mesa_glsl_parser_targets {
38 vertex_shader, 38 vertex_shader,
39 geometry_shader, 39 geometry_shader,
40 fragment_shader, 40 fragment_shader,
41 ir_shader 41 ir_shader
42 }; 42 };
43 43
44 struct __GLcontextRec; 44 struct __GLcontextRec;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 extern void _mesa_destroy_shader_compiler(); 228 extern void _mesa_destroy_shader_compiler();
229 extern void _mesa_destroy_shader_compiler_caches(); 229 extern void _mesa_destroy_shader_compiler_caches();
230 230
231 #ifdef __cplusplus 231 #ifdef __cplusplus
232 } 232 }
233 #endif 233 #endif
234 234
235 235
236 #endif /* GLSL_PARSER_EXTRAS_H */ 236 #endif /* GLSL_PARSER_EXTRAS_H */
OLDNEW
« no previous file with comments | « no previous file | third_party/mesa/MesaLib/src/glsl/ir.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698