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

Side by Side Diff: third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.h

Issue 527016: Added gyp file for examples. Removed unnecessary functions. Added header file... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 //
2 // Book: OpenGL(R) ES 2.0 Programming Guide
3 // Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
4 // ISBN-10: 0321502795
5 // ISBN-13: 9780321502797
6 // Publisher: Addison-Wesley Professional
7 // URLs: http://safari.informit.com/9780321563835
8 // http://www.opengles-book.com
9 //
10
11 #ifndef HELLO_TRIANGLE_H
12 #define HELLO_TRIANGLE_H
13
14 #include "esUtil.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif // __cplusplus
19
20 typedef struct
21 {
22 // Handle to a program object
23 GLuint programObject;
24 // Handle to vbo object
25 GLuint vbo;
26
27 } HTUserData;
28
29 extern int htInit ( ESContext *esContext );
30
31 extern void htDraw ( ESContext *esContext );
32
33 extern void htShutDown ( ESContext *esContext );
34
35 #ifdef __cplusplus
36 }
37 #endif // __cplusplus
38 #endif // HELLO_TRIANGLE_H
OLDNEW
« no previous file with comments | « no previous file | third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698