在我可以在我的GLSurfaceView中渲染任何东西之前,我必须运行大量的初始化这些必须在OpenGL线程上完成。然而,这会在初始化期间挂起我的主线程。这是我的代码:@OverrideprotectedvoidonStart(){super.onStart();FrameLayoutrenderingLayout=(FrameLayout)findViewById(R.id.movie_rendering_layout);if(renderingLayout!=null&&mGLView==null){mGLView=newMyGLSurfaceView(getApplication
我创建cocos2d-x应用程序我正在使用cocos2d-2.0-x-2.0.4尝试在Android模拟器上从Eclipse运行应用程序时出现错误。12-0408:03:13.792:E/AndroidRuntime(1081):FATALEXCEPTION:GLThread10512-0408:03:13.792:E/AndroidRuntime(1081):java.lang.IllegalArgumentException:Noconfigchosen12-0408:03:13.792:E/AndroidRuntime(1081):atandroid.opengl.GLSurfa
我正在尝试使用GLSurface来显示自定义View。我的xml我的主要packagenet.letsense.matrixtest;importandroid.app.Activity;importandroid.opengl.GLSurfaceView;importandroid.os.Bundle;/***Createdbyborislegovicon03/11/2017.*/publicclassMainextendsActivity{privateintmPositionHandle;privateintmColorHandle;privateGLSurfaceViewmGL