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

Side by Side Diff: third_party/gles2_book/Common/Include/esUtil.h

Issue 5927002: Moved the logic of maintaining the current context to gles2 helper library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « ppapi/ppapi.gypi ('k') | third_party/gles2_book/gles2_book.gyp » ('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 // Book: OpenGL(R) ES 2.0 Programming Guide 2 // Book: OpenGL(R) ES 2.0 Programming Guide
3 // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner 3 // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
4 // ISBN-10: 0321502795 4 // ISBN-10: 0321502795
5 // ISBN-13: 9780321502797 5 // ISBN-13: 9780321502797
6 // Publisher: Addison-Wesley Professional 6 // Publisher: Addison-Wesley Professional
7 // URLs: http://safari.informit.com/9780321563835 7 // URLs: http://safari.informit.com/9780321563835
8 // http://www.opengles-book.com 8 // http://www.opengles-book.com
9 // 9 //
10 10
11 // 11 //
12 /// \file ESUtil.h 12 /// \file ESUtil.h
13 /// \brief A utility library for OpenGL ES. This library provides a 13 /// \brief A utility library for OpenGL ES. This library provides a
14 /// basic common framework for the example applications in the 14 /// basic common framework for the example applications in the
15 /// OpenGL ES 2.0 Programming Guide. 15 /// OpenGL ES 2.0 Programming Guide.
16 // 16 //
17 #ifndef ESUTIL_H 17 #ifndef ESUTIL_H
18 #define ESUTIL_H 18 #define ESUTIL_H
19 19
20 ///
21 // Includes
22 //
23 #include <GLES2/gl2.h> 20 #include <GLES2/gl2.h>
24 21
25 #ifdef __cplusplus 22 #ifdef __cplusplus
26 extern "C" { 23 extern "C" {
27 #endif // __cplusplus 24 #endif // __cplusplus
28 25
29 #ifndef FALSE 26 #ifndef FALSE
30 #define FALSE 0 27 #define FALSE 0
31 #endif // FALSE 28 #endif // FALSE
32 #ifndef TRUE 29 #ifndef TRUE
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 //// \brief return an indentity matrix 169 //// \brief return an indentity matrix
173 //// \param result returns identity matrix 170 //// \param result returns identity matrix
174 // 171 //
175 extern void esMatrixLoadIdentity(ESMatrix *result); 172 extern void esMatrixLoadIdentity(ESMatrix *result);
176 173
177 #ifdef __cplusplus 174 #ifdef __cplusplus
178 } 175 }
179 #endif // __cplusplus 176 #endif // __cplusplus
180 177
181 #endif // ESUTIL_H 178 #endif // ESUTIL_H
OLDNEW
« no previous file with comments | « ppapi/ppapi.gypi ('k') | third_party/gles2_book/gles2_book.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698