summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/PluginGLView.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginGLView.h')
-rw-r--r--macosx/plugins/DFXVideo/macsrc/PluginGLView.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.h b/macosx/plugins/DFXVideo/macsrc/PluginGLView.h
index fea3b89a..fe2e5f78 100644
--- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.h
+++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.h
@@ -29,7 +29,12 @@
GLubyte *image_base;
GLubyte *image[IMAGE_COUNT];
+ GLboolean useShader;
+ float shaderQuality;
GLint buffers;
+ GLuint vertexShader;
+ GLuint fragmentShader;
+ GLuint program;
//GLint frame_rate;
GLenum texture_hint;
@@ -59,5 +64,8 @@
- (void)swapBuffer;
- (void)clearBuffer:(BOOL)display;
- (void)loadTextures: (GLboolean)first;
+- (GLuint)loadShader:(GLenum)type location:(NSURL*)filename;
+- (char*)loadSource:(NSURL *)filename;
+void printProgramInfoLog(GLuint obj);
@end