Flush: Add javadoc to mention flush limitation.

PiperOrigin-RevId: 576482193
This commit is contained in:
huangdarwin 2023-10-25 04:07:34 -07:00 committed by Copybara-Service
parent fe6305931d
commit e91ce868ad

View File

@ -188,6 +188,9 @@ public interface GlShaderProgram {
* <p>The {@code GlShaderProgram} should reclaim the ownership of its allocated textures, * <p>The {@code GlShaderProgram} should reclaim the ownership of its allocated textures,
* {@linkplain InputListener#onFlush notify} its {@link InputListener} about the flush event, and * {@linkplain InputListener#onFlush notify} its {@link InputListener} about the flush event, and
* {@linkplain InputListener#onReadyToAcceptInputFrame report its availability} if necessary. * {@linkplain InputListener#onReadyToAcceptInputFrame report its availability} if necessary.
*
* <p>The implementation must not {@linkplain OutputListener#onOutputFrameAvailable output frames}
* until after this method returns.
*/ */
void flush(); void flush();