Home
last modified time | relevance | path

Searched refs:getBufferType (Results 1 – 11 of 11) sorted by relevance

/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DTriangleCollector.java136 if (vb.getBufferType() == Type.Index) in gatherTris()
146 VertexBuffer outVb = new VertexBuffer(vb.getBufferType()); in gatherTris()
196 if (vb.getBufferType() == Type.Index) in gatherTris()
199 VertexBuffer outVb = out.getBuffer(vb.getBufferType()); in gatherTris()
224 if (vb.getBufferType() == Type.Index) in gatherTris()
DGeometryBatchFactory.java134 compsForBuf[vb.getBufferType().ordinal()] = vb.getNumComponents(); in mergeGeometries()
135 formatForBuf[vb.getBufferType().ordinal()] = vb.getFormat(); in mergeGeometries()
377 System.out.println(outBuf.getBufferType() + ": "); in printMesh()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DModelConverter.java142 if (vb == null || vb.getBufferType() == Type.Index) in optimize()
146 if (vb.getBufferType() == Type.Color){ in optimize()
156 mesh.clearBuffer(vb.getBufferType()); in optimize()
DFloatToFixed.java186 VertexBuffer newVb = new VertexBuffer(vb.getBufferType()); in convertToUByte()
203 VertexBuffer newVb = new VertexBuffer(vb.getBufferType()); in convertToFixed()
219 VertexBuffer newVb = new VertexBuffer(vb.getBufferType()); in convertToFloat()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DOGLESShaderRenderer.java2103 if (vb.getBufferType() == VertexBuffer.Type.Index) { in updateBufferData()
2315 if (vb.getBufferType() == VertexBuffer.Type.Index) { in setVertexAttrib()
2325 Attribute attrib = boundShader.getAttribute(vb.getBufferType()); in setVertexAttrib()
2330 … logger.warning("location is invalid for attrib: [" + vb.getBufferType().name() + "]"); in setVertexAttrib()
2341 String attributeName = "in" + vb.getBufferType().name(); in setVertexAttrib()
2355 … logger.warning("attribute is invalid in shader: [" + vb.getBufferType().name() + "]"); in setVertexAttrib()
2440 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) { in drawTriangleList()
2597 if (vb.getBufferType() == Type.InterleavedData in updateVertexArray()
2599 || vb.getBufferType() == Type.Index) { in updateVertexArray()
2627 if (vb.getBufferType() == Type.InterleavedData in renderMeshVertexArray()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java913 int arrayType = convertArrayType(vb.getBufferType()); in setVertexAttrib()
918 context.boundAttribs[vb.getBufferType().ordinal()] = vb; in setVertexAttrib()
920 if (vb.getBufferType() == Type.Normal) { in setVertexAttrib()
938 switch (vb.getBufferType()) { in setVertexAttrib()
1040 int arrayType = convertArrayType(vb.getBufferType()); in clearVertexAttribs()
1042 context.boundAttribs[vb.getBufferType().ordinal()] = null; in clearVertexAttribs()
1064 if (vb.getBufferType() == Type.InterleavedData in renderMeshDefault()
1066 || vb.getBufferType() == Type.Index) { in renderMeshDefault()
DLwjglRenderer.java2007 if (vb.getBufferType() == VertexBuffer.Type.Index) { in updateBufferData()
2147 if (vb.getBufferType() == VertexBuffer.Type.Index) { in setVertexAttrib()
2153 Attribute attrib = boundShader.getAttribute(vb.getBufferType()); in setVertexAttrib()
2160 stringBuf.append("in").append(vb.getBufferType().name()).append('\0'); in setVertexAttrib()
2223 if (indexBuf.getBufferType() != VertexBuffer.Type.Index) { in drawTriangleList()
2346 if (vb.getBufferType() == Type.InterleavedData in updateVertexArray()
2348 || vb.getBufferType() == Type.Index) { in updateVertexArray()
2410 if (vb.getBufferType() == Type.InterleavedData in renderMeshDefault()
2412 || vb.getBufferType() == Type.Index) { in renderMeshDefault()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java239 clone.buffers.put(vb.getBufferType().ordinal(), bufClone); in deepClone()
867 if (buffers.containsKey(vb.getBufferType().ordinal())) in setBuffer()
868 throw new IllegalArgumentException("Buffer type already set: "+vb.getBufferType()); in setBuffer()
870 buffers.put(vb.getBufferType().ordinal(), vb); in setBuffer()
1126 if (oldVb.getBufferType() == VertexBuffer.Type.Index) { in extractVertexData()
1135 VertexBuffer newVb = new VertexBuffer(oldVb.getBufferType()); in extractVertexData()
1149 clearBuffer(newVb.getBufferType()); in extractVertexData()
DBatchNode.java413 compsForBuf[vb.getBufferType().ordinal()] = vb.getNumComponents(); in mergeGeometries()
414 formatForBuf[vb.getBufferType().ordinal()] = vb.getFormat(); in mergeGeometries()
DVertexBuffer.java475 public Type getBufferType(){ in getBufferType() method in VertexBuffer
/external/deqp/modules/egl/
DteglChooseConfigTests.cpp376 static EGLint getBufferType (de::Random& rnd) in getBufferType() function in deqp::egl::ChooseConfigRandomCase
426 { EGL_COLOR_BUFFER_TYPE, ChooseConfigRandomCase::getBufferType, }, in genRandomAttributes()