| Modifier and Type | Class and Description |
|---|---|
| protected static interface | |
| protected static interface | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private CompositeType | |
| private SurfaceType | |
| private String | methodSignature
INSTANCE DATA MEMBERS DESCRIBING CHARACTERISTICS OF THIS PRIMITIVE |
| private long | |
| private SurfaceType | |
| public static final int | |
| public static String | |
| public static int | |
| public static final int | |
| pack-priv static HashMap | |
| public static PrintStream | |
| public static final int | |
| private int | |
| private static int |
| Access | Constructor and Description |
|---|---|
| protected | GraphicsPrimitive(String methodSignature, int primTypeID, SurfaceType sourceType, CompositeType compositeType, SurfaceType destType)
Create a new GraphicsPrimitive with all of the required descriptive information. |
| protected | GraphicsPrimitive(long pNativePrim, String methodSignature, int primTypeID, SurfaceType sourceType, CompositeType compositeType, SurfaceType destType)
Create a new GraphicsPrimitive for native invocation with all of the required descriptive information. |
| Modifier and Type | Method and Description |
|---|---|
| protected static SurfaceData | |
| protected static SurfaceData | convertFrom(Blit ob, SurfaceData srcData, int srcX, int srcY, int w, int h, SurfaceData dstData, int type)
|
| protected static void | convertTo(Blit ob, SurfaceData srcImg, SurfaceData dstImg, Region clip, int dstX, int dstY, int w, int h)
|
| protected static Blit | |
| public final CompositeType | |
| public final SurfaceType | |
| protected static GraphicsPrimitive | |
| public final long | |
| public final int | |
| public final String | |
| public final SurfaceType | |
| private static PrintStream | |
| public final int | |
| protected GraphicsPrimitive | makePrimitive(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype)
Produces specific primitive loop if the current object is registered as a
general loop, otherwise the |
| public static final synchronized int | |
| public static final synchronized int | |
| public final boolean | satisfies(String
The signature of the given operation. Must be
== (not just .equals) the signature string given by the
abstract class that declares the operation. signature, SurfaceType The surface type for the source of the operation srctype, CompositeType The composite type for the operation comptype, SurfaceType The surface type for the destination of the operation dsttype)Return true if this primitive can be used for the given signature surfaces, and composite. |
| pack-priv final boolean | |
| protected void | |
| protected void | |
| public static String | |
| public static String | |
| public static String | |
| public String | |
| public static synchronized void | |
| public abstract GraphicsPrimitive | |
| public static boolean |
| cachedname | back to summary |
|---|---|
| private String cachedname | |
| compositeType | back to summary |
|---|---|
| private CompositeType compositeType | |
| destType | back to summary |
|---|---|
| private SurfaceType destType | |
| methodSignature | back to summary |
|---|---|
| private String methodSignature INSTANCE DATA MEMBERS DESCRIBING CHARACTERISTICS OF THIS PRIMITIVE | |
| pNativePrim | back to summary |
|---|---|
| private long pNativePrim | |
| sourceType | back to summary |
|---|---|
| private SurfaceType sourceType | |
| TRACECOUNTS | back to summary |
|---|---|
| public static final int TRACECOUNTS | |
| tracefile | back to summary |
|---|---|
| public static String tracefile | |
| traceflags | back to summary |
|---|---|
| public static int traceflags | |
| TRACELOG | back to summary |
|---|---|
| public static final int TRACELOG | |
| traceMap | back to summary |
|---|---|
| pack-priv static HashMap<Object, int[]> traceMap | |
| traceout | back to summary |
|---|---|
| public static PrintStream traceout | |
| TRACETIMESTAMP | back to summary |
|---|---|
| public static final int TRACETIMESTAMP | |
| uniqueID | back to summary |
|---|---|
| private int uniqueID | |
| unusedPrimID | back to summary |
|---|---|
| private static int unusedPrimID | |
| GraphicsPrimitive | back to summary |
|---|---|
| protected GraphicsPrimitive(String methodSignature, int primTypeID, SurfaceType sourceType, CompositeType compositeType, SurfaceType destType) Create a new GraphicsPrimitive with all of the required descriptive information. | |
| GraphicsPrimitive | back to summary |
|---|---|
| protected GraphicsPrimitive(long pNativePrim, String methodSignature, int primTypeID, SurfaceType sourceType, CompositeType compositeType, SurfaceType destType) Create a new GraphicsPrimitive for native invocation with all of the required descriptive information. | |
| convertFrom | back to summary |
|---|---|
| protected static SurfaceData convertFrom(Blit ob, SurfaceData srcData, int srcX, int srcY, int w, int h, SurfaceData dstData) | |
| convertFrom | back to summary |
|---|---|
| protected static SurfaceData convertFrom(Blit ob, SurfaceData srcData, int srcX, int srcY, int w, int h, SurfaceData dstData, int type) | |
| convertTo | back to summary |
|---|---|
| protected static void convertTo(Blit ob, SurfaceData srcImg, SurfaceData dstImg, Region clip, int dstX, int dstY, int w, int h) | |
| createConverter | back to summary |
|---|---|
| protected static Blit createConverter(SurfaceType srctype, SurfaceType dsttype) | |
| getCompositeType | back to summary |
|---|---|
| public final CompositeType getCompositeType() | |
| getDestType | back to summary |
|---|---|
| public final SurfaceType getDestType() | |
| getGeneralOp | back to summary |
|---|---|
| protected static GraphicsPrimitive getGeneralOp(int primID, CompositeType comptype) | |
| getNativePrim | back to summary |
|---|---|
| public final long getNativePrim() | |
| getPrimTypeID | back to summary |
|---|---|
| public final int getPrimTypeID() Gets unique id for this GraphicsPrimitive type. This id is used to identify the TYPE of primitive (Blit vs. BlitBg) as opposed to INSTANCE of primitive.
| |
| getSignature | back to summary |
|---|---|
| public final String getSignature() | |
| getSourceType | back to summary |
|---|---|
| public final SurfaceType getSourceType() | |
| getTraceOutputFile | back to summary |
|---|---|
| private static PrintStream getTraceOutputFile() | |
| getUniqueID | back to summary |
|---|---|
| public final int getUniqueID() Gets instance ID of this graphics primitive. Instance ID is comprised of four distinct ids (ORed together) that uniquely identify each instance of a GraphicsPrimitive object. The four ids making up instance ID are: 1. primitive id - identifier shared by all primitives of the same type (eg. all Blits have the same primitive id) 2. sourcetype id - identifies source surface type 3. desttype id - identifies destination surface type 4. compositetype id - identifies composite used
| |
| makePrimitive | back to summary |
|---|---|
| protected GraphicsPrimitive makePrimitive(SurfaceType srctype, CompositeType comptype, SurfaceType dsttype) Produces specific primitive loop if the current object is registered as a
general loop, otherwise the
| |
| makePrimTypeID | back to summary |
|---|---|
| public static final synchronized int makePrimTypeID() | |
| makeUniqueID | back to summary |
|---|---|
| public static final synchronized int makeUniqueID(int primTypeID, SurfaceType src, CompositeType cmp, SurfaceType dst) | |
| satisfies | back to summary |
|---|---|
| public final boolean satisfies(String signature, SurfaceType srctype, CompositeType comptype, SurfaceType dsttype) Return true if this primitive can be used for the given signature surfaces, and composite.
| |
| satisfiesSameAs | back to summary |
|---|---|
| pack-priv final boolean satisfiesSameAs(GraphicsPrimitive other) | |
| setupGeneralBinaryOp | back to summary |
|---|---|
| protected void setupGeneralBinaryOp(GraphicsPrimitive. | |
| setupGeneralUnaryOp | back to summary |
|---|---|
| protected void setupGeneralUnaryOp(GraphicsPrimitive. | |
| simplename | back to summary |
|---|---|
| public static String simplename(Field[] fields, Object o) | |
| simplename | back to summary |
|---|---|
| public static String simplename(SurfaceType st) | |
| simplename | back to summary |
|---|---|
| public static String simplename(CompositeType ct) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| tracePrimitive | back to summary |
|---|---|
| public static synchronized void tracePrimitive(Object prim) | |
| traceWrap | back to summary |
|---|---|
| public abstract GraphicsPrimitive traceWrap() | |
| tracingEnabled | back to summary |
|---|---|
| public static boolean tracingEnabled() | |
| Modifier and Type | Method and Description |
|---|---|
| public CompositeType | |
| public SurfaceType | |
| public int | |
| public String | |
| public SurfaceType | |
| public void | setPrimitives(Blit srcconverter, Blit dstconverter, GraphicsPrimitive genericop, Blit resconverter)
This method allows the setupGeneralBinaryOp method to set the converters into the General version of the Primitive. |
| getCompositeType | back to summary |
|---|---|
| public CompositeType getCompositeType() | |
| getDestType | back to summary |
|---|---|
| public SurfaceType getDestType() | |
| getPrimTypeID | back to summary |
|---|---|
| public int getPrimTypeID() | |
| getSignature | back to summary |
|---|---|
| public String getSignature() | |
| getSourceType | back to summary |
|---|---|
| public SurfaceType getSourceType() These 4 methods are implemented automatically for any GraphicsPrimitive. They are used by setupGeneralBinaryOp to retrieve the information needed to find the right converter primitives. | |
| setPrimitives | back to summary |
|---|---|
| public void setPrimitives(Blit srcconverter, Blit dstconverter, GraphicsPrimitive genericop, Blit resconverter) This method allows the setupGeneralBinaryOp method to set the converters into the General version of the Primitive. | |
| Modifier and Type | Method and Description |
|---|---|
| public CompositeType | |
| public SurfaceType | |
| public int | |
| public String | |
| public void | setPrimitives(Blit dstconverter, GraphicsPrimitive genericop, Blit resconverter)
This method allows the setupGeneralUnaryOp method to set the converters into the General version of the Primitive. |
| getCompositeType | back to summary |
|---|---|
| public CompositeType getCompositeType() These 3 methods are implemented automatically for any GraphicsPrimitive. They are used by setupGeneralUnaryOp to retrieve the information needed to find the right converter primitives. | |
| getDestType | back to summary |
|---|---|
| public SurfaceType getDestType() | |
| getPrimTypeID | back to summary |
|---|---|
| public int getPrimTypeID() | |
| getSignature | back to summary |
|---|---|
| public String getSignature() | |
| setPrimitives | back to summary |
|---|---|
| public void setPrimitives(Blit dstconverter, GraphicsPrimitive genericop, Blit resconverter) This method allows the setupGeneralUnaryOp method to set the converters into the General version of the Primitive. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static void |
| TraceReporter | back to summary |
|---|---|
| public TraceReporter() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |
| setShutdownHook | back to summary |
|---|---|
| public static void setShutdownHook() | |