void {@native glDisableClientState}(GLenum cap);
12661267126812691270127112721273127412751276
gl.glEndList(); returnVal = listIDOutline; //Disable client states gl.glDisableClientState(GL.GL_VERTEX_ARRAY); gl.glDisableClientState(GL.GL_COLOR_ARRAY); ((PGraphicsOpenGL)pa.g).endGL(); return returnVal; }
12671268126912701271127212731274127512761277
gl.glEndList(); returnVal = listIDOutline; //Disable client states gl.glDisableClientState(GL.GL_VERTEX_ARRAY); gl.glDisableClientState(GL.GL_COLOR_ARRAY); ((PGraphicsOpenGL)pa.g).endGL(); return returnVal; } /**
19641965196619671968196919701971197219731974
if ((vformat & GeometryArray.COORDINATES) != 0) { gl.glEnableClientState(GL2.GL_VERTEX_ARRAY); stride += 3; } else { gl.glDisableClientState(GL2.GL_VERTEX_ARRAY); } if ((vformat & GeometryArray.NORMALS) != 0) { gl.glEnableClientState(GL2.GL_NORMAL_ARRAY); stride += 3;
19721973197419751976197719781979198019811982
if ((vformat & GeometryArray.NORMALS) != 0) { gl.glEnableClientState(GL2.GL_NORMAL_ARRAY); stride += 3; coordoff += 3; } else { gl.glDisableClientState(GL2.GL_NORMAL_ARRAY); } if ((vformat & GeometryArray.COLOR) != 0) { gl.glEnableClientState(GL2.GL_COLOR_ARRAY); stride += 4;
19811982198319841985198619871988198919901991
gl.glEnableClientState(GL2.GL_COLOR_ARRAY); stride += 4; normoff += 4; coordoff += 4; } else { gl.glDisableClientState(GL2.GL_COLOR_ARRAY); } if ((vformat & GeometryArray.TEXTURE_COORDINATE) != 0) { if ((vformat & GeometryArray.TEXTURE_COORDINATE_2) != 0) { texSize = 2;
963964965966967968969970971972973
xform[9] * vdcoords[i+1] + xform[10] * vdcoords[i+2])); } } } else { gl.glDisableClientState(GL2.GL_VERTEX_ARRAY); } // get color array if (floatColorsDefined) { gl.glEnableClientState(GL2.GL_COLOR_ARRAY);
10141015101610171018101910201021102210231024
} } vformat |= GeometryArray.WITH_ALPHA; } } else { gl.glDisableClientState(GL2.GL_COLOR_ARRAY); } // get normal array if (normalsDefined) { gl.glEnableClientState(GL2.GL_NORMAL_ARRAY);
10361037103810391040104110421043104410451046
nxform[9] * ndata[i+1] + nxform[10] * ndata[i+2])); } } } else { gl.glDisableClientState(GL2.GL_NORMAL_ARRAY); } executeGeometryArrayVA(ctx, geo, geo_type, isNonUniformScale, ignoreVertexColors, vcount, vformat, vdefined,
392393394395396397398399400401402
// Enable and disable the appropriate pointers if ((vformat & GeometryArray.NORMALS) != 0) { gl.glEnableClientState(GL2.GL_NORMAL_ARRAY); } else { gl.glDisableClientState(GL2.GL_NORMAL_ARRAY); } if (!ignoreVertexColors && ((vformat & GeometryArray.COLOR) != 0)) { gl.glEnableClientState(GL2.GL_COLOR_ARRAY); } else { gl.glDisableClientState(GL2.GL_COLOR_ARRAY);
397398399400401402403404405406407
gl.glDisableClientState(GL2.GL_NORMAL_ARRAY); } if (!ignoreVertexColors && ((vformat & GeometryArray.COLOR) != 0)) { gl.glEnableClientState(GL2.GL_COLOR_ARRAY); } else { gl.glDisableClientState(GL2.GL_COLOR_ARRAY); } if ((vformat & GeometryArray.COORDINATES) != 0) { gl.glEnableClientState(GL2.GL_VERTEX_ARRAY); } else {