java Programming Glossary: camera_texture
Android Camera will not work. startPreview fails http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails int gvSamplerHandle private static Context context int camera_texture public void onSurfaceCreated GL10 unused EGLConfig config initShapes.. GLES20.glPixelStorei GLES20.GL_UNPACK_ALIGNMENT 1 camera_texture null private void initShapes float triangleCoords X Y Z 1.0f.. GLES20.GL_COLOR_BUFFER_BIT GLES20.GL_DEPTH_BUFFER_BIT if camera_texture null return Add program to OpenGL environment GLES20.glUseProgram..
|