[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/org/nongnu/libvob/gl Paper.java
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] libvob/org/nongnu/libvob/gl Paper.java |
Date: |
Mon, 23 Jun 2003 08:36:19 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Branch:
Changes by: Tuomas J. Lukka <address@hidden> 03/06/23 08:36:19
Modified files:
org/nongnu/libvob/gl: Paper.java
Log message:
Add access to depends
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/org/nongnu/libvob/gl/Paper.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: libvob/org/nongnu/libvob/gl/Paper.java
diff -u libvob/org/nongnu/libvob/gl/Paper.java:1.2
libvob/org/nongnu/libvob/gl/Paper.java:1.3
--- libvob/org/nongnu/libvob/gl/Paper.java:1.2 Fri Apr 25 07:17:54 2003
+++ libvob/org/nongnu/libvob/gl/Paper.java Mon Jun 23 08:36:19 2003
@@ -44,6 +44,13 @@
*/
private ArrayList depends;
+ /** Add an object on whose C++ representation this paper
+ * depends. For instance, if one of the setup codes uses
+ * a texture id of a given GL.Texture object, then that
+ * object should be added here.
+ */
+ public void addDepend(Object o) { depends.add(o); }
+
public class Pass {
private int index;
private Pass(int index) { this.index = index; }
@@ -64,6 +71,15 @@
}
public void putEmbossTexGen(int ind, float[] matrix, float eps) {
impl_Pass_putEmbossTexGen(c_id, index, ind, matrix, eps);
+ }
+
+ /** Add an object on whose C++ representation this paper
+ * depends. For instance, if one of the setup codes uses
+ * a texture id of a given GL.Texture object, then that
+ * object should be added here.
+ */
+ public void addDepend(Object o) {
+ Paper.this.addDepend(o);
}
}
- [Gzz-commits] libvob/org/nongnu/libvob/gl Paper.java,
Tuomas J. Lukka <=