sun.java2d.opengl.OGLRenderQueue Java Examples

The following examples show how to use sun.java2d.opengl.OGLRenderQueue. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LWCToolkit.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #2
Source File: WToolkit.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #3
Source File: LWComponentPeer.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #4
Source File: WToolkit.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #5
Source File: UNIXToolkit.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #6
Source File: LWCToolkit.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #7
Source File: LWComponentPeer.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #8
Source File: WToolkit.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #9
Source File: UNIXToolkit.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #10
Source File: LWComponentPeer.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #11
Source File: WToolkit.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
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();
}
 
Example #12
Source File: LWComponentPeer.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #13
Source File: WToolkit.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
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();
}
 
Example #14
Source File: LWCToolkit.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #15
Source File: LWComponentPeer.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #16
Source File: WToolkit.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #17
Source File: UNIXToolkit.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #18
Source File: LWCToolkit.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #19
Source File: LWComponentPeer.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #20
Source File: WToolkit.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #21
Source File: UNIXToolkit.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #22
Source File: LWCToolkit.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #23
Source File: LWComponentPeer.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #24
Source File: WToolkit.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #25
Source File: UNIXToolkit.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #26
Source File: LWCToolkit.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #27
Source File: UNIXToolkit.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #28
Source File: LWCToolkit.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
@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();
}
 
Example #29
Source File: LWComponentPeer.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected static final void flushOnscreenGraphics(){
    final OGLRenderQueue rq = OGLRenderQueue.getInstance();
    rq.lock();
    try {
        rq.flushNow();
    } finally {
        rq.unlock();
    }
}
 
Example #30
Source File: WToolkit.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
@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();
}