Android Open Source - RageTextSample-Android-Java R A G E Sample Surface View






From Project

Back to project page RageTextSample-Android-Java.

License

The source code is released under:

MIT License

If you think the Android project RageTextSample-Android-Java listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.ertlu.rob.ragesamplebase;
/*  w w w  .j av a 2 s. c o  m*/
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;

/**
 * @author Robert Lude : rob@ertlu.de
 */
public class RAGESampleSurfaceView extends GLSurfaceView {
    public RAGESampleSurfaceView(Context context, AttributeSet attr) {
        super(context, attr);
        setEGLContextClientVersion(2);
        setRenderer(new RAGESampleRenderer());
        setRenderMode(RENDERMODE_CONTINUOUSLY);
    }
}




Java Source Code List

de.ertlu.rob.ragesamplebase.RAGESampleActivity.java
de.ertlu.rob.ragesamplebase.RAGESampleRenderer.java
de.ertlu.rob.ragesamplebase.RAGESampleSurfaceView.java