/external/chromium_org/third_party/angle/src/common/ |
blocklayout.cpp | 82 const int numComponents = gl::VariableComponentCount(type); 83 baseAlignment = (numComponents == 3 ? 4u : static_cast<size_t>(numComponents)); 158 int numComponents = gl::VariableComponentCount(type); 159 if ((numComponents + (mCurrentOffset % ComponentsPerRegister)) > ComponentsPerRegister) 180 const int numComponents = gl::MatrixComponentCount(type, isRowMajorMatrix); 182 mCurrentOffset += numComponents;
|
/external/deqp/modules/glshared/ |
glsShaderPerformanceMeasurer.cpp | 79 const int numComponents = 4; 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]));
|
glsRandomShaderProgram.cpp | 185 const int numComponents = attribType.getNumElements(); 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(); 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 >= 4) dst[3] = access.component(3).asFloat(ndx) [all...] |
glsFragOpInteractionCase.cpp | 136 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(); 507 switch (numComponents)
|
glsRandomShaderCase.cpp | 153 int numComponents = input->getVariable()->getType().getNumElements(); 165 float* dst = &vtxArray.getVertices()[vtxNdx*numComponents]; 170 DE_ASSERT(numComponents == 4); 178 for (int compNdx = 0; compNdx < numComponents; compNdx++)
|
glsLongStressCase.cpp | [all...] |
/frameworks/av/media/libstagefright/omx/ |
OMXMaster.cpp | 171 size_t numComponents = mPluginByComponentName.size(); 173 if (index >= numComponents) {
|
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
SecurityOrigin.cpp | 437 int numComponents; 440 hostAscii.data(), hostComponent, &(ipNumber)[0], &numComponents);
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
StructureHLSL.cpp | 43 const int numComponents = gl::VariableComponentCount(glType); 45 if (numComponents >= 4) 52 if (mElementIndex + numComponents > 4) 55 mElementIndex = numComponents; 59 const int alignment = numComponents == 3 ? 4 : numComponents; 64 mElementIndex += numComponents; 91 int numComponents = 0; 104 numComponents = gl::MatrixComponentCount(glType, isRowMajorMatrix); 110 numComponents = mStructElementIndexes.find(structName)->second [all...] |
/external/chromium_org/third_party/skia/src/sfnt/ |
SkOTTable_EBDT.h | 96 SK_OT_USHORT numComponents; // Number of components 97 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array 102 SK_OT_USHORT numComponents; // Number of components 103 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
|
/external/deqp/framework/opengl/ |
gluDrawUtil.hpp | 116 int numComponents; //!< Number of components per element. 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)); \
|
gluDrawUtil.cpp | 46 int numComponents; 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, compTypeGL, va.stride, va.pointer) [all...] |
/external/skia/src/sfnt/ |
SkOTTable_EBDT.h | 96 SK_OT_USHORT numComponents; // Number of components 97 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array 102 SK_OT_USHORT numComponents; // Number of components 103 //EBDTComponent componentArray[numComponents]; // Glyph code, offset array
|
/external/deqp/modules/gles2/performance/ |
es2pShaderControlStatementTests.cpp | 304 const int numComponents = 4; 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; 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; 584 m_boundArray.resize(numVertices * numComponents); 589 if (i % numComponents == 0 [all...] |
es2pShaderOperatorTests.cpp | 350 const int numComponents = 4; 353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents); 367 for (int compNdx = 0; compNdx < numComponents; compNdx++) \ [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTransformFeedbackTests.cpp | 265 int numComponents = 0; 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); 722 for (int compNdx = 0; compNdx < numComponents; compNdx++) 766 outOffset += numComponents*sizeof(deUint32); [all...] |
es3fShaderCommonFunctionTests.cpp | 296 const int numComponents = glu::getDataTypeScalarSize(basicType); 298 if (numComponents > 1) 301 for (int compNdx = 0; compNdx < numComponents; compNdx++) 318 if (numComponents > 1) [all...] |
es3fShaderDerivateTests.cpp | 455 const int numComponents = glu::getDataTypeFloatScalars(dataType); 490 for (int c = 0; c < numComponents; ++c) [all...] |
/external/deqp/modules/gles3/performance/ |
es3pShaderControlStatementTests.cpp | 308 const int numComponents = 4; 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; 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; 592 m_boundArray.resize(numVertices * numComponents); 597 if (i % numComponents == 0 [all...] |
es3pShaderOperatorTests.cpp | 350 const int numComponents = 4; 353 dst.resize(getNumVertices(gridSizeX, gridSizeY) * numComponents); 367 for (int compNdx = 0; compNdx < numComponents; compNdx++) \ [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramInterfaceDefinitionUtil.cpp | 878 int numComponents = 0; 881 numComponents += getNumFeedbackVaryingComponents(program, program->getTransformFeedbackVaryings()[ndx]); 883 return numComponents; 888 int numComponents = 0; 891 numComponents = de::max(numComponents, getNumFeedbackVaryingComponents(program, program->getTransformFeedbackVaryings()[ndx])); 893 return numComponents; [all...] |
es31fShaderCommonFunctionTests.cpp | 323 const int numComponents = glu::getDataTypeScalarSize(basicType); 325 if (numComponents > 1) 328 for (int compNdx = 0; compNdx < numComponents; compNdx++) 345 if (numComponents > 1) [all...] |
es31fShaderIntegerFunctionTests.cpp | 83 const int numComponents = glu::getDataTypeScalarSize(basicType); 85 if (numComponents > 1) 88 for (int compNdx = 0; compNdx < numComponents; compNdx++) 105 if (numComponents > 1) [all...] |
/external/chromium_org/third_party/closure_compiler/compiler/ |
compiler.jar | |