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

Unified Diff: third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.h

Issue 525019: Revert 35500 - Added an application framework for demos. Ported hellotriangle... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 12 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 side-by-side diff with in-line comments
Download patch
Index: third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.h
===================================================================
--- third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.h (revision 35503)
+++ third_party/gles_book_examples/Chapter_2/Hello_Triangle/Hello_Triangle.h (working copy)
@@ -1,46 +0,0 @@
-//
-// Book: OpenGL(R) ES 2.0 Programming Guide
-// Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
-// ISBN-10: 0321502795
-// ISBN-13: 9780321502797
-// Publisher: Addison-Wesley Professional
-// URLs: http://safari.informit.com/9780321563835
-// http://www.opengles-book.com
-//
-
-//
-// Hello_Triangle.h
-//
-// This is a simple example that draws a single triangle with
-// a minimal vertex/fragment shader. The purpose of this
-// example is to demonstrate the basic concepts of
-// OpenGL ES 2.0 rendering.
-
-#ifndef HELLO_TRIANGLE_H
-#define HELLO_TRIANGLE_H
-
-#include "esUtil.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif // __cplusplus
-
-typedef struct
-{
- // Handle to a program object
- GLuint programObject;
- // Handle to vbo object
- GLuint vbo;
-
-} HTUserData;
-
-extern int htInit ( ESContext *esContext );
-
-extern void htDraw ( ESContext *esContext );
-
-extern void htShutDown ( ESContext *esContext );
-
-#ifdef __cplusplus
-}
-#endif // __cplusplus
-#endif // HELLO_TRIANGLE_H
« no previous file with comments | « gpu/demos/hello_triangle/main.cc ('k') | 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