GlTextureProducer.Listener


public interface GlTextureProducer.Listener


Listener for texture output.

Summary

Public methods

abstract void
onTextureRendered(
    GlTextureProducer textureProducer,
    GlTextureInfo outputTexture,
    long presentationTimeUs,
    long syncObject
)

Called when a texture has been rendered to.

Public methods

onTextureRendered

abstract void onTextureRendered(
    GlTextureProducer textureProducer,
    GlTextureInfo outputTexture,
    long presentationTimeUs,
    long syncObject
)

Called when a texture has been rendered to.

Parameters
GlTextureProducer textureProducer

The GlTextureProducer that has rendered the texture.

GlTextureInfo outputTexture

The texture that has been rendered.

long presentationTimeUs

The presentation time of the texture.

long syncObject

A GL sync object that has been inserted into the GL command stream after the last write of the outputTexture. Value is 0 if and only if the glFenceSync failed.