Rabbit-R1/original r1/smali/smali_classes2/androidx/media3/common/GlObjectsProvider$1.smali
2024-05-21 17:08:36 -04:00

111 lines
2.9 KiB
Smali

.class Landroidx/media3/common/GlObjectsProvider$1;
.super Ljava/lang/Object;
.source "GlObjectsProvider.java"
# interfaces
.implements Landroidx/media3/common/GlObjectsProvider;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/media3/common/GlObjectsProvider;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# direct methods
.method constructor <init>()V
.locals 0
.line 38
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public createBuffersForTexture(III)Landroidx/media3/common/GlTextureInfo;
.locals 6
.annotation system Ldalvik/annotation/Throws;
value = {
Landroidx/media3/common/util/GlUtil$GlException;
}
.end annotation
.line 70
invoke-static {p1}, Landroidx/media3/common/util/GlUtil;->createFboForTexture(I)I
move-result v2
.line 71
new-instance p0, Landroidx/media3/common/GlTextureInfo;
const/4 v3, -0x1
move-object v0, p0
move v1, p1
move v4, p2
move v5, p3
invoke-direct/range {v0 .. v5}, Landroidx/media3/common/GlTextureInfo;-><init>(IIIII)V
return-object p0
.end method
.method public createEglContext(Landroid/opengl/EGLDisplay;I[I)Landroid/opengl/EGLContext;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroidx/media3/common/util/GlUtil$GlException;
}
.end annotation
.line 43
sget-object p0, Landroid/opengl/EGL14;->EGL_NO_CONTEXT:Landroid/opengl/EGLContext;
invoke-static {p0, p1, p2, p3}, Landroidx/media3/common/util/GlUtil;->createEglContext(Landroid/opengl/EGLContext;Landroid/opengl/EGLDisplay;I[I)Landroid/opengl/EGLContext;
move-result-object p0
return-object p0
.end method
.method public createEglSurface(Landroid/opengl/EGLDisplay;Ljava/lang/Object;IZ)Landroid/opengl/EGLSurface;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroidx/media3/common/util/GlUtil$GlException;
}
.end annotation
.line 55
invoke-static {p1, p2, p3, p4}, Landroidx/media3/common/util/GlUtil;->createEglSurface(Landroid/opengl/EGLDisplay;Ljava/lang/Object;IZ)Landroid/opengl/EGLSurface;
move-result-object p0
return-object p0
.end method
.method public createFocusedPlaceholderEglSurface(Landroid/opengl/EGLContext;Landroid/opengl/EGLDisplay;[I)Landroid/opengl/EGLSurface;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroidx/media3/common/util/GlUtil$GlException;
}
.end annotation
.line 63
invoke-static {p1, p2, p3}, Landroidx/media3/common/util/GlUtil;->createFocusedPlaceholderEglSurface(Landroid/opengl/EGLContext;Landroid/opengl/EGLDisplay;[I)Landroid/opengl/EGLSurface;
move-result-object p0
return-object p0
.end method