RenderThread
RenderThread waits for the SphericalVideoPlayer's SurfaceTexture to be available then sets up a GL rendering context, creates an external texture for the video decoder to output to, asks for vsync updates from the Choreographer, attaches a frame available listener the video decode SurfaceTexture, then begins video playback.
Drag events from the main thread will be forwarded to the RenderThread's message queue so that it may update the view state.
SphericalSceneRenderer draws the 360 video scene each frame using the latest latched video texture frame.
Properties
Functions
Link copied to clipboard
Creates a new Surface that will be used to render the 360 video.
Link copied to clipboard
Notifies the video render thread that the surface is available.
Link copied to clipboard
Notifies the video render thread that the surface has changed.
Link copied to clipboard
Notifies the video render thread that the surface has been destroyed.
Link copied to clipboard