diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-17 01:15:40 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-17 01:15:40 +0000 |
| commit | a4905ffaa0185235cc638098dae277f8abc0a56c (patch) | |
| tree | 03f508b54719c7af768a211e3655aada65577671 /macosx/plugins/DFXVideo/macsrc/PluginGLView.h | |
| parent | 8ddbbfe157a5ed6d52bb07dcbef2e9c5814e80e0 (diff) | |
| download | pcsxr-a4905ffaa0185235cc638098dae277f8abc0a56c.tar.gz | |
Updating projects to build on Xcode 4.4
Added OpenGL shader support to the Mac software renderer.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79892 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginGLView.h')
| -rw-r--r-- | macosx/plugins/DFXVideo/macsrc/PluginGLView.h | 8 |
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 |
