Searched refs:componentSize (Results 1 – 5 of 5) sorted by relevance
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | BatchNode.java | 621 … private void doCopyBuffer(FloatBuffer inBuf, int offset, FloatBuffer outBuf, int componentSize) { in doCopyBuffer() argument 627 offset *= componentSize; in doCopyBuffer() 629 for (int i = 0; i < inBuf.capacity() / componentSize; i++) { in doCopyBuffer() 630 pos.x = inBuf.get(i * componentSize + 0); in doCopyBuffer() 631 pos.y = inBuf.get(i * componentSize + 1); in doCopyBuffer() 632 pos.z = inBuf.get(i * componentSize + 2); in doCopyBuffer() 634 outBuf.put(offset + i * componentSize + 0, pos.x); in doCopyBuffer() 635 outBuf.put(offset + i * componentSize + 1, pos.y); in doCopyBuffer() 636 outBuf.put(offset + i * componentSize + 2, pos.z); in doCopyBuffer()
|
D | VertexBuffer.java | 285 private int componentSize = 0; field in VertexBuffer.Format 287 Format(int componentSize){ in Format() argument 288 this.componentSize = componentSize; in Format() 297 return componentSize; in getComponentSize()
|
/external/skia/src/gpu/gl/debug/ |
D | GrGLCreateDebugInterface.cpp | 164 GrGLint componentSize = 0; // size (in bytes) of a single component in debugGLReadPixels() local 168 componentSize = 1; in debugGLReadPixels() 176 if (componentSize >= alignment) { in debugGLReadPixels() 180 sk_float_ceil(componentSize * componentsPerPixel * pixelsInRow / in debugGLReadPixels() 182 rowStride = static_cast<GrGLint>(alignment * fTemp / componentSize); in debugGLReadPixels() 187 memset(scanline, 0, componentsPerPixel * componentSize * width); in debugGLReadPixels()
|
/external/deqp/modules/glshared/ |
D | glsLongStressCase.cpp | 995 const int componentSize = (int)(isFloat ? sizeof(GLfloat) : sizeof(GLint)); in generateRandomAttribData() local 996 …const int offsetInBuf = nextDivisible((int)attrDataBuf.size(), componentSize); // Round up for al… in generateRandomAttribData() 1001 dataSizeBytesDst = numComponents*componentSize*numVertices; in generateRandomAttribData()
|
D | glsDrawTest.cpp | 1658 const size_t componentSize = sizeof(T); in createBasicArray() local 1659 const size_t elementSize = componentSize * componentCount; in createBasicArray() 1690 …alignmentSafeAssignment(writePtr + componentNdx*componentSize, components[componentNdx].getValue()… in createBasicArray()
|