SurfaceTextureHelper$7.smali

.class Lio/agora/base/internal/video/SurfaceTextureHelper$7;
.super Ljava/lang/Object;
.source "SurfaceTextureHelper.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lio/agora/base/internal/video/SurfaceTextureHelper;->returnTextureFrame()V
.end annotation

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


# instance fields
.field final synthetic this$0:Lio/agora/base/internal/video/SurfaceTextureHelper;


# direct methods
.method constructor <init>(Lio/agora/base/internal/video/SurfaceTextureHelper;)V
    .registers 2

    .line 247
    iput-object p1, p0, Lio/agora/base/internal/video/SurfaceTextureHelper$7;->this$0:Lio/agora/base/internal/video/SurfaceTextureHelper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    .line 250
    iget-object v0, p0, Lio/agora/base/internal/video/SurfaceTextureHelper$7;->this$0:Lio/agora/base/internal/video/SurfaceTextureHelper;

    const/4 v1, 0x0

    # setter for: Lio/agora/base/internal/video/SurfaceTextureHelper;->isOesTextureInUse:Z
    invoke-static {v0, v1}, Lio/agora/base/internal/video/SurfaceTextureHelper;->access$902(Lio/agora/base/internal/video/SurfaceTextureHelper;Z)Z

    .line 251
    iget-object v0, p0, Lio/agora/base/internal/video/SurfaceTextureHelper$7;->this$0:Lio/agora/base/internal/video/SurfaceTextureHelper;

    # getter for: Lio/agora/base/internal/video/SurfaceTextureHelper;->isQuitting:Z
    invoke-static {v0}, Lio/agora/base/internal/video/SurfaceTextureHelper;->access$1000(Lio/agora/base/internal/video/SurfaceTextureHelper;)Z

    move-result v0

    if-eqz v0, :cond_20

    .line 252
    iget-object v0, p0, Lio/agora/base/internal/video/SurfaceTextureHelper$7;->this$0:Lio/agora/base/internal/video/SurfaceTextureHelper;

    # getter for: Lio/agora/base/internal/video/SurfaceTextureHelper;->textureBufferPool:Lio/agora/base/internal/video/TextureBufferPool;
    invoke-static {v0}, Lio/agora/base/internal/video/SurfaceTextureHelper;->access$1100(Lio/agora/base/internal/video/SurfaceTextureHelper;)Lio/agora/base/internal/video/TextureBufferPool;

    move-result-object v0

    invoke-virtual {v0}, Lio/agora/base/internal/video/TextureBufferPool;->anyTextureInUse()Z

    move-result v0

    if-nez v0, :cond_25

    .line 253
    iget-object v0, p0, Lio/agora/base/internal/video/SurfaceTextureHelper$7;->this$0:Lio/agora/base/internal/video/SurfaceTextureHelper;

    # invokes: Lio/agora/base/internal/video/SurfaceTextureHelper;->release()V
    invoke-static {v0}, Lio/agora/base/internal/video/SurfaceTextureHelper;->access$1200(Lio/agora/base/internal/video/SurfaceTextureHelper;)V

    goto :goto_25

    .line 256
    :cond_20
    iget-object v0, p0, Lio/agora/base/internal/video/SurfaceTextureHelper$7;->this$0:Lio/agora/base/internal/video/SurfaceTextureHelper;

    # invokes: Lio/agora/base/internal/video/SurfaceTextureHelper;->tryDeliverTextureFrame()V
    invoke-static {v0}, Lio/agora/base/internal/video/SurfaceTextureHelper;->access$500(Lio/agora/base/internal/video/SurfaceTextureHelper;)V

    :cond_25
    :goto_25
    return-void
.end method