diff options
author | Kenneth Russel <[email protected]> | 2009-06-15 23:12:27 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-15 23:12:27 +0000 |
commit | 41cd6c47b23975098cd155517790e018670785e7 (patch) | |
tree | 247333528ad674d427ba96b1e05810f7961d609e /src/demos/hdr/Pipeline.java | |
parent | 935d2596c13371bb745d921dbcb9f05b0c11a010 (diff) |
Copied JOGL_2_SANDBOX r350 on to trunk; JOGL_2_SANDBOX branch is now closed
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@352 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/hdr/Pipeline.java')
-rwxr-xr-x | src/demos/hdr/Pipeline.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/demos/hdr/Pipeline.java b/src/demos/hdr/Pipeline.java new file mode 100755 index 0000000..5307f3c --- /dev/null +++ b/src/demos/hdr/Pipeline.java @@ -0,0 +1,29 @@ +package demos.hdr; + +import java.io.IOException; +import javax.media.opengl.GL2ES1; +import javax.media.opengl.GL2; + + +public interface Pipeline { + public void init(); + public void initFloatingPointTexture (GL2 gl, int textureObject, int w, int h); + public void initTexture (GL2 gl, int textureObject, int w, int h); + public void copyToTexture (GL2 gl, int textureObject, int w, int h); + public void bindTexture (GL2 gl, int textureObject); + public int loadVertexProgram (GL2 gl, String filename) throws IOException; + public int loadFragmentProgram (GL2 gl, String filename) throws IOException; + public void enableVertexProgram (GL2 gl, int program); + public void enableFragmentProgram (GL2 gl, int program); + public void disableVertexProgram (GL2 gl); + public void disableFragmentProgram (GL2 gl); + public int getNamedParameter (int program, String name); + public void setVertexProgramParameter1f (GL2 gl, int param, float val); + public void setVertexProgramParameter3f (GL2 gl, int param, float x, float y, float z); + public void setVertexProgramParameter4f (GL2 gl, int param, float x, float y, float z, float w); + public void setFragmentProgramParameter1f (GL2 gl, int param, float val); + public void setFragmentProgramParameter3f (GL2 gl, int param, float x, float y, float z); + public void setFragmentProgramParameter4f (GL2 gl, int param, float x, float y, float z, float w); + public void trackModelViewProjectionMatrix(GL2 gl, int param); + public void setMatrixParameterfc (GL2 gl, int param, float[] matrix); +} |