123456789101112131415161718192021222324 |
- package de.tudarmstadt.informatik.hostage.ui2.fragment;
- import android.content.Context;
- import android.opengl.GLSurfaceView;
- import android.util.AttributeSet;
- import android.util.Log;
- public class HomeGLSurfaceView extends GLSurfaceView {
- public HomeGLSurfaceView(Context context) {
- super(context);
- Log.d("gl", "constructor w/o attr");
- // TODO Auto-generated constructor stub
- }
- public HomeGLSurfaceView(Context context, AttributeSet attrs) {
- super(context, attrs);
- Log.d("gl", "constructor attr");
- setEGLContextClientVersion(2); // OpenGL ES 2.0
- setRenderer(new HomeGLRenderer());
- // TODO Auto-generated constructor stub
- }
- }
|