private native static int cgScreenWidth();
private native static int cgScreenHeight();
protected native void _newBrowserWindow(String url);
- protected native Proxy natDetectProxy();
+ protected native HTTP.Proxy natDetectProxy();
private native void natInit();
protected native void _exit();
}
}
- protected synchronized Proxy _detectProxy() {
+ protected synchronized HTTP.Proxy _detectProxy() {
return natDetectProxy();
}
private static native final boolean isJaguar();
- private static native final void linkMe();
public void init() {
super.init();
- linkMe();
jaguar = isJaguar();
try {
openGL = new CarbonOpenGL();
public void reshape(int w, int h) { }
}
- static class GLCarbonPixelBuffer extends OpenGL.GLDoubleBuffer {
+ static class GLCarbonPixelBuffer extends OpenGL.GLPixelBuffer {
RawData rawCTX;
RawData rawWindowRef;
int textureName;
public native void natDispose();
}
- /*private class QZCarbonPixelBuffer extends DoubleBuffer {
+ /*private class QZCarbonPixelBuffer extends PixelBuffer {
public QZCarbonPixelBuffer(int width, int height) {
}
}
}*/
- protected PixelBuffer _createDoubleBuffer(int w, int h, Surface owner) {
+ protected PixelBuffer _createPixelBuffer(int w, int h, Surface owner) {
if(openGL != null)
return new GLCarbonPixelBuffer(w,h,openGL);
else