Searched refs:numCols (Results 1 - 25 of 34) sorted by relevance

12

/external/deqp/modules/gles3/functional/
H A Des3fShaderIndexingTests.cpp808 int numCols = getDataTypeMatrixNumColumns(varType); local
810 const char* matSizeName = getIntUniformName(numCols);
834 if (numCols >= 2) op << ", ui_one";
835 if (numCols >= 3) op << ", ui_two";
836 if (numCols >= 4) op << ", ui_three";
862 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n";
863 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n";
864 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n";
869 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n";
870 if (numCols >
875 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local
909 op << " for (int i = 0; i < " << numCols << "; i++)\\n"; local
[all...]
H A Des3fPrimitiveRestartTests.cpp296 // Generate a numRows x numCols arrangement of line polygons of different vertex counts.
300 const int numCols = 4; local
306 for (int col = 0; col < numCols; col++)
308 float centerX = -1.0f + 2.0f * ((float)col + 0.5f) / (float)numCols;
309 int numVertices = row*numCols + col + 1;
313 float fx = centerX + 0.9f * deFloatCos((float)i*2.0f*DE_PI / (float)numVertices) / (float)numCols;
322 if (col < numCols - 1 || row < numRows - 1) // Add a restart after all but last polygon.
363 // Generate a numRows x numCols arrangement of triangle fan polygons of different vertex counts.
367 const int numCols = 4; local
373 for (int col = 0; col < numCols; co
[all...]
H A Des3fInstancedRenderingTests.cpp496 int numCols = glu::getDataTypeMatrixNumColumns(m_rgbAttrType); local
498 glVertexAttribPointer(curLoc, numRows, GL_FLOAT, GL_FALSE, numCols*numRows*sizeof(float), attrPtr);
H A Des3fShaderMatrixTests.cpp1886 int numCols = getDataTypeMatrixNumColumns(matType); local
1908 DataType colVecType = getDataTypeFloatVec(numCols);
1928 ShaderInput otherMatIn(inputType == INPUTTYPE_DYNAMIC ? INPUTTYPE_UNIFORM : inputType, getDataTypeMatrix(otherCols, numCols /* rows */), precision);
1944 ShaderInput vec2In((inputType == INPUTTYPE_DYNAMIC) ? (INPUTTYPE_UNIFORM) : (inputType), getDataTypeFloatVec(numCols), precision);
1951 (isOperationUnarySymmetricMatrix(op) && numCols == numRows))
1959 (isOperationAssignmentSymmetricMatrix(op) && numCols == numRows))
/external/chromium_org/third_party/skia/gm/
H A Dbeziereffects.cpp81 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3))); variable
82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols);
83 SkScalar w = SkIntToScalar(rt->width()) / numCols;
182 if (numCols == col) {
239 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); variable
240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols);
241 SkScalar w = SkIntToScalar(rt->width()) / numCols;
337 if (numCols == col) {
429 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); variable
430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols);
[all...]
/external/skia/gm/
H A Dbeziereffects.cpp81 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumCubics*3))); variable
82 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumCubics*3) / numCols);
83 SkScalar w = SkIntToScalar(rt->width()) / numCols;
182 if (numCols == col) {
239 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumConics*3))); variable
240 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumConics*3) / numCols);
241 SkScalar w = SkIntToScalar(rt->width()) / numCols;
337 if (numCols == col) {
429 int numCols = SkScalarCeilToInt(SkScalarSqrt(SkIntToScalar(kNumQuads*3))); variable
430 int numRows = SkScalarCeilToInt(SkIntToScalar(kNumQuads*3) / numCols);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXTableColumn.cpp116 unsigned numCols = section->numColumns(); local
117 if (m_columnIndex >= numCols)
H A DAXTable.cpp176 int numCols = firstBody->numColumns(); local
180 if (numRows == 1 && numCols == 1)
213 for (int col = 0; col < numCols; ++col) {
292 if (!row && headersInFirstRowCount == numCols && numCols > 1)
/external/deqp/modules/gles2/scripts/
H A Dgenutil.py574 def __init__ (self, numCols, numRows, scalars):
575 assert len(scalars) == numRows*numCols
576 self.numCols = numCols
581 def identity (numCols, numRows):
583 for col in range(0, numCols):
586 return Mat(numCols, numRows, scalars)
589 assert 0 <= colNdx and colNdx < self.numCols
594 assert 0 <= colNdx and colNdx < self.numCols
598 def toMatrix (self, numCols, numRow
[all...]
H A Dgen-conversions.py77 def combineMat(numCols, numRows, comps):
81 res.append(Mat(numCols, numRows, scalars))
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py711 def __init__ (self, numCols, numRows, scalars):
712 assert len(scalars) == numRows*numCols
713 self.numCols = numCols
718 def fromScalar (numCols, numRows, scalar):
720 for col in range(0, numCols):
723 return Mat(numCols, numRows, scalars)
726 def identity (numCols, numRows):
727 return Mat.fromScalar(numCols, numRows, 1.0)
730 assert 0 <= colNdx and colNdx < self.numCols
[all...]
H A Dgen-conversions.py80 def combineMat(numCols, numRows, comps):
84 res.append(Mat(numCols, numRows, scalars))
/external/deqp/modules/gles31/scripts/
H A Dgenutil.py713 def __init__ (self, numCols, numRows, scalars):
714 assert len(scalars) == numRows*numCols
715 self.numCols = numCols
720 def fromScalar (numCols, numRows, scalar):
722 for col in range(0, numCols):
725 return Mat(numCols, numRows, scalars)
728 def identity (numCols, numRows):
729 return Mat.fromScalar(numCols, numRows, 1.0)
732 assert 0 <= colNdx and colNdx < self.numCols
[all...]
/external/deqp/framework/opengl/
H A DgluShaderUtil.cpp519 DataType getDataTypeMatrix (int numCols, int numRows) argument
521 DE_ASSERT(de::inRange(numCols, 2, 4) && de::inRange(numRows, 2, 4));
522 return (DataType)((int)TYPE_FLOAT_MAT2 + (numCols-2)*3 + (numRows-2));
H A DgluShaderUtil.hpp191 DataType getDataTypeMatrix (int numCols, int numRows);
/external/eigen/Eigen/src/plugins/
H A DBlockMethods.h616 * \param numCols the number of columns in the block
623 inline ColsBlockXpr middleCols(Index startCol, Index numCols) argument
625 return ColsBlockXpr(derived(), 0, startCol, rows(), numCols);
629 inline ConstColsBlockXpr middleCols(Index startCol, Index numCols) const
631 return ConstColsBlockXpr(derived(), 0, startCol, rows(), numCols);
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp451 int numCols = de::min(maxQuadsX, numQuads);
464 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset);
466 rendered.setSize(numCols*VERIFY_QUAD_SIZE, numRows*VERIFY_QUAD_SIZE);
/external/deqp/modules/glshared/
H A DglsShaderRenderCase.cpp576 int numCols; member in struct:deqp::gls::__anon19603
599 int numCols = matrices[matNdx].numCols; local
601 for (int colNdx = 0; colNdx < numCols; colNdx++)
H A DglsShaderExecUtil.cpp492 int numCols = glu::getDataTypeMatrixNumColumns(basicType); local
493 int stride = numRows * numCols * sizeof(float);
495 for (int colNdx = 0; colNdx < numCols; ++colNdx)
737 int numCols = glu::getDataTypeMatrixNumColumns(basicType); local
738 int stride = numRows * numCols * sizeof(float);
740 for (int colNdx = 0; colNdx < numCols; ++colNdx)
H A DglsBufferTestUtil.cpp620 int numCols = de::min(maxQuadsX, numQuads);
633 renderQuadGridReference(reference, numQuads, numCols, refPtr + offset + curOffset);
635 rendered.setSize(numCols*VERIFY_QUAD_SIZE, numRows*VERIFY_QUAD_SIZE);
H A DglsShaderLibraryCase.cpp876 int numCols = getDataTypeMatrixNumColumns(dataType);
878 DE_ASSERT(scalarSize == numCols*numRows);
880 for (int i = 0; i < numCols; i++)
1694 int numCols = getDataTypeMatrixNumColumns(dataType);
1698 for (int colNdx = 0; colNdx < numCols; colNdx++)
1701 float v = val.elements[elemNdx*scalarSize + rowNdx*numCols + colNdx].float32;
H A DglsUniformBlockCase.cpp956 int numCols = glu::getDataTypeMatrixNumColumns(entry.type); local
961 for (int colNdx = 0; colNdx < numCols; colNdx++)
1286 int numCols = glu::getDataTypeMatrixNumColumns(dstEntry.type); local
1288 for (int colNdx = 0; colNdx < numCols; colNdx++)
/external/chromium_org/third_party/icu/source/common/
H A Drbbitblb.cpp1063 int32_t numCols; local
1073 numCols = fRB->fSetBuilder->getNumCharCategories();
1076 // Therefore we subtract two from numCols when determining
1078 rowSize = sizeof(RBBIStateTableRow) + sizeof(uint16_t)*(numCols-2);
/external/icu/icu4c/source/common/
H A Drbbitblb.cpp1063 int32_t numCols; local
1073 numCols = fRB->fSetBuilder->getNumCharCategories();
1076 // Therefore we subtract two from numCols when determining
1078 rowSize = sizeof(RBBIStateTableRow) + sizeof(uint16_t)*(numCols-2);
/external/deqp/modules/gles31/functional/
H A Des31fTextureGatherTests.cpp88 const int numCols = 7; local
94 for (int col = 0; col < numCols; col++)
98 const int xBegin = (col+0)*dst.getWidth()/numCols;
99 const int xEnd = (col+1)*dst.getWidth()/numCols;

Completed in 450 milliseconds

12