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 protectedPictureImpl(Bitmap bitmap, boolean recycleOnRelease, SurfaceTextureReadyCallback surfaceTextureReadyListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected InputAGSLBindingcreateAGSLBinding()protected InputGLBindingcreateGLBinding()Used by InterlacedRenderer on a GL thread before rendering starts.protected InputGLBinding.SRGBConfiggetPreferredSRGBConfig()Vector2igetSize()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:
closein classInputViewsAsset.Impl
-
createGLBinding
protected InputGLBinding createGLBinding()
Description copied from class:InputViewsAsset.ImplUsed by InterlacedRenderer on a GL thread before rendering starts.- Specified by:
createGLBindingin classInputViewsAsset.Impl
-
createAGSLBinding
protected InputAGSLBinding createAGSLBinding()
- Specified by:
createAGSLBindingin classInputViewsAsset.Impl
-
getPreferredSRGBConfig
protected InputGLBinding.SRGBConfig getPreferredSRGBConfig()
- Specified by:
getPreferredSRGBConfigin classInputViewsAsset.Impl
-
getSize
public Vector2i getSize()
Description copied from class:InputViewsAsset.ImplUsed by InterlacedRenderer to initializeInterlacedSurfaceViewConfig.sourceSize. If the size is not known, return null and set it when it's known usingInterlacedSurfaceViewConfigAccessor.- Overrides:
getSizein classInputViewsAsset.Impl
-
-