a$a.smali

.class public final Lw7/a$a;
.super Lkotlin/jvm/internal/Lambda;
.source "GlTexture.kt"

# interfaces
.implements Lkotlin/jvm/functions/Function0;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lw7/a;-><init>(IILjava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/jvm/internal/Lambda;",
        "Lkotlin/jvm/functions/Function0<",
        "Lkotlin/Unit;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic a:Lw7/a;

.field public final synthetic b:Ljava/lang/Integer;

.field public final synthetic c:Ljava/lang/Integer;

.field public final synthetic d:Ljava/lang/Integer;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Lw7/a;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V
    .registers 5

    iput-object p1, p0, Lw7/a$a;->a:Lw7/a;

    iput-object p2, p0, Lw7/a$a;->b:Ljava/lang/Integer;

    iput-object p3, p0, Lw7/a$a;->c:Ljava/lang/Integer;

    iput-object p4, p0, Lw7/a$a;->d:Ljava/lang/Integer;

    const/4 p1, 0x0

    invoke-direct {p0, p1}, Lkotlin/jvm/internal/Lambda;-><init>(I)V

    return-void
.end method


# virtual methods
.method public bridge synthetic invoke()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lw7/a$a;->invoke()V

    sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;

    return-object v0
.end method

.method public final invoke()V
    .registers 11

    iget-object v0, p0, Lw7/a$a;->b:Ljava/lang/Integer;

    if-eqz v0, :cond_32

    iget-object v0, p0, Lw7/a$a;->c:Ljava/lang/Integer;

    if-eqz v0, :cond_32

    iget-object v0, p0, Lw7/a$a;->d:Ljava/lang/Integer;

    if-eqz v0, :cond_32

    iget-object v0, p0, Lw7/a$a;->a:Lw7/a;

    invoke-virtual {v0}, Lw7/a;->d()I

    move-result v1

    const/4 v2, 0x0

    iget-object v0, p0, Lw7/a$a;->d:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v3

    iget-object v0, p0, Lw7/a$a;->b:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v4

    iget-object v0, p0, Lw7/a$a;->c:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v5

    const/4 v6, 0x0

    iget-object v0, p0, Lw7/a$a;->d:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v7

    const/16 v8, 0x1401

    const/4 v9, 0x0

    invoke-static/range {v1 .. v9}, Landroid/opengl/GLES20;->glTexImage2D(IIIIIIIILjava/nio/Buffer;)V

    :cond_32
    iget-object v0, p0, Lw7/a$a;->a:Lw7/a;

    invoke-virtual {v0}, Lw7/a;->d()I

    move-result v0

    const/16 v1, 0x2801

    const/16 v2, 0x2600

    int-to-float v2, v2

    invoke-static {v0, v1, v2}, Landroid/opengl/GLES20;->glTexParameterf(IIF)V

    iget-object v0, p0, Lw7/a$a;->a:Lw7/a;

    invoke-virtual {v0}, Lw7/a;->d()I

    move-result v0

    const/16 v1, 0x2800

    const/16 v2, 0x2601

    int-to-float v2, v2

    invoke-static {v0, v1, v2}, Landroid/opengl/GLES20;->glTexParameterf(IIF)V

    iget-object v0, p0, Lw7/a$a;->a:Lw7/a;

    invoke-virtual {v0}, Lw7/a;->d()I

    move-result v0

    const/16 v1, 0x2802

    const v2, 0x812f

    invoke-static {v0, v1, v2}, Landroid/opengl/GLES20;->glTexParameteri(III)V

    iget-object v0, p0, Lw7/a$a;->a:Lw7/a;

    invoke-virtual {v0}, Lw7/a;->d()I

    move-result v0

    const/16 v1, 0x2803

    invoke-static {v0, v1, v2}, Landroid/opengl/GLES20;->glTexParameteri(III)V

    const-string v0, "glTexParameter"

    invoke-static {v0}, Ls7/a;->a(Ljava/lang/String;)V

    return-void
.end method