public class NGExternalNode extends NGNode
| Modifier and Type | Class and Description |
|---|---|
private static class |
NGExternalNode.BufferData |
private static class |
NGExternalNode.RenderData |
NGNode.DirtyFlag, NGNode.RenderRootResult| Modifier and Type | Field and Description |
|---|---|
private NGExternalNode.BufferData |
bufferData |
private java.util.concurrent.locks.ReentrantLock |
bufferLock |
private Texture |
dsttexture |
private NGExternalNode.RenderData |
rd |
private java.util.concurrent.atomic.AtomicReference<NGExternalNode.RenderData> |
renderData |
childDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, DIRTY_REGION_CONTAINS_NODE_BOUNDS, DIRTY_REGION_CONTAINS_OR_INTERSECTS_NODE_BOUNDS, DIRTY_REGION_INTERSECTS_NODE_BOUNDS, dirtyBounds, dirtyChildrenAccumulated, TEMP_TRANSFORM, transformedBounds| Constructor and Description |
|---|
NGExternalNode() |
| Modifier and Type | Method and Description |
|---|---|
private Texture |
createTexture(Graphics g,
NGExternalNode.RenderData rd) |
protected boolean |
hasOverlappingContents() |
void |
markContentDirty() |
protected void |
renderContent(Graphics g) |
void |
repaintDirtyRegion(int dirtyX,
int dirtyY,
int dirtyWidth,
int dirtyHeight) |
void |
setImageBounds(int x,
int y,
int width,
int height,
float usrWidth,
float usrHeight) |
void |
setImageBuffer(java.nio.Buffer buffer,
int x,
int y,
int width,
int height,
float usrWidth,
float usrHeight,
int linestride,
int scale) |
void |
setLock(java.util.concurrent.locks.ReentrantLock lock) |
accumulateDirtyRegions, accumulateGroupDirtyRegion, accumulateNodeDirtyRegion, applyClip, applyEffect, applyTransform, checkBoundsInQuad, clearDirty, clearDirtyTree, clearPainted, computeNodeRenderRoot, computeOpaqueRegion, computePadding, computeRenderRoot, doPreCulling, doRender, drawDirtyOpts, effectChanged, geometryChanged, getCacheFilter, getClipNode, getClippedBounds, getCompleteBounds, getContentBounds, getEffect, getEffectBounds, getEffectFilter, getFilterContext, getName, getNodeBlendMode, getOpacity, getOpaqueRegion, getParent, getRenderRoot, getTransform, hasOpaqueRegion, hasVisuals, invalidateCache, invalidateCacheByTranslation, invalidateOpaqueRegion, isClean, isContentBounds2D, isDepthTest, isOpaqueRegionInvalid, isReadbackSupported, isRectClip, isShape3D, isVisible, markCullRegions, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, release, render, renderClip, renderEffect, renderForcedContent, renderForClip, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setTransformMatrix, setVisible, supportsOpaqueRegions, toString, visualsChangedprivate Texture dsttexture
private NGExternalNode.BufferData bufferData
private final java.util.concurrent.atomic.AtomicReference<NGExternalNode.RenderData> renderData
private NGExternalNode.RenderData rd
private volatile java.util.concurrent.locks.ReentrantLock bufferLock
protected void renderContent(Graphics g)
renderContent in class NGNodeprivate Texture createTexture(Graphics g, NGExternalNode.RenderData rd)
public void setLock(java.util.concurrent.locks.ReentrantLock lock)
public void setImageBuffer(java.nio.Buffer buffer,
int x,
int y,
int width,
int height,
float usrWidth,
float usrHeight,
int linestride,
int scale)
public void setImageBounds(int x,
int y,
int width,
int height,
float usrWidth,
float usrHeight)
public void repaintDirtyRegion(int dirtyX,
int dirtyY,
int dirtyWidth,
int dirtyHeight)
public void markContentDirty()
protected boolean hasOverlappingContents()
hasOverlappingContents in class NGNode