a.smali
.class public final Lw7/a;
.super Ljava/lang/Object;
.source "GlTexture.kt"
# interfaces
.implements Ls7/b;
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\r\n\u0002\u0010\u0002\n\u0002\u0008\u0003\u0018\u00002\u00020\u0001B\'\u0008\u0017\u0012\u0008\u0008\u0002\u0010\u0002\u001a\u00020\u0003\u0012\u0008\u0008\u0002\u0010\u0004\u001a\u00020\u0003\u0012\n\u0008\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\u0002\u0010\u0006B1\u0008\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0003\u0012\u0006\u0010\u0008\u001a\u00020\u0003\u0012\u0008\u0008\u0002\u0010\t\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\nB?\u0008\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0003\u0012\u0008\u0010\u0007\u001a\u0004\u0018\u00010\u0003\u0012\u0008\u0010\u0008\u001a\u0004\u0018\u00010\u0003\u0012\u0008\u0010\t\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\u0002\u0010\u000bJ\u0008\u0010\u0010\u001a\u00020\u0011H\u0016J\u0006\u0010\u0012\u001a\u00020\u0011J\u0008\u0010\u0013\u001a\u00020\u0011H\u0016R\u0011\u0010\u0005\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000c\u0010\rR\u0011\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000e\u0010\rR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000f\u0010\r\u00a8\u0006\u0014"
}
d2 = {
"Lcom/otaliastudios/opengl/texture/GlTexture;",
"Lcom/otaliastudios/opengl/core/GlBindable;",
"unit",
"",
"target",
"id",
"(IILjava/lang/Integer;)V",
"width",
"height",
"format",
"(IIIII)V",
"(IILjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V",
"getId",
"()I",
"getTarget",
"getUnit",
"bind",
"",
"release",
"unbind",
"egloo_release"
}
k = 0x1
mv = {
0x1,
0x1,
0xf
}
.end annotation
# instance fields
.field public final a:I
.field public final b:I
.field public final c:I
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(II)V
.registers 9
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
move-object v0, p0
move v1, p1
move v2, p2
invoke-direct/range {v0 .. v5}, Lw7/a;-><init>(IILjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(IILjava/lang/Integer;)V
.registers 11
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x0
move-object v0, p0
move v1, p1
move v2, p2
move-object v3, p3
invoke-direct/range {v0 .. v6}, Lw7/a;-><init>(IILjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V
return-void
.end method
.method public synthetic constructor <init>(IILjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.registers 6
.annotation build Lkotlin/jvm/JvmOverloads;
.end annotation
and-int/lit8 p5, p4, 0x1
if-eqz p5, :cond_7
const p1, 0x84c0
:cond_7
and-int/lit8 p5, p4, 0x2
if-eqz p5, :cond_e
const p2, 0x8d65
:cond_e
and-int/lit8 p4, p4, 0x4
if-eqz p4, :cond_13
const/4 p3, 0x0
:cond_13
invoke-direct {p0, p1, p2, p3}, Lw7/a;-><init>(IILjava/lang/Integer;)V
return-void
.end method
.method public constructor <init>(IILjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V
.registers 8
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lw7/a;->b:I
iput p2, p0, Lw7/a;->c:I
if-eqz p3, :cond_e
invoke-virtual {p3}, Ljava/lang/Integer;->intValue()I
move-result p1
goto :goto_1c
:cond_e
const/4 p1, 0x1
new-array p2, p1, [I
const/4 v0, 0x0
invoke-static {p1, p2, v0}, Landroid/opengl/GLES20;->glGenTextures(I[II)V
const-string p1, "glGenTextures"
invoke-static {p1}, Ls7/a;->a(Ljava/lang/String;)V
aget p1, p2, v0
:goto_1c
iput p1, p0, Lw7/a;->a:I
if-nez p3, :cond_28
new-instance p1, Lw7/a$a;
invoke-direct {p1, p0, p4, p5, p6}, Lw7/a$a;-><init>(Lw7/a;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V
invoke-static {p0, p1}, Ls7/c;->a(Ls7/b;Lkotlin/jvm/functions/Function0;)V
:cond_28
return-void
.end method
# virtual methods
.method public a()V
.registers 3
iget v0, p0, Lw7/a;->c:I
const/4 v1, 0x0
invoke-static {v0, v1}, Landroid/opengl/GLES20;->glBindTexture(II)V
const v0, 0x84c0
invoke-static {v0}, Landroid/opengl/GLES20;->glActiveTexture(I)V
const-string v0, "unbind"
invoke-static {v0}, Ls7/a;->a(Ljava/lang/String;)V
return-void
.end method
.method public b()V
.registers 3
iget v0, p0, Lw7/a;->b:I
invoke-static {v0}, Landroid/opengl/GLES20;->glActiveTexture(I)V
iget v0, p0, Lw7/a;->c:I
iget v1, p0, Lw7/a;->a:I
invoke-static {v0, v1}, Landroid/opengl/GLES20;->glBindTexture(II)V
const-string v0, "bind"
invoke-static {v0}, Ls7/a;->a(Ljava/lang/String;)V
return-void
.end method
.method public final c()I
.registers 2
iget v0, p0, Lw7/a;->a:I
return v0
.end method
.method public final d()I
.registers 2
iget v0, p0, Lw7/a;->c:I
return v0
.end method
.method public final e()V
.registers 5
const/4 v0, 0x1
new-array v1, v0, [I
iget v2, p0, Lw7/a;->a:I
const/4 v3, 0x0
aput v2, v1, v3
invoke-static {v0, v1, v3}, Landroid/opengl/GLES20;->glDeleteTextures(I[II)V
return-void
.end method