EglRenderer$3.smali
.class Lio/agora/base/internal/video/EglRenderer$3;
.super Ljava/lang/Object;
.source "EglRenderer.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lio/agora/base/internal/video/EglRenderer;->init(Lio/agora/base/internal/video/EglBase$Context;[ILio/agora/base/internal/video/RendererCommon$GlDrawer;Z)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/EglRenderer;
.field final synthetic val$configAttributes:[I
.field final synthetic val$sharedContext:Lio/agora/base/internal/video/EglBase$Context;
# direct methods
.method constructor <init>(Lio/agora/base/internal/video/EglRenderer;Lio/agora/base/internal/video/EglBase$Context;[I)V
.registers 4
.line 262
iput-object p1, p0, Lio/agora/base/internal/video/EglRenderer$3;->this$0:Lio/agora/base/internal/video/EglRenderer;
iput-object p2, p0, Lio/agora/base/internal/video/EglRenderer$3;->val$sharedContext:Lio/agora/base/internal/video/EglBase$Context;
iput-object p3, p0, Lio/agora/base/internal/video/EglRenderer$3;->val$configAttributes:[I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 4
.line 268
iget-object v0, p0, Lio/agora/base/internal/video/EglRenderer$3;->val$sharedContext:Lio/agora/base/internal/video/EglBase$Context;
if-nez v0, :cond_17
.line 269
iget-object v0, p0, Lio/agora/base/internal/video/EglRenderer$3;->this$0:Lio/agora/base/internal/video/EglRenderer;
const-string v1, "EglBase10.create context"
# invokes: Lio/agora/base/internal/video/EglRenderer;->logD(Ljava/lang/String;)V
invoke-static {v0, v1}, Lio/agora/base/internal/video/EglRenderer;->access$1000(Lio/agora/base/internal/video/EglRenderer;Ljava/lang/String;)V
.line 270
iget-object v0, p0, Lio/agora/base/internal/video/EglRenderer$3;->this$0:Lio/agora/base/internal/video/EglRenderer;
iget-object v1, p0, Lio/agora/base/internal/video/EglRenderer$3;->val$configAttributes:[I
invoke-static {v1}, Lio/agora/base/internal/video/EglBaseFactory;->createEgl10([I)Lio/agora/base/internal/video/EglBase;
move-result-object v1
# setter for: Lio/agora/base/internal/video/EglRenderer;->eglBase:Lio/agora/base/internal/video/EglBase;
invoke-static {v0, v1}, Lio/agora/base/internal/video/EglRenderer;->access$002(Lio/agora/base/internal/video/EglRenderer;Lio/agora/base/internal/video/EglBase;)Lio/agora/base/internal/video/EglBase;
goto :goto_2b
.line 272
:cond_17
iget-object v0, p0, Lio/agora/base/internal/video/EglRenderer$3;->this$0:Lio/agora/base/internal/video/EglRenderer;
const-string v1, "EglBase.create shared context"
# invokes: Lio/agora/base/internal/video/EglRenderer;->logD(Ljava/lang/String;)V
invoke-static {v0, v1}, Lio/agora/base/internal/video/EglRenderer;->access$1000(Lio/agora/base/internal/video/EglRenderer;Ljava/lang/String;)V
.line 273
iget-object v0, p0, Lio/agora/base/internal/video/EglRenderer$3;->this$0:Lio/agora/base/internal/video/EglRenderer;
iget-object v1, p0, Lio/agora/base/internal/video/EglRenderer$3;->val$sharedContext:Lio/agora/base/internal/video/EglBase$Context;
iget-object v2, p0, Lio/agora/base/internal/video/EglRenderer$3;->val$configAttributes:[I
invoke-static {v1, v2}, Lio/agora/base/internal/video/EglBaseFactory;->create(Lio/agora/base/internal/video/EglBase$Context;[I)Lio/agora/base/internal/video/EglBase;
move-result-object v1
# setter for: Lio/agora/base/internal/video/EglRenderer;->eglBase:Lio/agora/base/internal/video/EglBase;
invoke-static {v0, v1}, Lio/agora/base/internal/video/EglRenderer;->access$002(Lio/agora/base/internal/video/EglRenderer;Lio/agora/base/internal/video/EglBase;)Lio/agora/base/internal/video/EglBase;
:goto_2b
return-void
.end method