public abstract class GlLayer extends ImgLyUIView implements LayerI
Modifier and Type | Field and Description |
---|---|
protected LayerView |
callback |
protected Rect |
stage |
protected Transformation |
transformationGlSave |
protected Transformation |
transformationUiSave |
isAttached, showState, uiDensity, willDrawUi
Constructor and Description |
---|
GlLayer(Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
doRespondOnClick(TransformedMotionEvent event) |
Operator |
generateOperator(StateHandler stateHandler) |
View |
getView(Context context) |
void |
glDrawLayer(GlTexture backgroundTexture,
int width,
int height) |
abstract void |
glSetup() |
void |
invalidate()
Deprecated.
|
protected abstract void |
onDrawLayer(GlTexture backgroundTexture) |
void |
onMotionEvent(TransformedMotionEvent event) |
void |
onOperatorResult(SourceRequestAnswerI answer) |
boolean |
onTouchEvent(MotionEvent event)
Deprecated.
|
void |
postInvalidate()
Deprecated.
|
boolean |
releaseOperatorDirtyFlag() |
void |
render() |
void |
setLayerContainerCallback(LayerView layerView)
Deprecated.
|
void |
setTransformation(Transformation matrix) |
getStateHandler, onAttachedToUI, onAttachedToWindow, onDetachedFromUI, onDetachedFromWindow, onDrawUI, postInvalidateUi, setWillDrawUi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setImageRect
protected LayerView callback
protected Rect stage
protected Transformation transformationGlSave
protected Transformation transformationUiSave
public boolean doRespondOnClick(@NonNull TransformedMotionEvent event)
doRespondOnClick
in interface LayerI
public Operator generateOperator(@NonNull StateHandler stateHandler)
generateOperator
in interface LayerI
@NonNull public final View getView(Context context)
@WorkerThread public void glDrawLayer(GlTexture backgroundTexture, int width, int height)
@WorkerThread public abstract void glSetup()
@Deprecated public final void invalidate()
@WorkerThread protected abstract void onDrawLayer(GlTexture backgroundTexture)
@MainThread public void onMotionEvent(@NonNull TransformedMotionEvent event)
onMotionEvent
in interface LayerI
public void onOperatorResult(SourceRequestAnswerI answer)
onOperatorResult
in interface LayerI
@Deprecated public final boolean onTouchEvent(MotionEvent event)
@Deprecated public final void postInvalidate()
public boolean releaseOperatorDirtyFlag()
releaseOperatorDirtyFlag
in interface LayerI
@AnyThread public void render()
@Deprecated public void setLayerContainerCallback(LayerView layerView)
setLayerContainerCallback
in interface LayerI
@MainThread public void setTransformation(@NonNull Transformation matrix)
setTransformation
in interface LayerI