summaryrefslogtreecommitdiffstats
path: root/src/demos/hdr/Pipeline.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/hdr/Pipeline.java')
-rwxr-xr-xsrc/demos/hdr/Pipeline.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/demos/hdr/Pipeline.java b/src/demos/hdr/Pipeline.java
new file mode 100755
index 0000000..822c3fb
--- /dev/null
+++ b/src/demos/hdr/Pipeline.java
@@ -0,0 +1,31 @@
+package demos.hdr;
+
+import java.io.*;
+import java.util.*;
+
+import net.java.games.jogl.*;
+import net.java.games.cg.*;
+import demos.util.*;
+
+public interface Pipeline {
+ public void init();
+ public void initFloatingPointTexture (GL gl, int textureObject, int w, int h);
+ public void initTexture (GL gl, int textureObject, int w, int h);
+ public void copyToTexture (GL gl, int textureObject, int w, int h);
+ public void bindTexture (GL gl, int textureObject);
+ public int loadVertexProgram (GL gl, String filename) throws IOException;
+ public int loadFragmentProgram (GL gl, String filename) throws IOException;
+ public void enableVertexProgram (GL gl, int program);
+ public void enableFragmentProgram (GL gl, int program);
+ public void disableVertexProgram (GL gl);
+ public void disableFragmentProgram (GL gl);
+ public int getNamedParameter (int program, String name);
+ public void setVertexProgramParameter1f (GL gl, int param, float val);
+ public void setVertexProgramParameter3f (GL gl, int param, float x, float y, float z);
+ public void setVertexProgramParameter4f (GL gl, int param, float x, float y, float z, float w);
+ public void setFragmentProgramParameter1f (GL gl, int param, float val);
+ public void setFragmentProgramParameter3f (GL gl, int param, float x, float y, float z);
+ public void setFragmentProgramParameter4f (GL gl, int param, float x, float y, float z, float w);
+ public void trackModelViewProjectionMatrix(GL gl, int param);
+ public void setMatrixParameterfc (GL gl, int param, float[] matrix);
+}