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

Side by Side Diff: third_party/gles_book_examples/Common/Include/esUtil_win.h

Issue 525070: Resubmit 35500: Added an application framework for demos. Ported hellotriangl... (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
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 // esUtil_win.h 11 // esUtil_win.h
12 // 12 //
13 // API-neutral interface for creating windows. Implementation needs to be pro vided per-platform. 13 // API-neutral interface for creating windows. Implementation needs to be pro vided per-platform.
14 14
15 #ifndef ESUTIL_WIN_H 15 #ifndef ESUTIL_WIN_H
16 #define ESUTIL_WIN_H 16 #define ESUTIL_WIN_H
17 17
18 ///
19 // Includes
20 //
21
22 #ifdef __cplusplus 18 #ifdef __cplusplus
23
24 extern "C" { 19 extern "C" {
25 #endif 20 #endif // __cplusplus
26
27
28 ///
29 // Macros
30 //
31
32 ///
33 // Types
34 //
35
36 ///
37 // Public Functions
38 //
39
40 ///
41 // WinCreate()
42 //
43 // Create Win32 instance and window
44 //
45 GLboolean WinCreate ( ESContext *esContext, const char *title );
46
47 ///
48 // WinLoop()
49 //
50 // Start main windows loop
51 //
52 void WinLoop ( ESContext *esContext );
53 21
54 /// 22 ///
55 // WinTGALoad() 23 // WinTGALoad()
56 // 24 //
57 // TGA loader win32 implementation 25 // TGA loader win32 implementation
58 // 26 //
59 int WinTGALoad ( const char *fileName, char **buffer, int *width, int *height ); 27 int WinTGALoad ( const char *fileName, char **buffer, int *width, int *height );
60 28
61 #ifdef __cplusplus 29 #ifdef __cplusplus
62 } 30 }
63 #endif 31 #endif // __cplusplus
64 32
65 #endif // ESUTIL_WIN_H 33 #endif // ESUTIL_WIN_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698