/[gzz]/gzz/gzz/gfx/gl/GL.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/GL.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by tjl, Sat Oct 19 14:26:36 2002 UTC revision 1.15 by jvk, Mon Oct 21 06:56:08 2002 UTC
# Line 419  public class GL { Line 419  public class GL {
419                  String internalFormat, String format,                  String internalFormat, String format,
420                  String shaderName, String[] params) {                  String shaderName, String[] params) {
421              return impl_Texture_shade(getId(), w, h, d, comps, internalFormat, format,              return impl_Texture_shade(getId(), w, h, d, comps, internalFormat, format,
422                  shaderName, params);                  shaderName, params, false);
423            }
424    
425            /** Call libtexture to create the image for each mipmap level separately.
426             */
427            public int shade_all_levels(int w, int h, int d, int comps,
428                    String internalFormat, String format,
429                    String shaderName, String[] params) {
430                return impl_Texture_shade(getId(), w, h, d, comps, internalFormat, format,
431                    shaderName, params, true);
432          }          }
433    
434          /** Load a NULL pointer to the texture, which clears the image          /** Load a NULL pointer to the texture, which clears the image
# Line 462  public class GL { Line 471  public class GL {
471      static private native void impl_deleteTexture(int id);      static private native void impl_deleteTexture(int id);
472      static private native int impl_Texture_shade(int id, int w, int h, int d, int comps,      static private native int impl_Texture_shade(int id, int w, int h, int d, int comps,
473                  String internalFormat, String format,                  String internalFormat, String format,
474                  String shaderName, String[] params);                  String shaderName, String[] params,
475                    boolean shade_all_levels);
476    
477      static private native void impl_Texture_loadNull2D(int id, int level,      static private native void impl_Texture_loadNull2D(int id, int level,
478                          String internalFormat, int w, int h,                          String internalFormat, int w, int h,

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26