ReportGLSurfaceView$a.smali

.class public Lcom/sandboxol/blockymods/utils/opengl/ReportGLSurfaceView$a;
.super Ljava/lang/Object;
.source "ReportGLSurfaceView.java"

# interfaces
.implements Landroid/opengl/GLSurfaceView$Renderer;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/sandboxol/blockymods/utils/opengl/ReportGLSurfaceView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "a"
.end annotation


# instance fields
.field final synthetic a:Lcom/sandboxol/blockymods/utils/opengl/ReportGLSurfaceView;


# direct methods
.method public constructor <init>(Lcom/sandboxol/blockymods/utils/opengl/ReportGLSurfaceView;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/sandboxol/blockymods/utils/opengl/ReportGLSurfaceView$a;->a:Lcom/sandboxol/blockymods/utils/opengl/ReportGLSurfaceView;

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

    return-void
.end method


# virtual methods
.method public onDrawFrame(Ljavax/microedition/khronos/opengles/GL10;)V
    .registers 3

    if-eqz p1, :cond_7

    const/16 v0, 0x4100

    .line 1
    invoke-interface {p1, v0}, Ljavax/microedition/khronos/opengles/GL10;->glClear(I)V

    :cond_7
    return-void
.end method

.method public onSurfaceChanged(Ljavax/microedition/khronos/opengles/GL10;II)V
    .registers 4

    if-eqz p1, :cond_6

    const/4 p2, 0x0

    .line 1
    invoke-interface {p1, p2, p2, p2, p2}, Ljavax/microedition/khronos/opengles/GL10;->glViewport(IIII)V

    :cond_6
    return-void
.end method

.method public onSurfaceCreated(Ljavax/microedition/khronos/opengles/GL10;Ljavax/microedition/khronos/egl/EGLConfig;)V
    .registers 4

    if-eqz p1, :cond_9

    const/high16 p2, 0x3f800000    # 1.0f

    const/high16 v0, 0x3f000000    # 0.5f

    .line 1
    invoke-interface {p1, v0, v0, p2, p2}, Ljavax/microedition/khronos/opengles/GL10;->glClearColor(FFFF)V

    :cond_9
    return-void
.end method