发布时间:2012-12-18 01:10:28
Application.mk中必须有红色申明APP_ABI := armeabi armeabi-v7aAPP_PLATFORM := android-9APP_STL := gnustl_sharedandroid-9中Android.mk我没有做任何申明,一样可以用,但网上很多都加了RUNTIME_STL_PATH :=$(NDK_ROOT)/sources/cxx-stl/gnu-libstdc++LOCAL_C_INCLUDES := sources/cxx-stl/gnu-libstdc++/include/......然后System.loadLibrary("gnustl_sha......【阅读全文】
发布时间:2012-12-16 16:41:08
vertex shader : 点击(此处)折叠或打开varying vec3 f_color;fragment shader: 点击(此处)折叠或打开varying vec3 f_color;默认精度不一样,所能program link时会报错,最好是都加上精度就行了,反正这个问题我是找了好几个小时 点击(此处)折叠或打开varying lowp vec3 f_color;......【阅读全文】
发布时间:2012-12-15 13:05:14
在index.html中注释掉这行就行了<!-- <script src="http://www.google.com/jsapi" type="text/javascript"></script> --> ......【阅读全文】
发布时间:2012-12-13 16:39:08
<uses-feature android:glEsVersion="0x00020000"></uses-feature> <uses-sdk android:targetSdkVersion="8" android:minSdkVersion="8"></uses-sdk>Second, create a subclass of GLSurfaceView like this:public class CustomView extends GLSurfaceView { final CustomRenderer renderer;......【阅读全文】