/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
D | VertexAttribute.java | 32 public final int numComponents; field in VertexAttribute 51 public VertexAttribute (int usage, int numComponents, String alias) { in VertexAttribute() argument 52 this(usage, numComponents, alias, 0); in VertexAttribute() 62 public VertexAttribute (int usage, int numComponents, String alias, int index) { in VertexAttribute() argument 63 this(usage, numComponents, usage == Usage.ColorPacked ? GL20.GL_UNSIGNED_BYTE : GL20.GL_FLOAT, in VertexAttribute() 67 …private VertexAttribute (int usage, int numComponents, int type, boolean normalized, String alias)… in VertexAttribute() argument 68 this(usage, numComponents, type, normalized, alias, 0); in VertexAttribute() 71 …private VertexAttribute (int usage, int numComponents, int type, boolean normalized, String alias,… in VertexAttribute() argument 73 this.numComponents = numComponents; in VertexAttribute() 123 …return other != null && usage == other.usage && numComponents == other.numComponents && alias.equa… in equals() [all …]
|
D | VertexAttributes.java | 98 count += 4 * attribute.numComponents; in calculateOffsets() 124 builder.append(attributes[i].numComponents); in toString() 179 if (va0.numComponents != va1.numComponents) return va0.numComponents - va1.numComponents; in compareTo()
|
D | Mesh.java | 559 switch (posAttrib.numComponents) { in calculateBoundingBox() 629 switch (posAttrib.numComponents) { in extendBoundingBox() 706 switch (posAttrib.numComponents) { in calculateRadiusSquared() 844 final int numComponents = posAttr.numComponents; in scale() local 852 switch (numComponents) { in scale() 892 final int numComponents = posAttr.numComponents; in transform() local 898 transform(matrix, vertices, stride, posOffset, numComponents, 0, count); in transform() 1017 size += getVertexAttribute(usage[i]).numComponents; in copy() 1028 for (int j = 0; j < a.numComponents; j++) in copy() 1030 attrs[++ai] = new VertexAttribute(a.usage, a.numComponents, a.alias); in copy() [all …]
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 185 const int numComponents = attribType.getNumElements(); in shadeVertices() local 188 DE_ASSERT(attribType.isFloatOrVec() && de::inRange(numComponents, 1, 4)); in shadeVertices() 197 if (numComponents >= 2) access.component(1).asFloat(ndx) = attribValue[1]; in shadeVertices() 198 if (numComponents >= 3) access.component(2).asFloat(ndx) = attribValue[2]; in shadeVertices() 199 if (numComponents >= 4) access.component(3).asFloat(ndx) = attribValue[3]; in shadeVertices() 226 const int numComponents = varType.getNumElements(); in shadeVertices() local 229 DE_ASSERT(varType.isFloatOrVec() && de::inRange(numComponents, 1, 4)); in shadeVertices() 238 if (numComponents >= 2) dst[1] = access.component(1).asFloat(ndx); in shadeVertices() 239 if (numComponents >= 3) dst[2] = access.component(2).asFloat(ndx); in shadeVertices() 240 if (numComponents >= 4) dst[3] = access.component(3).asFloat(ndx); in shadeVertices() [all …]
|
D | glsLongStressCase.cpp | 994 const int numComponents = glu::getDataTypeScalarSize(attrSpec.type); in generateRandomAttribData() local 1001 dataSizeBytesDst = numComponents*componentSize*numVertices; in generateRandomAttribData() 1010 for (int compNdx = 0; compNdx < numComponents; compNdx++) in generateRandomAttribData() 1011 …data[vtxNdx*numComponents + compNdx] = rnd.getFloat(attrSpec.minValue.f[compNdx], attrSpec.maxValu… in generateRandomAttribData() 1020 for (int compNdx = 0; compNdx < numComponents; compNdx++) in generateRandomAttribData() 1021 …data[vtxNdx*numComponents + compNdx] = rnd.getInt(attrSpec.minValue.i[compNdx], attrSpec.maxValue.… in generateRandomAttribData() 1031 const int numComponents = glu::getDataTypeScalarSize(attrSpec.type); in generateRandomPositionAttribData() local 1032 DE_ASSERT(numComponents >= 2); in generateRandomPositionAttribData() 1035 if (numComponents > 2) in generateRandomPositionAttribData() 1040 data[vtxNdx*numComponents + 2] = -1.0f; in generateRandomPositionAttribData() [all …]
|
D | glsShaderPerformanceMeasurer.cpp | 79 const int numComponents = 4; in generateVertices() local 92 for (int compNdx = 0; compNdx < numComponents; compNdx++) in generateVertices() 93 …dst[getVtxIndex(x, y, gridSizeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(s… in generateVertices()
|
D | glsFragOpInteractionCase.cpp | 136 entry.pointer.numComponents, in getEntryWithPointer() 147 DE_ASSERT(pointer.numComponents == Size); in setVertex() 323 …ctx.vertexAttribPointer(attribLoc, bindingPtr.pointer.numComponents, GL_FLOAT, GL_FALSE, bindingPt… in setupAttributes() 542 const int numComponents = varType.getNumElements(); in iterate() local 552 switch (numComponents) in iterate()
|
D | glsRandomShaderCase.cpp | 161 int numComponents = input->getVariable()->getType().getNumElements(); in init() local 173 float* dst = &vtxArray.getVertices()[vtxNdx*numComponents]; in init() 178 DE_ASSERT(numComponents == 4); in init() 186 for (int compNdx = 0; compNdx < numComponents; compNdx++) in init()
|
/external/deqp/framework/opengl/ |
D | gluDrawUtil.hpp | 116 int numComponents; //!< Number of components per element. member 125 , numComponents (numComponents_) in VertexArrayPointer() 135 , numComponents (0) in VertexArrayPointer() 246 inline VertexArrayBinding NAME (const std::string& name, int offset, int numComponents, int numElem… 248 …Binding(BindingPoint(name, offset), VertexArrayPointer(TYPE, CONVERT, numComponents, numElements, … 250 inline VertexArrayBinding NAME (const std::string& name, int numComponents, int numElements, int st… 252 return NAME(name, 0, numComponents, numElements, stride, data); \ 254 inline VertexArrayBinding NAME (int location, int numComponents, int numElements, int stride, const… 256 …return VertexArrayBinding(BindingPoint(location), VertexArrayPointer(TYPE, CONVERT, numComponents,…
|
D | gluDrawUtil.cpp | 46 int numComponents; member 61 , numComponents (numComponents_) in VertexAttributeDescriptor() 72 , numComponents (0) in VertexAttributeDescriptor() 278 const int elementSize = getVtxCompSize(va.pointer.componentType)*va.pointer.numComponents; in appendAttributeNonStrided() 287 va.pointer.numComponents, in appendAttributeNonStrided() 304 dstVA.numComponents == srcPtr.numComponents && in copyToLayout() 307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents; in copyToLayout() 396 vertexArray.pointer.numComponents, in getUserPointerDescriptor() 416 gl.vertexAttribIPointer(va.location, va.numComponents, compTypeGL, va.stride, va.pointer); in setVertexAttribPointer() 418 …gl.vertexAttribPointer(va.location, va.numComponents, compTypeGL, va.convert == VTX_COMP_CONVERT_N… in setVertexAttribPointer()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderControlStatementTests.cpp | 304 const int numComponents = 4; in init() local 308 m_comparisonValueArray.resize(numVertices * numComponents); in init() 313 if (i % numComponents == 0) in init() 314 m_comparisonValueArray[i] = (i / numComponents) % 2 == 0 ? +1.0f : -1.0f; in init() 359 const int numComponents = 4; in setupProgram() local 362 …DE_ASSERT((int)m_comparisonValueArray.size() == numComponents * (getGridWidth() + 1) * (getGridHei… in setupProgram() 368 …gl.vertexAttribPointer(compareAttribLocation, (GLint)numComponents, GL_FLOAT, GL_FALSE, 0, DE_NULL… in setupProgram() 580 const int numComponents = 4; in init() local 584 m_boundArray.resize(numVertices * numComponents); in init() 589 if (i % numComponents == 0) in init() [all …]
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderControlStatementTests.cpp | 308 const int numComponents = 4; in init() local 312 m_comparisonValueArray.resize(numVertices * numComponents); in init() 317 if (i % numComponents == 0) in init() 318 m_comparisonValueArray[i] = (i / numComponents) % 2 == 0 ? +1.0f : -1.0f; in init() 363 const int numComponents = 4; in setupProgram() local 366 …DE_ASSERT((int)m_comparisonValueArray.size() == numComponents * (getGridWidth() + 1) * (getGridHei… in setupProgram() 372 …gl.vertexAttribPointer(compareAttribLocation, (GLint)numComponents, GL_FLOAT, GL_FALSE, 0, DE_NULL… in setupProgram() 588 const int numComponents = 4; in init() local 592 m_boundArray.resize(numVertices * numComponents); in init() 597 if (i % numComponents == 0) in init() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
D | VertexArray.java | 115 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bind() 119 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bind() 132 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bind() 136 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bind()
|
D | VertexBufferObjectSubData.java | 176 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bind() 186 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bind()
|
D | VertexBufferObject.java | 202 … shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized, in bind() 213 … shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized, in bind()
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/ |
D | VertexBufferObject.java | 162 …shader.setVertexAttribute(location, attribute.numComponents, GL20.GL_UNSIGNED_BYTE, true, attribut… in bind() 165 …shader.setVertexAttribute(location, attribute.numComponents, GL20.GL_FLOAT, false, attributes.vert… in bind() 177 …shader.setVertexAttribute(location, attribute.numComponents, GL20.GL_UNSIGNED_BYTE, true, attribut… in bind() 180 …shader.setVertexAttribute(location, attribute.numComponents, GL20.GL_FLOAT, false, attributes.vert… in bind()
|
/external/skia/src/sfnt/ |
D | SkOTTable_EBDT.h | 96 SK_OT_USHORT numComponents; // Number of components member 102 SK_OT_USHORT numComponents; // Number of components member
|
/external/deqp/modules/gles3/functional/ |
D | es3fFragmentOutputTests.cpp | 379 static inline Vec4 readVec4 (const float* ptr, int numComponents) in readVec4() argument 381 DE_ASSERT(numComponents >= 1); in readVec4() 383 numComponents >= 2 ? ptr[1] : 0.0f, in readVec4() 384 numComponents >= 3 ? ptr[2] : 0.0f, in readVec4() 385 numComponents >= 4 ? ptr[3] : 0.0f); in readVec4() 388 static inline IVec4 readIVec4 (const int* ptr, int numComponents) in readIVec4() argument 390 DE_ASSERT(numComponents >= 1); in readIVec4() 392 numComponents >= 2 ? ptr[1] : 0, in readIVec4() 393 numComponents >= 3 ? ptr[2] : 0, in readIVec4() 394 numComponents >= 4 ? ptr[3] : 0); in readIVec4() [all …]
|
D | es3fTransformFeedbackTests.cpp | 265 int numComponents = 0; in isProgramSupported() local 268 numComponents = 4; in isProgramSupported() 270 numComponents = 1; in isProgramSupported() 278 numComponents = glu::getVarType(varying.type, varPath).getScalarSize(); in isProgramSupported() 281 if (tfMode == GL_SEPARATE_ATTRIBS && numComponents > maxTfSeparateComponents) in isProgramSupported() 284 totalTfComponents += numComponents; in isProgramSupported() 726 int numComponents = glu::getDataTypeScalarSize(type); in compareTransformFeedbackOutput() local 735 for (int compNdx = 0; compNdx < numComponents; compNdx++) in compareTransformFeedbackOutput() 779 outOffset += numComponents*(int)sizeof(deUint32); in compareTransformFeedbackOutput() 1124 int numComponents = glu::getDataTypeScalarSize(attrib->type.getBasicType()); in runTest() local [all …]
|
/external/dng_sdk/source/ |
D | dng_lossless_jpeg.cpp | 323 int16 numComponents; member 726 info.numComponents = GetJpegChar (); in GetSof() 734 (info.numComponents <= 0)) in GetSof() 752 if (length != (info.numComponents * 3 + 8)) in GetSof() 761 compInfoBuffer.Allocate (static_cast<uint32> (info.numComponents), in GetSof() 768 for (int32 ci = 0; ci < info.numComponents; ci++) in GetSof() 836 for (ci = 0; ci < info.numComponents; ci++) in GetSos() 846 if (ci >= info.numComponents) in GetSos() 1162 bool canon_sRAW = (info.numComponents == 3) && in DecoderStructInit() 1173 bool canon_sRAW2 = (info.numComponents == 3) && in DecoderStructInit() [all …]
|
/external/svox/pico/lib/ |
D | picosig.c | 319 picoos_int16 *numComponents) in getPhsFromPdf() argument 343 *numComponents = (picoos_int16) *nContent++; in getPhsFromPdf() 344 if (*numComponents>PICODSP_PHASEORDER) { in getPhsFromPdf() 345 …: Frame %d -- Phase vector[%d] Components = %d --> too big\n", nFrame, phsIndex, *numComponents)); in getPhsFromPdf() 346 *numComponents = PICODSP_PHASEORDER; in getPhsFromPdf() 348 for (nI=0; nI<*numComponents; nI++) { in getPhsFromPdf() 351 for (nI=*numComponents; nI<PICODSP_PHASEORDER; nI++) { in getPhsFromPdf()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_D_T_.py | 700 (numComponents,) = struct.unpack(">H", data[:2]) 703 for i in range(numComponents): 725 (numComponents,) = struct.unpack(">H", data[:2]) 728 for i in range(numComponents):
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinitionUtil.cpp | 1207 int numComponents = 0; in getNumXFBComponents() local 1210 …numComponents += getNumFeedbackVaryingComponents(program, program->getTransformFeedbackVaryings()[… in getNumXFBComponents() 1212 return numComponents; in getNumXFBComponents() 1217 int numComponents = 0; in getNumMaxXFBOutputComponents() local 1220 …numComponents = de::max(numComponents, getNumFeedbackVaryingComponents(program, program->getTransf… in getNumMaxXFBOutputComponents() 1222 return numComponents; in getNumMaxXFBOutputComponents()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageSizeTests.cpp | 235 const int numComponents = texture.dimension(); in getCaseName() local 236 for (int i = 0; i < numComponents; ++i) in getCaseName()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | VBOWithVAOPerformanceTest.java | 428 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bindAttributes() 439 …shader.setVertexAttribute(location, attribute.numComponents, attribute.type, attribute.normalized,… in bindAttributes()
|