Package com.leia.sdk.views
Class InputViewsAsset.PictureImpl
- java.lang.Object
-
- com.leia.sdk.views.InputViewsAsset.Impl
-
- com.leia.sdk.views.InputViewsAsset.PictureImpl
-
- Enclosing class:
- InputViewsAsset
public static class InputViewsAsset.PictureImpl extends InputViewsAsset.Impl
-
-
Field Summary
-
Fields inherited from class com.leia.sdk.views.InputViewsAsset.Impl
mIsValid, mSurfaceTextureReadyListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PictureImpl(Bitmap bitmap, boolean recycleOnRelease, SurfaceTextureReadyCallback surfaceTextureReadyListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected InputAGSLBinding
createAGSLBinding()
protected InputGLBinding
createGLBinding()
Used by InterlacedRenderer on a GL thread before rendering starts.protected InputGLBinding.SRGBConfig
getPreferredSRGBConfig()
Vector2i
getSize()
Used by InterlacedRenderer to initializeInterlacedSurfaceViewConfig.sourceSize
.-
Methods inherited from class com.leia.sdk.views.InputViewsAsset.Impl
isValid, logThread
-
-
-
-
Constructor Detail
-
PictureImpl
protected PictureImpl(Bitmap bitmap, boolean recycleOnRelease, SurfaceTextureReadyCallback surfaceTextureReadyListener)
-
-
Method Detail
-
close
public void close()
- Overrides:
close
in classInputViewsAsset.Impl
-
createGLBinding
protected InputGLBinding createGLBinding()
Description copied from class:InputViewsAsset.Impl
Used by InterlacedRenderer on a GL thread before rendering starts.- Specified by:
createGLBinding
in classInputViewsAsset.Impl
-
createAGSLBinding
protected InputAGSLBinding createAGSLBinding()
- Specified by:
createAGSLBinding
in classInputViewsAsset.Impl
-
getPreferredSRGBConfig
protected InputGLBinding.SRGBConfig getPreferredSRGBConfig()
- Specified by:
getPreferredSRGBConfig
in classInputViewsAsset.Impl
-
getSize
public Vector2i getSize()
Description copied from class:InputViewsAsset.Impl
Used by InterlacedRenderer to initializeInterlacedSurfaceViewConfig.sourceSize
. If the size is not known, return null and set it when it's known usingInterlacedSurfaceViewConfigAccessor
.- Overrides:
getSize
in classInputViewsAsset.Impl
-
-