1
|
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" |
1
2
3
|
this .mGLSurfaceView.setZOrderOnTop( true ); this .mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT); this .mGLSurfaceView.setEGLConfigChooser( 8 , 8 , 8 , 8 , 16 , 0 ); |
1
2
|
//mFrameLayout.addView(edittext); //this.mGLSurfaceView.setCocos2dxEditText(edittext); |
1
2
3
4
5
|
pGL10.glDisable(GL10.GL_DITHER); pGL10.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,
GL10.GL_FASTEST); pGL10.glClearColor( 0 ,
0 ,
0 ,
0 ); pGL10.glEnable(GL10.GL_CULL_FACE); pGL10.glShadeModel(GL10.GL_SMOOTH); |
原文:http://blog.csdn.net/zmzsoftware/article/details/43499597