List of usage examples for android.opengl GLES10 GL_BLUE_BITS
int GL_BLUE_BITS
To view the source code for android.opengl GLES10 GL_BLUE_BITS.
Click Source Link
From source file:com.adobe.plugins.FastCanvasRenderer.java
public void onSurfaceCreated(GL10 gl, EGLConfig config) { Log.i("CANVAS", "CanvasRenderer onSurfaceCreated. config:" + config.toString() + " gl:" + gl.toString()); IntBuffer ib = IntBuffer.allocate(100); ib.position(0);/* w ww.ja va 2 s.c o m*/ GLES10.glGetIntegerv(GLES10.GL_RED_BITS, ib); int red = ib.get(0); GLES10.glGetIntegerv(GLES10.GL_GREEN_BITS, ib); int green = ib.get(0); GLES10.glGetIntegerv(GLES10.GL_BLUE_BITS, ib); int blue = ib.get(0); GLES10.glGetIntegerv(GLES10.GL_STENCIL_BITS, ib); int stencil = ib.get(0); GLES10.glGetIntegerv(GLES10.GL_DEPTH_BITS, ib); int depth = ib.get(0); Log.i("CANVAS", "CanvasRenderer R=" + red + " G=" + green + " B=" + blue + " DEPETH=" + depth + " STENCIL=" + stencil); }