本文整理汇总了Java中sun.java2d.opengl.OGLRenderQueue类的典型用法代码示例。如果您正苦于以下问题:Java OGLRenderQueue类的具体用法?Java OGLRenderQueue怎么用?Java OGLRenderQueue使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
OGLRenderQueue类属于sun.java2d.opengl包,在下文中一共展示了OGLRenderQueue类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: flushOnscreenGraphics
import sun.java2d.opengl.OGLRenderQueue; //导入依赖的package包/类
protected static final void flushOnscreenGraphics(){
final OGLRenderQueue rq = OGLRenderQueue.getInstance();
rq.lock();
try {
rq.flushNow();
} finally {
rq.unlock();
}
}
示例2: sync
import sun.java2d.opengl.OGLRenderQueue; //导入依赖的package包/类
@Override
public void sync() {
// flush the GDI/DD buffers
nativeSync();
// now flush the OGL pipeline (this is a no-op if OGL is not enabled)
OGLRenderQueue.sync();
// now flush the D3D pipeline (this is a no-op if D3D is not enabled)
D3DRenderQueue.sync();
}
示例3: sync
import sun.java2d.opengl.OGLRenderQueue; //导入依赖的package包/类
@Override
public void sync() {
// flush the X11 buffer
nativeSync();
// now flush the OGL pipeline (this is a no-op if OGL is not enabled)
OGLRenderQueue.sync();
}
示例4: flushOnscreenGraphics
import sun.java2d.opengl.OGLRenderQueue; //导入依赖的package包/类
protected static final void flushOnscreenGraphics(){
final OGLRenderQueue rq = OGLRenderQueue.getInstance();
rq.lock();
try {
rq.flushNow(false);
} finally {
rq.unlock();
}
}
示例5: sync
import sun.java2d.opengl.OGLRenderQueue; //导入依赖的package包/类
public void sync() {
// flush the GDI/DD buffers
nativeSync();
// now flush the OGL pipeline (this is a no-op if OGL is not enabled)
OGLRenderQueue.sync();
// now flush the D3D pipeline (this is a no-op if D3D is not enabled)
D3DRenderQueue.sync();
}
示例6: sync
import sun.java2d.opengl.OGLRenderQueue; //导入依赖的package包/类
public void sync() {
// flush the X11 buffer
nativeSync();
// now flush the OGL pipeline (this is a no-op if OGL is not enabled)
OGLRenderQueue.sync();
}
示例7: sync
import sun.java2d.opengl.OGLRenderQueue; //导入依赖的package包/类
@Override
public void sync() {
// flush the OGL pipeline (this is a no-op if OGL is not enabled)
OGLRenderQueue.sync();
// setNeedsDisplay() selector was sent to the appropriate CALayer so now
// we have to flush the native selectors queue.
flushNativeSelectors();
}