Search in sources :

Example 1 with X11SurfaceData

use of sun.java2d.x11.X11SurfaceData in project jdk8u_jdk by JetBrains.

the class X11TextRenderer method drawGlyphList.

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();
    }
}
Also used : X11SurfaceData(sun.java2d.x11.X11SurfaceData) Region(sun.java2d.pipe.Region)

Aggregations

Region (sun.java2d.pipe.Region)1 X11SurfaceData (sun.java2d.x11.X11SurfaceData)1