Cocoa Port:

- Fix compiling. (I forgot to commit displayView.h in r4432, oops!)
This commit is contained in:
rogerman 2012-12-21 04:01:37 +00:00
parent be3059f547
commit 233d079b45
1 changed files with 16 additions and 1 deletions

View File

@ -122,6 +122,9 @@
CGLContextObj cglDisplayContext;
NSOpenGLContext *oglRendererContext;
BOOL isVBOSupported;
BOOL isShadersSupported;
DisplayViewDelegate *dispViewDelegate;
GLint glTexRenderStyle;
GLenum glTexPixelFormat;
@ -130,10 +133,21 @@
GLuint mainDisplayTexIndex;
GLuint touchDisplayTexIndex;
GLuint renderDisplayListIndex;
GLuint vboTexCoordID;
GLuint vboVertexID;
GLuint vboElementID;
GLuint vertexShaderID;
GLuint fragmentShaderID;
GLuint shaderProgram;
GLint uniformAngleDegrees;
GLint uniformScalar;
GLint uniformViewSize;
GLint *vtxBuffer;
GLfloat *texCoordBuffer;
GLubyte *vtxIndexBuffer;
}
- (void) drawVideoFrame;
@ -148,6 +162,7 @@ extern "C"
{
#endif
static GLint SetupShaders(GLuint *vShaderID, GLuint *fShaderID, GLuint *programID);
bool OSXOpenGLRendererInit();
bool OSXOpenGLRendererBegin();
void OSXOpenGLRendererEnd();