APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.java2d.x11

public final Class X11PMBlitLoops

extends Blit
Class Inheritance
Imports
sun.awt.SunToolkit, sun.java2d.loops.GraphicsPrimitive, .GraphicsPrimitiveMgr, .GraphicsPrimitiveProxy, .CompositeType, .SurfaceType, .Blit, .MaskBlit, sun.java2d.pipe.Region, sun.java2d.SurfaceData, java.awt.Composite, java.awt.image.IndexColorModel

X11PMBlitLoops This class accelerates Blits between two surfaces of types *PM. Since the onscreen surface is of that type and some of the offscreen surfaces may be of that type (if they were created via X11OffScreenImage), then this type of Blit will accelerated double-buffer copies between those two surfaces.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
X11PMBlitLoops.DelegateBlitLoop

This loop is used to render from a BITMASK Sw surface data to the Hw cached copies managed by SurfaceDataProxies.

Field Summary

Inherited from sun.java2d.loops.Blit:
methodSignatureprimTypeID

Constructor Summary

AccessConstructor and Description
public
X11PMBlitLoops(SurfaceType srcType, SurfaceType dstType, boolean over)

Method Summary

Modifier and TypeMethod and Description
public void
Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h)

Overrides sun.java2d.loops.Blit.Blit.

All Blit implementors must have this invoker method

private native void
nativeBlit(long srcData, long dstData, long xgc, Region clip, int sx, int sy, int dx, int dy, int w, int h)

Blit This native method is where all of the work happens in the accelerated Blit.

public static void
private static native void
updateBitmask(SurfaceData src, SurfaceData dst, boolean isICM)

Inherited from sun.java2d.loops.Blit:
getFromCachelocatemakePrimitivetraceWrap

Constructor Detail

X11PMBlitLoopsback to summary
public X11PMBlitLoops(SurfaceType srcType, SurfaceType dstType, boolean over)

Method Detail

Blitback to summary
public void Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h)

Overrides sun.java2d.loops.Blit.Blit.

Doc from sun.java2d.loops.Blit.Blit.

All Blit implementors must have this invoker method

Annotations
@Override
nativeBlitback to summary
private native void nativeBlit(long srcData, long dstData, long xgc, Region clip, int sx, int sy, int dx, int dy, int w, int h)

Blit This native method is where all of the work happens in the accelerated Blit.

registerback to summary
public static void register()
updateBitmaskback to summary
private static native void updateBitmask(SurfaceData src, SurfaceData dst, boolean isICM)
sun.java2d.x11 back to summary

pack-priv final Class X11PMBlitLoops.DelegateBlitLoop

extends Blit
Class Inheritance

This loop is used to render from a BITMASK Sw surface data to the Hw cached copies managed by SurfaceDataProxies. It first uses a delegate opaque Blit to perform the copy of the pixel data and then updates the X11 clipping bitmask from the transparent pixels in the source.

Field Summary

Modifier and TypeField and Description
pack-priv SurfaceType
Inherited from sun.java2d.loops.Blit:
methodSignatureprimTypeID

Constructor Summary

AccessConstructor and Description
public
DelegateBlitLoop(SurfaceType
SurfaceType for which the loop should be registered
realDstType
,
SurfaceType
SurfaceType which will be used for finding delegate loop
delegateDstType
)

Method Summary

Modifier and TypeMethod and Description
public void
Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h)

Overrides sun.java2d.loops.Blit.Blit.

All Blit implementors must have this invoker method

Inherited from sun.java2d.loops.Blit:
getFromCachelocatemakePrimitivetraceWrap

Field Detail

dstTypeback to summary
pack-priv SurfaceType dstType

Constructor Detail

DelegateBlitLoopback to summary
public DelegateBlitLoop(SurfaceType realDstType, SurfaceType delegateDstType)
Parameters
realDstType:SurfaceType

SurfaceType for which the loop should be registered

delegateDstType:SurfaceType

SurfaceType which will be used for finding delegate loop

Method Detail

Blitback to summary
public void Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h)

Overrides sun.java2d.loops.Blit.Blit.

Doc from sun.java2d.loops.Blit.Blit.

All Blit implementors must have this invoker method

Annotations
@Override