1072 lines
27 KiB
Smali
1072 lines
27 KiB
Smali
|
.class public Lorg/webrtc/EglBase14;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "EglBase14.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lorg/webrtc/EglBase;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation build Landroid/annotation/TargetApi;
|
||
|
value = 0x12
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lorg/webrtc/EglBase14$Context;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final CURRENT_SDK_VERSION:I
|
||
|
|
||
|
.field public static final EGLExt_SDK_VERSION:I = 0x12
|
||
|
|
||
|
.field public static final TAG:Ljava/lang/String; = "EglBase14"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public eglConfig:Landroid/opengl/EGLConfig;
|
||
|
|
||
|
.field public eglContext:Landroid/opengl/EGLContext;
|
||
|
|
||
|
.field public eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
.field public eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||
|
|
||
|
sput v0, Lorg/webrtc/EglBase14;->CURRENT_SDK_VERSION:I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Lorg/webrtc/EglBase14$Context;[I)V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
sget-object v0, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
invoke-static {}, Lorg/webrtc/EglBase14;->getEglDisplay()Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
invoke-static {v0, p2}, Lorg/webrtc/EglBase14;->getEglConfig(Landroid/opengl/EGLDisplay;[I)Landroid/opengl/EGLConfig;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
iput-object p2, p0, Lorg/webrtc/EglBase14;->eglConfig:Landroid/opengl/EGLConfig;
|
||
|
|
||
|
iget-object p2, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglConfig:Landroid/opengl/EGLConfig;
|
||
|
|
||
|
invoke-static {p1, p2, v0}, Lorg/webrtc/EglBase14;->createEglContext(Lorg/webrtc/EglBase14$Context;Landroid/opengl/EGLDisplay;Landroid/opengl/EGLConfig;)Landroid/opengl/EGLContext;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iput-object p1, p0, Lorg/webrtc/EglBase14;->eglContext:Landroid/opengl/EGLContext;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic access$000()I
|
||
|
.locals 1
|
||
|
|
||
|
sget v0, Lorg/webrtc/EglBase14;->CURRENT_SDK_VERSION:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method private checkIsNotReleased()V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_DISPLAY:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglContext:Landroid/opengl/EGLContext;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_CONTEXT:Landroid/opengl/EGLContext;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglConfig:Landroid/opengl/EGLConfig;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v1, "This object has been released"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public static createEglContext(Lorg/webrtc/EglBase14$Context;Landroid/opengl/EGLDisplay;Landroid/opengl/EGLConfig;)Landroid/opengl/EGLContext;
|
||
|
.locals 3
|
||
|
|
||
|
if-eqz p0, :cond_1
|
||
|
|
||
|
invoke-static {p0}, Lorg/webrtc/EglBase14$Context;->access$100(Lorg/webrtc/EglBase14$Context;)Landroid/opengl/EGLContext;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_CONTEXT:Landroid/opengl/EGLContext;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string p1, "Invalid sharedContext"
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 v0, 0x3
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
fill-array-data v0, :array_0
|
||
|
|
||
|
if-nez p0, :cond_2
|
||
|
|
||
|
sget-object p0, Landroid/opengl/EGL14;->EGL_NO_CONTEXT:Landroid/opengl/EGLContext;
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_2
|
||
|
invoke-static {p0}, Lorg/webrtc/EglBase14$Context;->access$100(Lorg/webrtc/EglBase14$Context;)Landroid/opengl/EGLContext;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:goto_1
|
||
|
sget-object v1, Lorg/webrtc/EglBase;->lock:Ljava/lang/Object;
|
||
|
|
||
|
monitor-enter v1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:try_start_0
|
||
|
invoke-static {p1, p2, p0, v0, v2}, Landroid/opengl/EGL14;->eglCreateContext(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLConfig;Landroid/opengl/EGLContext;[II)Landroid/opengl/EGLContext;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
monitor-exit v1
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
sget-object p1, Landroid/opengl/EGL14;->EGL_NO_CONTEXT:Landroid/opengl/EGLContext;
|
||
|
|
||
|
if-eq p0, p1, :cond_3
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_3
|
||
|
new-instance p0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string p1, "Failed to create EGL context: 0x"
|
||
|
|
||
|
invoke-static {p1}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-static {p2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p0
|
||
|
|
||
|
:try_start_1
|
||
|
monitor-exit v1
|
||
|
:try_end_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:array_0
|
||
|
.array-data 4
|
||
|
0x3098
|
||
|
0x2
|
||
|
0x3038
|
||
|
.end array-data
|
||
|
.end method
|
||
|
|
||
|
.method private createSurfaceInternal(Ljava/lang/Object;)V
|
||
|
.locals 4
|
||
|
|
||
|
instance-of v0, p1, Landroid/view/Surface;
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
instance-of v0, p1, Landroid/graphics/SurfaceTexture;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p1, Ljava/lang/IllegalStateException;
|
||
|
|
||
|
const-string v0, "Input must be either a Surface or SurfaceTexture"
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
invoke-direct {p0}, Lorg/webrtc/EglBase14;->checkIsNotReleased()V
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-ne v0, v1, :cond_3
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
const/16 v1, 0x3038
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
aput v1, v0, v2
|
||
|
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v3, p0, Lorg/webrtc/EglBase14;->eglConfig:Landroid/opengl/EGLConfig;
|
||
|
|
||
|
invoke-static {v1, v3, p1, v0, v2}, Landroid/opengl/EGL14;->eglCreateWindowSurface(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLConfig;Ljava/lang/Object;[II)Landroid/opengl/EGLSurface;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iput-object p1, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
iget-object p1, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v0, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-eq p1, v0, :cond_2
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_2
|
||
|
new-instance p1, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v0, "Failed to create window surface: 0x"
|
||
|
|
||
|
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
invoke-static {v1}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
|
||
|
:cond_3
|
||
|
new-instance p1, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v0, "Already has an EGLSurface"
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public static getEglConfig(Landroid/opengl/EGLDisplay;[I)Landroid/opengl/EGLConfig;
|
||
|
.locals 10
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
new-array v9, v0, [Landroid/opengl/EGLConfig;
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
array-length v6, v9
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/4 v5, 0x0
|
||
|
|
||
|
const/4 v8, 0x0
|
||
|
|
||
|
move-object v1, p0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move-object v4, v9
|
||
|
|
||
|
move-object v7, v0
|
||
|
|
||
|
invoke-static/range {v1 .. v8}, Landroid/opengl/EGL14;->eglChooseConfig(Landroid/opengl/EGLDisplay;[II[Landroid/opengl/EGLConfig;II[II)Z
|
||
|
|
||
|
move-result p0
|
||
|
|
||
|
if-eqz p0, :cond_2
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
aget p1, v0, p0
|
||
|
|
||
|
if-lez p1, :cond_1
|
||
|
|
||
|
aget-object p0, v9, p0
|
||
|
|
||
|
if-eqz p0, :cond_0
|
||
|
|
||
|
return-object p0
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string p1, "eglChooseConfig returned null"
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_1
|
||
|
new-instance p0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string p1, "Unable to find any matching EGL config"
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
:cond_2
|
||
|
new-instance p0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string p1, "eglChooseConfig failed: 0x"
|
||
|
|
||
|
invoke-static {p1}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public static getEglDisplay()Landroid/opengl/EGLDisplay;
|
||
|
.locals 4
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
invoke-static {v0}, Landroid/opengl/EGL14;->eglGetDisplay(I)Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
sget-object v2, Landroid/opengl/EGL14;->EGL_NO_DISPLAY:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
if-eq v1, v2, :cond_1
|
||
|
|
||
|
const/4 v2, 0x2
|
||
|
|
||
|
new-array v2, v2, [I
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
invoke-static {v1, v2, v0, v2, v3}, Landroid/opengl/EGL14;->eglInitialize(Landroid/opengl/EGLDisplay;[II[II)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v1, "Unable to initialize EGL14: 0x"
|
||
|
|
||
|
invoke-static {v1}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
new-instance v0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v1, "Unable to get EGL14 display: 0x"
|
||
|
|
||
|
invoke-static {v1}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
invoke-static {v2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public static isEGL14Supported()Z
|
||
|
.locals 4
|
||
|
|
||
|
const-string v0, "SDK version: "
|
||
|
|
||
|
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sget v1, Lorg/webrtc/EglBase14;->CURRENT_SDK_VERSION:I
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, ". isEGL14Supported: "
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
sget v1, Lorg/webrtc/EglBase14;->CURRENT_SDK_VERSION:I
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
const/16 v3, 0x12
|
||
|
|
||
|
if-lt v1, v3, :cond_0
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const-string v1, "EglBase14"
|
||
|
|
||
|
invoke-static {v1, v0}, Lorg/webrtc/Logging;->d(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sget v0, Lorg/webrtc/EglBase14;->CURRENT_SDK_VERSION:I
|
||
|
|
||
|
if-lt v0, v3, :cond_1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
return v2
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public createDummyPbufferSurface()V
|
||
|
.locals 1
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
invoke-virtual {p0, v0, v0}, Lorg/webrtc/EglBase14;->createPbufferSurface(II)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public createPbufferSurface(II)V
|
||
|
.locals 4
|
||
|
|
||
|
invoke-direct {p0}, Lorg/webrtc/EglBase14;->checkIsNotReleased()V
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-ne v0, v1, :cond_1
|
||
|
|
||
|
const/4 v0, 0x5
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
const/16 v1, 0x3057
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
aput v1, v0, v2
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
aput p1, v0, v1
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
const/16 v3, 0x3056
|
||
|
|
||
|
aput v3, v0, v1
|
||
|
|
||
|
const/4 v1, 0x3
|
||
|
|
||
|
aput p2, v0, v1
|
||
|
|
||
|
const/4 v1, 0x4
|
||
|
|
||
|
const/16 v3, 0x3038
|
||
|
|
||
|
aput v3, v0, v1
|
||
|
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v3, p0, Lorg/webrtc/EglBase14;->eglConfig:Landroid/opengl/EGLConfig;
|
||
|
|
||
|
invoke-static {v1, v3, v0, v2}, Landroid/opengl/EGL14;->eglCreatePbufferSurface(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLConfig;[II)Landroid/opengl/EGLSurface;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v1, "Failed to create pixel buffer surface with size "
|
||
|
|
||
|
const-string v2, "x"
|
||
|
|
||
|
const-string v3, ": 0x"
|
||
|
|
||
|
invoke-static {v1, p1, v2, p2, v3}, Lf/e/b/a/a;->b(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
invoke-static {p2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
new-instance p1, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string p2, "Already has an EGLSurface"
|
||
|
|
||
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|
||
|
|
||
|
.method public createSurface(Landroid/graphics/SurfaceTexture;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0, p1}, Lorg/webrtc/EglBase14;->createSurfaceInternal(Ljava/lang/Object;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public createSurface(Landroid/view/Surface;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0, p1}, Lorg/webrtc/EglBase14;->createSurfaceInternal(Ljava/lang/Object;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public detachCurrent()V
|
||
|
.locals 5
|
||
|
|
||
|
sget-object v0, Lorg/webrtc/EglBase;->lock:Ljava/lang/Object;
|
||
|
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
sget-object v2, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v3, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v4, Landroid/opengl/EGL14;->EGL_NO_CONTEXT:Landroid/opengl/EGLContext;
|
||
|
|
||
|
invoke-static {v1, v2, v3, v4}, Landroid/opengl/EGL14;->eglMakeCurrent(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;Landroid/opengl/EGLSurface;Landroid/opengl/EGLContext;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v1, Ljava/lang/RuntimeException;
|
||
|
|
||
|
new-instance v2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v3, "eglDetachCurrent failed: 0x"
|
||
|
|
||
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
invoke-static {v3}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-direct {v1, v2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v1
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception v1
|
||
|
|
||
|
monitor-exit v0
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
throw v1
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic getEglBaseContext()Lorg/webrtc/EglBase$Context;
|
||
|
.locals 1
|
||
|
|
||
|
invoke-virtual {p0}, Lorg/webrtc/EglBase14;->getEglBaseContext()Lorg/webrtc/EglBase14$Context;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getEglBaseContext()Lorg/webrtc/EglBase14$Context;
|
||
|
.locals 2
|
||
|
|
||
|
new-instance v0, Lorg/webrtc/EglBase14$Context;
|
||
|
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglContext:Landroid/opengl/EGLContext;
|
||
|
|
||
|
invoke-direct {v0, v1}, Lorg/webrtc/EglBase14$Context;-><init>(Landroid/opengl/EGLContext;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hasSurface()Z
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public makeCurrent()V
|
||
|
.locals 5
|
||
|
|
||
|
invoke-direct {p0}, Lorg/webrtc/EglBase14;->checkIsNotReleased()V
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-eq v0, v1, :cond_1
|
||
|
|
||
|
sget-object v0, Lorg/webrtc/EglBase;->lock:Ljava/lang/Object;
|
||
|
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v2, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
iget-object v3, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
iget-object v4, p0, Lorg/webrtc/EglBase14;->eglContext:Landroid/opengl/EGLContext;
|
||
|
|
||
|
invoke-static {v1, v2, v3, v4}, Landroid/opengl/EGL14;->eglMakeCurrent(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;Landroid/opengl/EGLSurface;Landroid/opengl/EGLContext;)Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v1, Ljava/lang/RuntimeException;
|
||
|
|
||
|
new-instance v2, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v3, "eglMakeCurrent failed: 0x"
|
||
|
|
||
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglGetError()I
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
invoke-static {v3}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-direct {v1, v2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v1
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception v1
|
||
|
|
||
|
monitor-exit v0
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
throw v1
|
||
|
|
||
|
:cond_1
|
||
|
new-instance v0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v1, "No EGLSurface - can\'t make current"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public release()V
|
||
|
.locals 2
|
||
|
|
||
|
invoke-direct {p0}, Lorg/webrtc/EglBase14;->checkIsNotReleased()V
|
||
|
|
||
|
invoke-virtual {p0}, Lorg/webrtc/EglBase14;->releaseSurface()V
|
||
|
|
||
|
invoke-virtual {p0}, Lorg/webrtc/EglBase14;->detachCurrent()V
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglContext:Landroid/opengl/EGLContext;
|
||
|
|
||
|
invoke-static {v0, v1}, Landroid/opengl/EGL14;->eglDestroyContext(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLContext;)Z
|
||
|
|
||
|
invoke-static {}, Landroid/opengl/EGL14;->eglReleaseThread()Z
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
invoke-static {v0}, Landroid/opengl/EGL14;->eglTerminate(Landroid/opengl/EGLDisplay;)Z
|
||
|
|
||
|
sget-object v0, Landroid/opengl/EGL14;->EGL_NO_CONTEXT:Landroid/opengl/EGLContext;
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/EglBase14;->eglContext:Landroid/opengl/EGLContext;
|
||
|
|
||
|
sget-object v0, Landroid/opengl/EGL14;->EGL_NO_DISPLAY:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/EglBase14;->eglConfig:Landroid/opengl/EGLConfig;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public releaseSurface()V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
invoke-static {v1, v0}, Landroid/opengl/EGL14;->eglDestroySurface(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;)Z
|
||
|
|
||
|
sget-object v0, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public surfaceHeight()I
|
||
|
.locals 5
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v2, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/16 v4, 0x3056
|
||
|
|
||
|
invoke-static {v1, v2, v4, v0, v3}, Landroid/opengl/EGL14;->eglQuerySurface(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;I[II)Z
|
||
|
|
||
|
aget v0, v0, v3
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public surfaceWidth()I
|
||
|
.locals 5
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
new-array v0, v0, [I
|
||
|
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v2, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
const/16 v4, 0x3057
|
||
|
|
||
|
invoke-static {v1, v2, v4, v0, v3}, Landroid/opengl/EGL14;->eglQuerySurface(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;I[II)Z
|
||
|
|
||
|
aget v0, v0, v3
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public swapBuffers()V
|
||
|
.locals 3
|
||
|
|
||
|
invoke-direct {p0}, Lorg/webrtc/EglBase14;->checkIsNotReleased()V
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
sget-object v0, Lorg/webrtc/EglBase;->lock:Ljava/lang/Object;
|
||
|
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v2, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
invoke-static {v1, v2}, Landroid/opengl/EGL14;->eglSwapBuffers(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;)Z
|
||
|
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception v1
|
||
|
|
||
|
monitor-exit v0
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
throw v1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance v0, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string v1, "No EGLSurface - can\'t swap buffers"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public swapBuffers(J)V
|
||
|
.locals 3
|
||
|
|
||
|
invoke-direct {p0}, Lorg/webrtc/EglBase14;->checkIsNotReleased()V
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
sget-object v1, Landroid/opengl/EGL14;->EGL_NO_SURFACE:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
if-eq v0, v1, :cond_0
|
||
|
|
||
|
sget-object v0, Lorg/webrtc/EglBase;->lock:Ljava/lang/Object;
|
||
|
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object v2, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
invoke-static {v1, v2, p1, p2}, Landroid/opengl/EGLExt;->eglPresentationTimeANDROID(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;J)Z
|
||
|
|
||
|
iget-object p1, p0, Lorg/webrtc/EglBase14;->eglDisplay:Landroid/opengl/EGLDisplay;
|
||
|
|
||
|
iget-object p2, p0, Lorg/webrtc/EglBase14;->eglSurface:Landroid/opengl/EGLSurface;
|
||
|
|
||
|
invoke-static {p1, p2}, Landroid/opengl/EGL14;->eglSwapBuffers(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSurface;)Z
|
||
|
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p1
|
||
|
|
||
|
monitor-exit v0
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
throw p1
|
||
|
|
||
|
:cond_0
|
||
|
new-instance p1, Ljava/lang/RuntimeException;
|
||
|
|
||
|
const-string p2, "No EGLSurface - can\'t swap buffers"
|
||
|
|
||
|
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
.end method
|