sun.java2d.x11.X11SurfaceData Java Examples

The following examples show how to use sun.java2d.x11.X11SurfaceData. 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: X11GraphicsConfig.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #2
Source File: X11TextRenderer.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #3
Source File: X11GraphicsConfig.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #4
Source File: X11GraphicsConfig.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #5
Source File: X11TextRenderer.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #6
Source File: X11GraphicsConfig.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #7
Source File: X11TextRenderer.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #8
Source File: X11TextRenderer.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #9
Source File: X11GraphicsConfig.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #10
Source File: X11TextRenderer.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #11
Source File: X11GraphicsConfig.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #12
Source File: X11GraphicsConfig.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #13
Source File: X11TextRenderer.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #14
Source File: X11GraphicsConfig.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #15
Source File: X11TextRenderer.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #16
Source File: X11GraphicsConfig.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #17
Source File: X11TextRenderer.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #18
Source File: X11TextRenderer.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #19
Source File: X11GraphicsConfig.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #20
Source File: X11TextRenderer.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #21
Source File: X11GraphicsConfig.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #22
Source File: X11GraphicsConfig.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #23
Source File: X11TextRenderer.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #24
Source File: X11GraphicsConfig.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public synchronized SurfaceType getSurfaceType() {
    if (surfaceType != null) {
        return surfaceType;
    }

    surfaceType = X11SurfaceData.getSurfaceType(this, Transparency.OPAQUE);
    return surfaceType;
}
 
Example #25
Source File: X11TextRenderer.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #26
Source File: X11TextRenderer.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
    SunToolkit.awtLock();
    try {
        X11SurfaceData x11sd = (X11SurfaceData)sg2d.surfaceData;
        Region clip = sg2d.getCompClip();
        long xgc = x11sd.getRenderGC(clip, SunGraphics2D.COMP_ISCOPY,
                                     null, sg2d.pixel);
        doDrawGlyphList(x11sd.getNativeOps(), xgc, clip, gl);
    } finally {
        SunToolkit.awtUnlock();
    }
}
 
Example #27
Source File: X11GraphicsConfig.java    From jdk8u-jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Creates a new SurfaceData that will be associated with the given
 * X11ComponentPeer.
 */
public SurfaceData createSurfaceData(X11ComponentPeer peer) {
    return X11SurfaceData.createData(peer);
}
 
Example #28
Source File: X11GraphicsConfig.java    From jdk8u-jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Creates a new SurfaceData that will be associated with the given
 * X11ComponentPeer.
 */
public SurfaceData createSurfaceData(X11ComponentPeer peer) {
    return X11SurfaceData.createData(peer);
}
 
Example #29
Source File: X11GraphicsConfig.java    From jdk8u_jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Creates a new SurfaceData that will be associated with the given
 * X11ComponentPeer.
 */
public SurfaceData createSurfaceData(X11ComponentPeer peer) {
    return X11SurfaceData.createData(peer);
}
 
Example #30
Source File: X11GraphicsConfig.java    From jdk8u-dev-jdk with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Creates a new SurfaceData that will be associated with the given
 * X11ComponentPeer.
 */
public SurfaceData createSurfaceData(X11ComponentPeer peer) {
    return X11SurfaceData.createData(peer);
}