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 |
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()); } |
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(), |
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) ; |