Searched refs:numComponents (Results 1 - 25 of 29) sorted by relevance

12

/external/deqp/framework/opengl/
H A DgluDrawUtil.hpp116 int numComponents; //!< Number of components per element. member in struct:glu::VertexArrayPointer
125 , numComponents (numComponents_)
135 , numComponents (0)
246 inline VertexArrayBinding NAME (const std::string& name, int offset, int numComponents, int numElements, int stride, const DATATYPE* data) \
248 return VertexArrayBinding(BindingPoint(name, offset), VertexArrayPointer(TYPE, CONVERT, numComponents, numElements, stride, data)); \
250 inline VertexArrayBinding NAME (const std::string& name, int numComponents, int numElements, int stride, const DATATYPE* data) \
252 return NAME(name, 0, numComponents, numElements, stride, data); \
254 inline VertexArrayBinding NAME (int location, int numComponents, int numElements, int stride, const DATATYPE* data) \
256 return VertexArrayBinding(BindingPoint(location), VertexArrayPointer(TYPE, CONVERT, numComponents, numElements, stride, data)); \
H A DgluDrawUtil.cpp46 int numComponents; member in struct:glu::__anon18929::VertexAttributeDescriptor
61 , numComponents (numComponents_)
72 , numComponents (0)
278 const int elementSize = getVtxCompSize(va.pointer.componentType)*va.pointer.numComponents;
287 va.pointer.numComponents,
304 dstVA.numComponents == srcPtr.numComponents &&
307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents;
396 vertexArray.pointer.numComponents,
416 gl.vertexAttribIPointer(va.location, va.numComponents, compTypeG
[all...]
/external/deqp/modules/glshared/
H A DglsRandomShaderProgram.cpp185 const int numComponents = attribType.getNumElements(); local
188 DE_ASSERT(attribType.isFloatOrVec() && de::inRange(numComponents, 1, 4));
197 if (numComponents >= 2) access.component(1).asFloat(ndx) = attribValue[1];
198 if (numComponents >= 3) access.component(2).asFloat(ndx) = attribValue[2];
199 if (numComponents >= 4) access.component(3).asFloat(ndx) = attribValue[3];
226 const int numComponents = varType.getNumElements(); local
229 DE_ASSERT(varType.isFloatOrVec() && de::inRange(numComponents, 1, 4));
238 if (numComponents >= 2) dst[1] = access.component(1).asFloat(ndx);
239 if (numComponents >= 3) dst[2] = access.component(2).asFloat(ndx);
240 if (numComponents >
264 const int numComponents = varType.getNumElements(); local
[all...]
H A DglsLongStressCase.cpp994 const int numComponents = glu::getDataTypeScalarSize(attrSpec.type); local
1001 dataSizeBytesDst = numComponents*componentSize*numVertices;
1010 for (int compNdx = 0; compNdx < numComponents; compNdx++)
1011 data[vtxNdx*numComponents + compNdx] = rnd.getFloat(attrSpec.minValue.f[compNdx], attrSpec.maxValue.f[compNdx]);
1020 for (int compNdx = 0; compNdx < numComponents; compNdx++)
1021 data[vtxNdx*numComponents + compNdx] = rnd.getInt(attrSpec.minValue.i[compNdx], attrSpec.maxValue.i[compNdx]);
1031 const int numComponents = glu::getDataTypeScalarSize(attrSpec.type); local
1032 DE_ASSERT(numComponents >= 2);
1035 if (numComponents > 2)
1040 data[vtxNdx*numComponents
[all...]
H A DglsShaderPerformanceMeasurer.cpp79 const int numComponents = 4; local
92 for (int compNdx = 0; compNdx < numComponents; compNdx++)
93 dst[getVtxIndex(x, y, gridSizeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[compNdx], spec.p11[compNdx]));
H A DglsRandomShaderCase.cpp153 int numComponents = input->getVariable()->getType().getNumElements(); local
165 float* dst = &vtxArray.getVertices()[vtxNdx*numComponents];
170 DE_ASSERT(numComponents == 4);
178 for (int compNdx = 0; compNdx < numComponents; compNdx++)
H A DglsFragOpInteractionCase.cpp136 entry.pointer.numComponents,
147 DE_ASSERT(pointer.numComponents == Size);
323 ctx.vertexAttribPointer(attribLoc, bindingPtr.pointer.numComponents, GL_FLOAT, GL_FALSE, bindingPtr.pointer.stride, bindingPtr.pointer.data);
497 const int numComponents = varType.getNumElements(); local
507 switch (numComponents)
H A DglsVertexArrayTests.cpp811 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue, bool isCoordinate, int numComponents)
814 switch (numComponents)
826 switch (numComponents)
872 const int numComponents = m_componentCount[attribNdx];
876 case rr::GENERICVECTYPE_FLOAT: calcShaderColorCoord(coord, color, rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break;
877 case rr::GENERICVECTYPE_INT32: calcShaderColorCoord(coord, color, rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break;
878 case rr::GENERICVECTYPE_UINT32: calcShaderColorCoord(coord, color, rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break;
H A DglsDrawTest.cpp1189 void calcShaderColorCoord (tcu::Vec2& coord, tcu::Vec3& color, const tcu::Vector<T, 4>& attribValue, bool isCoordinate, int numComponents)
1192 switch (numComponents)
1204 switch (numComponents)
1250 const int numComponents = m_componentCount[attribNdx];
1255 case rr::GENERICVECTYPE_FLOAT: calcShaderColorCoord(coord, color, rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numComponents); break;
1256 case rr::GENERICVECTYPE_INT32: calcShaderColorCoord(coord, color, rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numComponents); break;
1257 case rr::GENERICVECTYPE_UINT32: calcShaderColorCoord(coord, color, rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numComponents); break;
/external/chromium_org/third_party/skia/src/sfnt/
H A DSkOTTable_EBDT.h96 SK_OT_USHORT numComponents; // Number of components member in struct:SkOTTableEmbeddedBitmapData::Format8
97 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
102 SK_OT_USHORT numComponents; // Number of components member in struct:SkOTTableEmbeddedBitmapData::Format9
103 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
/external/skia/src/sfnt/
H A DSkOTTable_EBDT.h96 SK_OT_USHORT numComponents; // Number of components member in struct:SkOTTableEmbeddedBitmapData::Format8
97 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
102 SK_OT_USHORT numComponents; // Number of components member in struct:SkOTTableEmbeddedBitmapData::Format9
103 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
/external/chromium_org/third_party/angle/src/common/
H A Dblocklayout.cpp130 const int numComponents = gl::UniformComponentCount(type); local
131 baseAlignment = (numComponents == 3 ? 4u : static_cast<size_t>(numComponents));
207 int numComponents = gl::UniformComponentCount(type); local
208 if ((numComponents + (mCurrentOffset % ComponentsPerRegister)) > ComponentsPerRegister)
229 const int numComponents = gl::MatrixComponentCount(type, isRowMajorMatrix); local
231 mCurrentOffset += numComponents;
/external/deqp/modules/gles2/performance/
H A Des2pShaderControlStatementTests.cpp304 const int numComponents = 4; local
308 m_comparisonValueArray.resize(numVertices * numComponents);
313 if (i % numComponents == 0)
314 m_comparisonValueArray[i] = (i / numComponents) % 2 == 0 ? +1.0f : -1.0f;
359 const int numComponents = 4; local
362 DE_ASSERT((int)m_comparisonValueArray.size() == numComponents * (getGridWidth() + 1) * (getGridHeight() + 1));
368 gl.vertexAttribPointer(compareAttribLocation, (GLint)numComponents, GL_FLOAT, GL_FALSE, 0, DE_NULL);
580 const int numComponents = 4; local
584 m_boundArray.resize(numVertices * numComponents);
589 if (i % numComponents
632 const int numComponents = 4; local
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pShaderControlStatementTests.cpp308 const int numComponents = 4; local
312 m_comparisonValueArray.resize(numVertices * numComponents);
317 if (i % numComponents == 0)
318 m_comparisonValueArray[i] = (i / numComponents) % 2 == 0 ? +1.0f : -1.0f;
363 const int numComponents = 4; local
366 DE_ASSERT((int)m_comparisonValueArray.size() == numComponents * (getGridWidth() + 1) * (getGridHeight() + 1));
372 gl.vertexAttribPointer(compareAttribLocation, (GLint)numComponents, GL_FLOAT, GL_FALSE, 0, DE_NULL);
588 const int numComponents = 4; local
592 m_boundArray.resize(numVertices * numComponents);
597 if (i % numComponents
640 const int numComponents = 4; local
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFragmentOutputTests.cpp378 static inline Vec4 readVec4 (const float* ptr, int numComponents) argument
380 DE_ASSERT(numComponents >= 1);
382 numComponents >= 2 ? ptr[1] : 0.0f,
383 numComponents >= 3 ? ptr[2] : 0.0f,
384 numComponents >= 4 ? ptr[3] : 0.0f);
387 static inline IVec4 readIVec4 (const int* ptr, int numComponents) argument
389 DE_ASSERT(numComponents >= 1);
391 numComponents >= 2 ? ptr[1] : 0,
392 numComponents >= 3 ? ptr[2] : 0,
393 numComponents >
396 renderFloatReference(const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const float* vertices) argument
427 renderIntReference(const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, int numComponents, const int* vertices) argument
[all...]
H A Des3fTransformFeedbackTests.cpp265 int numComponents = 0; local
268 numComponents = 4;
270 numComponents = 1;
278 numComponents = glu::getVarType(varying.type, varPath).getScalarSize();
281 if (tfMode == GL_SEPARATE_ATTRIBS && numComponents > maxTfSeparateComponents)
284 totalTfComponents += numComponents;
713 int numComponents = glu::getDataTypeScalarSize(type); local
722 for (int compNdx = 0; compNdx < numComponents; compNdx++)
766 outOffset += numComponents*sizeof(deUint32);
1111 int numComponents
[all...]
H A Des3fShaderCommonFunctionTests.cpp296 const int numComponents = glu::getDataTypeScalarSize(basicType); local
298 if (numComponents > 1)
301 for (int compNdx = 0; compNdx < numComponents; compNdx++)
318 if (numComponents > 1)
/external/svox/pico/lib/
H A Dpicosig.c311 * @param numComponents : pointer to the variable to store the number of components
319 picoos_int16 *numComponents)
343 *numComponents = (picoos_int16) *nContent++;
344 if (*numComponents>PICODSP_PHASEORDER) {
345 PICODBG_DEBUG(("WARNING : Frame %d -- Phase vector[%d] Components = %d --> too big\n", nFrame, phsIndex, *numComponents));
346 *numComponents = PICODSP_PHASEORDER;
348 for (nI=0; nI<*numComponents; nI++) {
351 for (nI=*numComponents; nI<PICODSP_PHASEORDER; nI++) {
317 getPhsFromPdf(register picodata_ProcessingUnit this, picoos_uint16 phsIndex, picoos_int32 *phsVect, picoos_int16 *numComponents) argument
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DSecurityOrigin.cpp433 int numComponents; local
436 hostAscii.data(), hostComponent, &(ipNumber)[0], &numComponents);
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DOutputHLSL.cpp390 const int numComponents = gl::UniformComponentCount(glType); local
392 if (numComponents >= 4)
399 if (*elementIndex + numComponents > 4)
402 *elementIndex = numComponents;
408 const int alignment = numComponents == 3 ? 4 : numComponents;
422 *elementIndex += numComponents;
435 int numComponents = 0; local
447 numComponents = gl::MatrixComponentCount(glType, isRowMajorMatrix);
452 numComponents
[all...]
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DE_B_D_T_.py700 (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/fonttools/Tools/fontTools/ttLib/tables/
H A DE_B_D_T_.py700 (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/
H A Des31fProgramInterfaceDefinitionUtil.cpp878 int numComponents = 0; local
881 numComponents += getNumFeedbackVaryingComponents(program, program->getTransformFeedbackVaryings()[ndx]);
883 return numComponents;
888 int numComponents = 0; local
891 numComponents = de::max(numComponents, getNumFeedbackVaryingComponents(program, program->getTransformFeedbackVaryings()[ndx]));
893 return numComponents;
H A Des31fShaderIntegerFunctionTests.cpp83 const int numComponents = glu::getDataTypeScalarSize(basicType); local
85 if (numComponents > 1)
88 for (int compNdx = 0; compNdx < numComponents; compNdx++)
105 if (numComponents > 1)
H A Des31fShaderCommonFunctionTests.cpp323 const int numComponents = glu::getDataTypeScalarSize(basicType); local
325 if (numComponents > 1)
328 for (int compNdx = 0; compNdx < numComponents; compNdx++)
345 if (numComponents > 1)

Completed in 3670 milliseconds

12