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

Unified Diff: third_party/gles_book_examples/Chapter_8/Simple_VertexShader/Simple_VertexShader.h

Issue 543002: Renamed gles_book_examples to gles2_book to make it shorter and more correct.... (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 side-by-side diff with in-line comments
Download patch
Index: third_party/gles_book_examples/Chapter_8/Simple_VertexShader/Simple_VertexShader.h
===================================================================
--- third_party/gles_book_examples/Chapter_8/Simple_VertexShader/Simple_VertexShader.h (revision 35873)
+++ third_party/gles_book_examples/Chapter_8/Simple_VertexShader/Simple_VertexShader.h (working copy)
@@ -1,54 +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
-//
-
-#ifndef SIMPLE_VERTEX_SHADER_H
-#define SIMPLE_VERTEX_SHADER_H
-
-#include "esUtil.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif // __cplusplus
-
-typedef struct
-{
- // Handle to a program object
- GLuint programObject;
-
- // Attribute locations
- GLint positionLoc;
-
- // Uniform locations
- GLint mvpLoc;
-
- // Vertex daata
- GLfloat *vertices;
- GLuint *indices;
- int numIndices;
-
- // Rotation angle
- GLfloat angle;
-
- // MVP matrix
- ESMatrix mvpMatrix;
-} SVSUserData;
-
-extern int svsInit ( ESContext *esContext );
-
-extern void svsUpdate ( ESContext *esContext, float deltaTime );
-
-extern void svsDraw ( ESContext *esContext );
-
-extern void svsShutDown ( ESContext *esContext );
-
-#ifdef __cplusplus
-}
-#endif // __cplusplus
-#endif // SIMPLE_VERTEX_SHADER_H

Powered by Google App Engine
This is Rietveld 408576698