Avoid spinning while queueing input to ExternalTextureProcessor.
This change adds ExternalTextureManager which implements InputListener to only queue input frames to the ExternalTextureProcessor when it is ready to accept an input frame. This replaces the old retry-logic in GlEffectsFrameProcessor. Before this change, the retrying in GlEffectFrameProcessor wasted CPU time if input becomes available faster than the ExternalTextureProcessor can process it. PiperOrigin-RevId: 467177659
Showing
with
222 additions
and
131 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment