APIdia Launch Partner
Top Fields Constructors Methods
sun.java2d.opengl

pack-priv final Class OGLBlitLoops

Additional top-level classes in compilation unit: OGLSurfaceToSurfaceBlit, OGLSurfaceToSurfaceScale, OGLSurfaceToSurfaceTransform, OGLRTTSurfaceToSurfaceBlit, OGLRTTSurfaceToSurfaceScale, OGLRTTSurfaceToSurfaceTransform, OGLSurfaceToSwBlit, OGLSwToSurfaceBlit, OGLSwToSurfaceScale, OGLSwToSurfaceTransform, OGLSwToTextureBlit, OGLTextureToSurfaceBlit, OGLTextureToSurfaceScale, OGLTextureToSurfaceTransform, OGLGeneralBlit, OGLGeneralTransformedBlit, OGLAnyCompositeBlit.

extends Object
Class Inheritance
Imports
java.awt.AlphaComposite, .Composite, .Transparency, java.awt.geom.AffineTransform, java.awt.image.AffineTransformOp, .BufferedImage, .BufferedImageOp, java.lang.ref.WeakReference, sun.java2d.SurfaceData, sun.java2d.loops.Blit, .CompositeType, .GraphicsPrimitive, .GraphicsPrimitiveMgr, .ScaledBlit, .SurfaceType, .TransformBlit, sun.java2d.pipe.Region, .RenderBuffer, .RenderQueue, java.lang.annotation.Native

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private static final int
private static final int
OFFSET_SRCTYPE

The following offsets are used to pack the parameters in createPackedParams().

private static final int
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, AffineTransform xform, int hint, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2, int srctype, boolean texture)

private static int
createPackedParams(boolean isoblit, boolean texture, boolean rtt, boolean xform, int hint, int srctype)

Packs the given parameters into a single int value in order to save space on the rendering queue.

private static void
enqueueBlit(RenderQueue rq, SurfaceData src, SurfaceData dst, int packedParams, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2)

Enqueues a BLIT operation with the given parameters.

pack-priv static void
IsoBlit(SurfaceData srcData, SurfaceData dstData, BufferedImage srcImg, BufferedImageOp biop, Composite comp, Region clip, AffineTransform xform, int hint, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2, boolean texture)

Note

The srcImg and biop parameters are only used when invoked from the OGLBufImgOps.renderImageWithOp() method; in all other cases, this method can be called with null values for those two parameters, and they will be effectively ignored.

pack-priv static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

OFFSET_HINTback to summary
private static final int OFFSET_HINT
Annotations
@Native
OFFSET_ISOBLITback to summary
private static final int OFFSET_ISOBLIT
Annotations
@Native
OFFSET_RTTback to summary
private static final int OFFSET_RTT
Annotations
@Native
OFFSET_SRCTYPEback to summary
private static final int OFFSET_SRCTYPE

The following offsets are used to pack the parameters in createPackedParams(). (They are also used at the native level when unpacking the params.)

Annotations
@Native
OFFSET_TEXTUREback to summary
private static final int OFFSET_TEXTURE
Annotations
@Native
OFFSET_XFORMback to summary
private static final int OFFSET_XFORM
Annotations
@Native

Constructor Detail

OGLBlitLoopsback to summary
pack-priv OGLBlitLoops()

Method Detail

Blitback to summary
pack-priv static void Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, AffineTransform xform, int hint, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2, int srctype, boolean texture)
createPackedParamsback to summary
private static int createPackedParams(boolean isoblit, boolean texture, boolean rtt, boolean xform, int hint, int srctype)

Packs the given parameters into a single int value in order to save space on the rendering queue.

enqueueBlitback to summary
private static void enqueueBlit(RenderQueue rq, SurfaceData src, SurfaceData dst, int packedParams, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2)

Enqueues a BLIT operation with the given parameters. Note that the RenderQueue lock must be held before calling this method.

IsoBlitback to summary
pack-priv static void IsoBlit(SurfaceData srcData, SurfaceData dstData, BufferedImage srcImg, BufferedImageOp biop, Composite comp, Region clip, AffineTransform xform, int hint, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2, boolean texture)

Note

The srcImg and biop parameters are only used when invoked from the OGLBufImgOps.renderImageWithOp() method; in all other cases, this method can be called with null values for those two parameters, and they will be effectively ignored.

registerback to summary
pack-priv static void register()