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();
}
}
Aggregations