Examples of CGraphicsDevice


Examples of apple.awt.CGraphicsDevice

/*     */
/*     */   native boolean isSceneAntialiasingMultiSamplesAvailable(long paramLong1, long paramLong2, int paramInt1, int paramInt2);
/*     */
/*     */   GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate3D template, GraphicsConfiguration[] gc)
/*     */   {
/*  60 */     CGraphicsDevice gd = (CGraphicsDevice)((CGraphicsConfig)gc[0]).getDevice();
/*     */
/*  63 */     VirtualUniverse.loadLibraries();
/*     */
/*  66 */     int[] attrList = new int[9];
/*     */
View Full Code Here

Examples of apple.awt.CGraphicsDevice

/*  84 */     return new J3dGraphicsConfig(gd, pixelFormat);
/*     */   }
/*     */
/*     */   boolean isGraphicsConfigSupported(GraphicsConfigTemplate3D template, GraphicsConfiguration gc)
/*     */   {
/*  93 */     CGraphicsDevice gd = (CGraphicsDevice)((CGraphicsConfig)gc).getDevice();
/*     */
/*  99 */     int[] attrList = new int[9];
/*     */
/* 101 */     attrList[0] = template.getRedSize();
/* 102 */     attrList[1] = template.getGreenSize();
View Full Code Here

Examples of apple.awt.CGraphicsDevice

/* 122 */     return true;
/*     */   }
/*     */
/*     */   boolean hasStereo(GraphicsConfiguration gc)
/*     */   {
/* 129 */     CGraphicsDevice gd = (CGraphicsDevice)((CGraphicsConfig)gc).getDevice();
/*     */
/* 131 */     NativeScreenInfo nativeScreenInfo = new NativeScreenInfo(gd);
/*     */
/* 133 */     int display = nativeScreenInfo.getDisplay();
/* 134 */     int screen = nativeScreenInfo.getScreen();
View Full Code Here

Examples of apple.awt.CGraphicsDevice

/* 138 */     return isStereoAvailable(0L, display, screen, pixelFormat);
/*     */   }
/*     */
/*     */   boolean hasDoubleBuffer(GraphicsConfiguration gc)
/*     */   {
/* 144 */     CGraphicsDevice gd = (CGraphicsDevice)((CGraphicsConfig)gc).getDevice();
/*     */
/* 146 */     NativeScreenInfo nativeScreenInfo = new NativeScreenInfo(gd);
/*     */
/* 148 */     int display = nativeScreenInfo.getDisplay();
/* 149 */     int screen = nativeScreenInfo.getScreen();
View Full Code Here

Examples of apple.awt.CGraphicsDevice

/* 153 */     return isDoubleBufferAvailable(0L, display, screen, pixelFormat);
/*     */   }
/*     */
/*     */   boolean hasSceneAntialiasingAccum(GraphicsConfiguration gc)
/*     */   {
/* 159 */     CGraphicsDevice gd = (CGraphicsDevice)((CGraphicsConfig)gc).getDevice();
/*     */
/* 161 */     NativeScreenInfo nativeScreenInfo = new NativeScreenInfo(gd);
/*     */
/* 163 */     int display = nativeScreenInfo.getDisplay();
/* 164 */     int screen = nativeScreenInfo.getScreen();
View Full Code Here

Examples of apple.awt.CGraphicsDevice

/* 168 */     return isSceneAntialiasingAccumAvailable(0L, display, screen, pixelFormat);
/*     */   }
/*     */
/*     */   boolean hasSceneAntialiasingMultiSamples(GraphicsConfiguration gc)
/*     */   {
/* 174 */     CGraphicsDevice gd = (CGraphicsDevice)((CGraphicsConfig)gc).getDevice();
/*     */
/* 176 */     NativeScreenInfo nativeScreenInfo = new NativeScreenInfo(gd);
/*     */
/* 178 */     int display = nativeScreenInfo.getDisplay();
/* 179 */     int screen = nativeScreenInfo.getScreen();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.