Files
vtosters/smali/smali_classes2/com/vk/attachpicker/u/GLTextureView$i.smali
T

673 lines
20 KiB
Smali

.class Lcom/vk/attachpicker/u/GLTextureView$i;
.super Ljava/lang/Object;
.source "GLTextureView.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/vk/attachpicker/u/GLTextureView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "i"
.end annotation
# instance fields
.field private a:Ljava/lang/ref/WeakReference;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/ref/WeakReference<",
"Lcom/vk/attachpicker/u/GLTextureView;",
">;"
}
.end annotation
.end field
.field b:Ljavax/microedition/khronos/egl/EGL10;
.field c:Ljavax/microedition/khronos/egl/EGLDisplay;
.field d:Ljavax/microedition/khronos/egl/EGLSurface;
.field e:Ljavax/microedition/khronos/egl/EGLConfig;
.field f:Ljavax/microedition/khronos/egl/EGLContext;
# direct methods
.method public constructor <init>(Ljava/lang/ref/WeakReference;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/ref/WeakReference<",
"Lcom/vk/attachpicker/u/GLTextureView;",
">;)V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->a:Ljava/lang/ref/WeakReference;
return-void
.end method
.method public static a(Ljava/lang/String;I)Ljava/lang/String;
.locals 0
.line 12
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p0, " failed"
invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method private a(Ljava/lang/String;)V
.locals 1
.line 10
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
invoke-interface {v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetError()I
move-result v0
invoke-static {p1, v0}, Lcom/vk/attachpicker/u/GLTextureView$i;->b(Ljava/lang/String;I)V
const/4 p1, 0x0
throw p1
.end method
.method public static a(Ljava/lang/String;Ljava/lang/String;I)V
.locals 0
.line 11
invoke-static {p1, p2}, Lcom/vk/attachpicker/u/GLTextureView$i;->a(Ljava/lang/String;I)Ljava/lang/String;
return-void
.end method
.method public static b(Ljava/lang/String;I)V
.locals 0
.line 18
invoke-static {p0, p1}, Lcom/vk/attachpicker/u/GLTextureView$i;->a(Ljava/lang/String;I)Ljava/lang/String;
move-result-object p0
.line 19
new-instance p1, Ljava/lang/RuntimeException;
invoke-direct {p1, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method private g()V
.locals 4
.line 1
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
if-eqz v0, :cond_1
sget-object v1, Ljavax/microedition/khronos/egl/EGL10;->EGL_NO_SURFACE:Ljavax/microedition/khronos/egl/EGLSurface;
if-eq v0, v1, :cond_1
.line 2
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
sget-object v3, Ljavax/microedition/khronos/egl/EGL10;->EGL_NO_CONTEXT:Ljavax/microedition/khronos/egl/EGLContext;
invoke-interface {v0, v2, v1, v1, v3}, Ljavax/microedition/khronos/egl/EGL10;->eglMakeCurrent(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLSurface;Ljavax/microedition/khronos/egl/EGLSurface;Ljavax/microedition/khronos/egl/EGLContext;)Z
.line 3
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->a:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/vk/attachpicker/u/GLTextureView;
if-eqz v0, :cond_0
.line 4
invoke-static {v0}, Lcom/vk/attachpicker/u/GLTextureView;->e(Lcom/vk/attachpicker/u/GLTextureView;)Lcom/vk/attachpicker/u/GLTextureView$h;
move-result-object v0
iget-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
iget-object v3, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
invoke-interface {v0, v1, v2, v3}, Lcom/vk/attachpicker/u/GLTextureView$h;->destroySurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLSurface;)V
:cond_0
const/4 v0, 0x0
.line 5
iput-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
:cond_1
return-void
.end method
# virtual methods
.method a()Ljavax/microedition/khronos/opengles/GL;
.locals 6
.line 1
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
invoke-virtual {v0}, Ljavax/microedition/khronos/egl/EGLContext;->getGL()Ljavax/microedition/khronos/opengles/GL;
move-result-object v0
.line 2
iget-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->a:Ljava/lang/ref/WeakReference;
invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/vk/attachpicker/u/GLTextureView;
if-eqz v1, :cond_3
.line 3
invoke-static {v1}, Lcom/vk/attachpicker/u/GLTextureView;->f(Lcom/vk/attachpicker/u/GLTextureView;)Lcom/vk/attachpicker/u/GLTextureView$l;
move-result-object v2
if-eqz v2, :cond_0
.line 4
invoke-static {v1}, Lcom/vk/attachpicker/u/GLTextureView;->f(Lcom/vk/attachpicker/u/GLTextureView;)Lcom/vk/attachpicker/u/GLTextureView$l;
move-result-object v2
invoke-interface {v2, v0}, Lcom/vk/attachpicker/u/GLTextureView$l;->wrap(Ljavax/microedition/khronos/opengles/GL;)Ljavax/microedition/khronos/opengles/GL;
move-result-object v0
.line 5
:cond_0
invoke-static {v1}, Lcom/vk/attachpicker/u/GLTextureView;->g(Lcom/vk/attachpicker/u/GLTextureView;)I
move-result v2
and-int/lit8 v2, v2, 0x3
if-eqz v2, :cond_3
const/4 v2, 0x0
const/4 v3, 0x0
.line 6
invoke-static {v1}, Lcom/vk/attachpicker/u/GLTextureView;->g(Lcom/vk/attachpicker/u/GLTextureView;)I
move-result v4
const/4 v5, 0x1
and-int/2addr v4, v5
if-eqz v4, :cond_1
const/4 v2, 0x1
.line 7
:cond_1
invoke-static {v1}, Lcom/vk/attachpicker/u/GLTextureView;->g(Lcom/vk/attachpicker/u/GLTextureView;)I
move-result v1
and-int/lit8 v1, v1, 0x2
if-eqz v1, :cond_2
.line 8
new-instance v3, Lcom/vk/attachpicker/u/GLTextureView$m;
invoke-direct {v3}, Lcom/vk/attachpicker/u/GLTextureView$m;-><init>()V
.line 9
:cond_2
invoke-static {v0, v2, v3}, Landroid/opengl/GLDebugHelper;->wrap(Ljavax/microedition/khronos/opengles/GL;ILjava/io/Writer;)Ljavax/microedition/khronos/opengles/GL;
move-result-object v0
:cond_3
return-object v0
.end method
.method public b()Z
.locals 5
.line 1
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
if-eqz v0, :cond_7
.line 2
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
if-eqz v0, :cond_6
.line 3
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->e:Ljavax/microedition/khronos/egl/EGLConfig;
if-eqz v0, :cond_5
.line 4
invoke-direct {p0}, Lcom/vk/attachpicker/u/GLTextureView$i;->g()V
.line 5
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->a:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/vk/attachpicker/u/GLTextureView;
if-eqz v0, :cond_0
.line 6
invoke-static {v0}, Lcom/vk/attachpicker/u/GLTextureView;->e(Lcom/vk/attachpicker/u/GLTextureView;)Lcom/vk/attachpicker/u/GLTextureView$h;
move-result-object v1
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v3, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
iget-object v4, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->e:Ljavax/microedition/khronos/egl/EGLConfig;
.line 7
invoke-virtual {v0}, Landroid/view/TextureView;->getSurfaceTexture()Landroid/graphics/SurfaceTexture;
move-result-object v0
.line 8
invoke-interface {v1, v2, v3, v4, v0}, Lcom/vk/attachpicker/u/GLTextureView$h;->createWindowSurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;Ljava/lang/Object;)Ljavax/microedition/khronos/egl/EGLSurface;
move-result-object v0
iput-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 9
iput-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
.line 10
:goto_0
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
const/4 v1, 0x0
if-eqz v0, :cond_3
sget-object v2, Ljavax/microedition/khronos/egl/EGL10;->EGL_NO_SURFACE:Ljavax/microedition/khronos/egl/EGLSurface;
if-ne v0, v2, :cond_1
goto :goto_1
.line 11
:cond_1
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v3, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
iget-object v4, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
invoke-interface {v2, v3, v0, v0, v4}, Ljavax/microedition/khronos/egl/EGL10;->eglMakeCurrent(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLSurface;Ljavax/microedition/khronos/egl/EGLSurface;Ljavax/microedition/khronos/egl/EGLContext;)Z
move-result v0
if-nez v0, :cond_2
.line 12
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
invoke-interface {v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetError()I
move-result v0
const-string v2, "EGLHelper"
const-string v3, "eglMakeCurrent"
invoke-static {v2, v3, v0}, Lcom/vk/attachpicker/u/GLTextureView$i;->a(Ljava/lang/String;Ljava/lang/String;I)V
return v1
:cond_2
const/4 v0, 0x1
return v0
.line 13
:cond_3
:goto_1
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
invoke-interface {v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetError()I
move-result v0
const/16 v2, 0x300b
if-ne v0, v2, :cond_4
const-string v0, "EglHelper"
const-string v2, "createWindowSurface returned EGL_BAD_NATIVE_WINDOW."
.line 14
invoke-static {v0, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_4
return v1
.line 15
:cond_5
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "mEglConfig not initialized"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.line 16
:cond_6
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "eglDisplay not initialized"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.line 17
:cond_7
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "egl not initialized"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public c()V
.locals 0
.line 1
invoke-direct {p0}, Lcom/vk/attachpicker/u/GLTextureView$i;->g()V
return-void
.end method
.method public d()V
.locals 5
.line 1
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
const/4 v1, 0x0
if-eqz v0, :cond_1
.line 2
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->a:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/vk/attachpicker/u/GLTextureView;
if-eqz v0, :cond_0
.line 3
invoke-static {v0}, Lcom/vk/attachpicker/u/GLTextureView;->d(Lcom/vk/attachpicker/u/GLTextureView;)Lcom/vk/attachpicker/u/GLTextureView$g;
move-result-object v0
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v3, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
iget-object v4, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
invoke-interface {v0, v2, v3, v4}, Lcom/vk/attachpicker/u/GLTextureView$g;->destroyContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLContext;)V
.line 4
:cond_0
iput-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
.line 5
:cond_1
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
if-eqz v0, :cond_2
.line 6
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
invoke-interface {v2, v0}, Ljavax/microedition/khronos/egl/EGL10;->eglTerminate(Ljavax/microedition/khronos/egl/EGLDisplay;)Z
.line 7
iput-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
:cond_2
return-void
.end method
.method public e()V
.locals 5
.line 1
invoke-static {}, Ljavax/microedition/khronos/egl/EGLContext;->getEGL()Ljavax/microedition/khronos/egl/EGL;
move-result-object v0
check-cast v0, Ljavax/microedition/khronos/egl/EGL10;
iput-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
.line 2
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
sget-object v1, Ljavax/microedition/khronos/egl/EGL10;->EGL_DEFAULT_DISPLAY:Ljava/lang/Object;
invoke-interface {v0, v1}, Ljavax/microedition/khronos/egl/EGL10;->eglGetDisplay(Ljava/lang/Object;)Ljavax/microedition/khronos/egl/EGLDisplay;
move-result-object v0
iput-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
.line 3
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
sget-object v1, Ljavax/microedition/khronos/egl/EGL10;->EGL_NO_DISPLAY:Ljavax/microedition/khronos/egl/EGLDisplay;
if-eq v0, v1, :cond_3
const/4 v1, 0x2
new-array v1, v1, [I
.line 4
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
invoke-interface {v2, v0, v1}, Ljavax/microedition/khronos/egl/EGL10;->eglInitialize(Ljavax/microedition/khronos/egl/EGLDisplay;[I)Z
move-result v0
if-eqz v0, :cond_2
.line 5
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->a:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/vk/attachpicker/u/GLTextureView;
const/4 v1, 0x0
if-nez v0, :cond_0
.line 6
iput-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->e:Ljavax/microedition/khronos/egl/EGLConfig;
.line 7
iput-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
goto :goto_0
.line 8
:cond_0
invoke-static {v0}, Lcom/vk/attachpicker/u/GLTextureView;->c(Lcom/vk/attachpicker/u/GLTextureView;)Lcom/vk/attachpicker/u/GLTextureView$f;
move-result-object v2
iget-object v3, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v4, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
invoke-interface {v2, v3, v4}, Lcom/vk/attachpicker/u/GLTextureView$f;->chooseConfig(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;)Ljavax/microedition/khronos/egl/EGLConfig;
move-result-object v2
iput-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->e:Ljavax/microedition/khronos/egl/EGLConfig;
.line 9
invoke-static {v0}, Lcom/vk/attachpicker/u/GLTextureView;->d(Lcom/vk/attachpicker/u/GLTextureView;)Lcom/vk/attachpicker/u/GLTextureView$g;
move-result-object v0
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v3, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
iget-object v4, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->e:Ljavax/microedition/khronos/egl/EGLConfig;
invoke-interface {v0, v2, v3, v4}, Lcom/vk/attachpicker/u/GLTextureView$g;->createContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLConfig;)Ljavax/microedition/khronos/egl/EGLContext;
move-result-object v0
iput-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
.line 10
:goto_0
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
if-eqz v0, :cond_1
sget-object v2, Ljavax/microedition/khronos/egl/EGL10;->EGL_NO_CONTEXT:Ljavax/microedition/khronos/egl/EGLContext;
if-eq v0, v2, :cond_1
.line 11
iput-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
return-void
.line 12
:cond_1
iput-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->f:Ljavax/microedition/khronos/egl/EGLContext;
const-string v0, "createContext"
.line 13
invoke-direct {p0, v0}, Lcom/vk/attachpicker/u/GLTextureView$i;->a(Ljava/lang/String;)V
throw v1
.line 14
:cond_2
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "eglInitialize failed"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.line 15
:cond_3
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "eglGetDisplay failed"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public f()I
.locals 3
.line 1
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
iget-object v1, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->c:Ljavax/microedition/khronos/egl/EGLDisplay;
iget-object v2, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->d:Ljavax/microedition/khronos/egl/EGLSurface;
invoke-interface {v0, v1, v2}, Ljavax/microedition/khronos/egl/EGL10;->eglSwapBuffers(Ljavax/microedition/khronos/egl/EGLDisplay;Ljavax/microedition/khronos/egl/EGLSurface;)Z
move-result v0
if-nez v0, :cond_0
.line 2
iget-object v0, p0, Lcom/vk/attachpicker/u/GLTextureView$i;->b:Ljavax/microedition/khronos/egl/EGL10;
invoke-interface {v0}, Ljavax/microedition/khronos/egl/EGL10;->eglGetError()I
move-result v0
return v0
:cond_0
const/16 v0, 0x3000
return v0
.end method