/[libvob]/libvob/org/nongnu/libvob/gl/GL.java
ViewVC logotype

Diff of /libvob/org/nongnu/libvob/gl/GL.java

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

revision 1.23 by tjl, Sun Sep 21 13:35:06 2003 UTC revision 1.24 by tjl, Mon Sep 22 07:24:53 2003 UTC
# Line 659  public class GL { Line 659  public class GL {
659          /** Start compiling the display list.          /** Start compiling the display list.
660           * @deprecated Use CallGL           * @deprecated Use CallGL
661           */           */
662          public void startCompile(Window w) { GL.startCompile(getId(),          public void startCompile(RenderingSurface w) { GL.startCompile(getId(),
663                                                      w.getId()); }                                                      w.getId()); }
664          /** Start compiling the display list.          /** Start compiling the display list.
665           * @deprecated Use CallGL           * @deprecated Use CallGL
666           */           */
667          public void endCompile(Window w) { GL.endCompile(getId(),          public void endCompile(RenderingSurface w) { GL.endCompile(getId(),
668                                                      w.getId()); }                                                      w.getId()); }
669    
670          /** Compile the given string using the CallGL library          /** Compile the given string using the CallGL library
# Line 675  public class GL { Line 675  public class GL {
675    
676          /** Call the display list in the given window.          /** Call the display list in the given window.
677           */           */
678          public void call(Window w) { GL.impl_DisplayList_call(getId(), w.getId()); }          public void call(RenderingSurface w) { GL.impl_DisplayList_call(getId(), w.getId()); }
679          /** Call the display list in the default context.          /** Call the display list in the default context.
680           */           */
681          public void call() { GL.impl_DisplayList_call0(getId()); }          public void call() { GL.impl_DisplayList_call0(getId()); }
# Line 746  public class GL { Line 746  public class GL {
746           * @param x,y The coordinates to set raster position to.           * @param x,y The coordinates to set raster position to.
747           *              This is a bit kludgy...           *              This is a bit kludgy...
748           */           */
749          public void drawPixels(Window win,          public void drawPixels(RenderingSurface win,
750                  int x, int y, float z, int width, int height,                  int x, int y, float z, int width, int height,
751                  String format, String type) {                  String format, String type) {
752              impl_ByteVector_drawPixels(getId(), win.getId(),              impl_ByteVector_drawPixels(getId(), win.getId(),
# Line 880  public class GL { Line 880  public class GL {
880    
881      /** CallGL the given string in the given window.      /** CallGL the given string in the given window.
882       */       */
883      public static void call(String s, Window w) {      public static void call(String s, RenderingSurface w) {
884          call(s, w.getId());          call(s, w.getId());
885      }      }
886      private static native void call(String s, int id) ;      private static native void call(String s, int id) ;

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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