40 lines
936 B
Java
40 lines
936 B
Java
|
package io.flutter.view;
|
||
|
|
||
|
import android.graphics.SurfaceTexture;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface TextureRegistry {
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public interface OnFrameConsumedListener {
|
||
|
void onFrameConsumed();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public interface OnTrimMemoryListener {
|
||
|
void onTrimMemory(int i);
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public interface SurfaceTextureEntry {
|
||
|
long id();
|
||
|
|
||
|
void release();
|
||
|
|
||
|
default void setOnFrameConsumedListener(OnFrameConsumedListener onFrameConsumedListener) {
|
||
|
}
|
||
|
|
||
|
default void setOnTrimMemoryListener(OnTrimMemoryListener onTrimMemoryListener) {
|
||
|
}
|
||
|
|
||
|
SurfaceTexture surfaceTexture();
|
||
|
}
|
||
|
|
||
|
SurfaceTextureEntry createSurfaceTexture();
|
||
|
|
||
|
default void onTrimMemory(int i) {
|
||
|
}
|
||
|
|
||
|
SurfaceTextureEntry registerSurfaceTexture(SurfaceTexture surfaceTexture);
|
||
|
}
|