| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv XRBackend | |
| pack-priv MaskTile | |
| public static final int | |
| pack-priv long | |
| pack-priv int | |
| pack-priv int | |
| pack-priv ArrayList | |
| pack-priv XRCompositeManager | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | allocTiles(DirtyRegion maskArea)
Allocates enough MaskTile instances, to cover the whole mask area, or resets existing ones. |
| public void | clearUploadMask(int mask, int w, int h)
Clears the area of the mask-pixmap used for uploading aa coverage values. |
| protected void | compositeSingleTile(XRSurfaceData dst, MaskTile tile, DirtyRegion dirtyArea, boolean maskRequired, int tileStartX, int tileStartY, XRColor maskColor)
Renders the rectangles provided to the mask, and does a composition operation with the properties set inXRCompositeManager. |
| public void | fillMask(XRSurfaceData dst)
Transfers the geometry stored (rectangles, lines) to one or more masks, and renders the result to the destination surface. |
| public MaskTile | |
| private void | limitRectCoords(GrowableRectArray rects, int index)
Limits the rect's coordinates to the mask coordinates. |
| protected void | |
| public int | uploadMask(int w, int h, int maskscan, int maskoff, byte[] mask)
Uploads aa geometry generated for maskblit/fill into the mask pixmap. |
| allocatedTiles | back to summary |
|---|---|
| pack-priv int allocatedTiles | |
| con | back to summary |
|---|---|
| pack-priv XRBackend con | |
| mainTile | back to summary |
|---|---|
| pack-priv MaskTile mainTile | |
| MASK_SIZE | back to summary |
|---|---|
| public static final int MASK_SIZE | |
| maskGC | back to summary |
|---|---|
| pack-priv long maskGC | |
| maskPicture | back to summary |
|---|---|
| pack-priv int maskPicture | |
| maskPixmap | back to summary |
|---|---|
| pack-priv int maskPixmap | |
| tileList | back to summary |
|---|---|
| pack-priv ArrayList<MaskTile> tileList | |
| xrMgr | back to summary |
|---|---|
| pack-priv XRCompositeManager xrMgr | |
| xTiles | back to summary |
|---|---|
| pack-priv int xTiles | |
| yTiles | back to summary |
|---|---|
| pack-priv int yTiles | |
| MaskTileManager | back to summary |
|---|---|
| public MaskTileManager(XRCompositeManager xrMgr, int parentXid) | |
| allocTiles | back to summary |
|---|---|
| protected void allocTiles(DirtyRegion maskArea) Allocates enough MaskTile instances, to cover the whole mask area, or resets existing ones. | |
| clearUploadMask | back to summary |
|---|---|
| public void clearUploadMask(int mask, int w, int h) Clears the area of the mask-pixmap used for uploading aa coverage values. | |
| compositeSingleTile | back to summary |
|---|---|
| protected void compositeSingleTile(XRSurfaceData dst, MaskTile tile, DirtyRegion dirtyArea, boolean maskRequired, int tileStartX, int tileStartY, XRColor maskColor) Renders the rectangles provided to the mask, and does a composition operation with the properties set inXRCompositeManager. | |
| fillMask | back to summary |
|---|---|
| public void fillMask(XRSurfaceData dst) Transfers the geometry stored (rectangles, lines) to one or more masks, and renders the result to the destination surface. | |
| getMainTile | back to summary |
|---|---|
public MaskTile getMainTile()
| |
| limitRectCoords | back to summary |
|---|---|
| private void limitRectCoords(GrowableRectArray rects, int index) Limits the rect's coordinates to the mask coordinates. The result is used by growDirtyRegion. | |
| tileRects | back to summary |
|---|---|
| protected void tileRects() Tiles the stored rectangles, if they are larger than the MASK_SIZE | |
| uploadMask | back to summary |
|---|---|
| public int uploadMask(int w, int h, int maskscan, int maskoff, byte[] mask) Uploads aa geometry generated for maskblit/fill into the mask pixmap. | |