public class GlFocusOperation extends GlOperation
GlOperation.Callback
Modifier and Type | Field and Description |
---|---|
static float |
MAX_BLUR_RADIUS_DIVIDER |
needSetup, stageHeight, stageWidth
Constructor and Description |
---|
GlFocusOperation() |
Modifier and Type | Method and Description |
---|---|
void |
bindStateHandler(StateHandler handler) |
protected void |
blurGaussian(GlTexture texture,
android.graphics.Rect imageRect,
float blurRadius,
float posX,
float posY,
float angle,
float radius,
float gradientRadius) |
protected void |
blurLinear(GlTexture texture,
android.graphics.Rect imageRect,
float blurRadius,
float posX,
float posY,
float angle,
float radius,
float gradientRadius) |
protected void |
blurMirrored(GlTexture texture,
android.graphics.Rect imageRect,
float blurRadius,
float posX,
float posY,
float angle,
float radius,
float gradientRadius) |
protected void |
blurRadial(GlTexture texture,
android.graphics.Rect imageRect,
float blurRadius,
float posX,
float posY,
float radius,
float gradientRadius) |
GlTexture |
doOperation(GlTexture texture) |
void |
flagAsDirty() |
protected void |
glSetup() |
isDirty, isSourceDirty, onRelease, removeDirtyFlag, removeSourceDirtyFlag, render, setCallback, setSize, toString
createGlContext, destroyGlContext, finalize, markAsUnused, release, resetToDisplayViewPort, setDisplayViewPort
public static final float MAX_BLUR_RADIUS_DIVIDER
protected void glSetup()
glSetup
in class GlOperation
@Nullable public GlTexture doOperation(GlTexture texture)
doOperation
in class GlOperation
public void bindStateHandler(StateHandler handler)
bindStateHandler
in class GlOperation
@AnyThread public void flagAsDirty()
flagAsDirty
in class GlOperation
@WorkerThread protected void blurRadial(GlTexture texture, android.graphics.Rect imageRect, float blurRadius, float posX, float posY, float radius, float gradientRadius)
@WorkerThread protected void blurMirrored(GlTexture texture, android.graphics.Rect imageRect, float blurRadius, float posX, float posY, float angle, float radius, float gradientRadius)
@WorkerThread protected void blurLinear(GlTexture texture, android.graphics.Rect imageRect, float blurRadius, float posX, float posY, float angle, float radius, float gradientRadius)
@WorkerThread protected void blurGaussian(GlTexture texture, android.graphics.Rect imageRect, float blurRadius, float posX, float posY, float angle, float radius, float gradientRadius)