Rabbit-R1/switch port/smali/smali_classes3/org/webrtc/EglBase14Impl$Context.smali
2024-05-21 17:08:36 -04:00

78 lines
1.7 KiB
Smali

.class public Lorg/webrtc/EglBase14Impl$Context;
.super Ljava/lang/Object;
.source "EglBase14Impl.java"
# interfaces
.implements Lorg/webrtc/EglBase14$Context;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/webrtc/EglBase14Impl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Context"
.end annotation
# instance fields
.field private final egl14Context:Landroid/opengl/EGLContext;
# direct methods
.method public constructor <init>(Landroid/opengl/EGLContext;)V
.locals 0
.line 66
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lorg/webrtc/EglBase14Impl$Context;->egl14Context:Landroid/opengl/EGLContext;
return-void
.end method
# virtual methods
.method public getNativeEglContext()J
.locals 2
.line 62
invoke-static {}, Lorg/webrtc/EglBase14Impl;->access$000()I
move-result v0
const/16 v1, 0x15
if-lt v0, v1, :cond_0
iget-object p0, p0, Lorg/webrtc/EglBase14Impl$Context;->egl14Context:Landroid/opengl/EGLContext;
invoke-virtual {p0}, Landroid/opengl/EGLContext;->getNativeHandle()J
move-result-wide v0
goto :goto_0
:cond_0
iget-object p0, p0, Lorg/webrtc/EglBase14Impl$Context;->egl14Context:Landroid/opengl/EGLContext;
.line 63
invoke-virtual {p0}, Landroid/opengl/EGLContext;->getHandle()I
move-result p0
int-to-long v0, p0
:goto_0
return-wide v0
.end method
.method public getRawContext()Landroid/opengl/EGLContext;
.locals 0
iget-object p0, p0, Lorg/webrtc/EglBase14Impl$Context;->egl14Context:Landroid/opengl/EGLContext;
return-object p0
.end method