Searched refs:numUnits (Results 1 – 5 of 5) sorted by relevance
/external/skia/tests/ |
D | TextureBindingsResetTest.cpp | 35 GrGLint numUnits; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 36 GL(GetIntegerv(GR_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &numUnits)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 38 claimedIDs.setCount(numUnits * targets.count()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 43 for (int u = 0; u < numUnits; ++u) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 52 for (int u = 0; u < numUnits; ++u) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureUnitTests.cpp | 131 static string generateMultiTexFragmentShader(int numUnits, const GLenum* unitTypes) in generateMultiTexFragmentShader() argument 139 string colorMultiplier = "(1.0/" + de::toString(numUnits) + ".0)"; in generateMultiTexFragmentShader() 141 for (int ndx = 0; ndx < numUnits; ndx++) in generateMultiTexFragmentShader() 173 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const G… in generateShaderProgramDeclaration() argument 182 for (int ndx = 0; ndx < numUnits; ++ndx) in generateShaderProgramDeclaration() 200 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes)); in generateShaderProgramDeclaration() 244 MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes); 259 MultiTexShader::MultiTexShader (deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes) in MultiTexShader() argument 260 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, &unitTypes[0])) in MultiTexShader() 261 , m_numUnits (numUnits) in MultiTexShader() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 198 static string generateMultiTexFragmentShader (int numUnits, const vector<GLenum>& unitTypes, const … in generateMultiTexFragmentShader() argument 208 string colorMultiplier = "(1.0/" + de::toString(numUnits) + ".0)"; in generateMultiTexFragmentShader() 210 for (int ndx = 0; ndx < numUnits; ndx++) in generateMultiTexFragmentShader() 249 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const v… in generateShaderProgramDeclaration() argument 258 for (int ndx = 0; ndx < numUnits; ++ndx) in generateShaderProgramDeclaration() 281 …decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerType… in generateShaderProgramDeclaration() 335 int numUnits, 358 int numUnits, in MultiTexShader() argument 364 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes)) in MultiTexShader() 365 , m_numUnits (numUnits) in MultiTexShader() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | otConverters.py | 641 def writeBinSearchHeader(writer, numUnits, unitSize): argument 643 writer.writeUShort(numUnits) 645 getSearchRange(n=numUnits, itemSize=unitSize) 678 numUnits, unitSize = len(segments) + 1, valueSize + 4 679 return (2 + self.BIN_SEARCH_HEADER_SIZE + numUnits * unitSize, 2, 685 numUnits, unitSize = len(segments), valueSize + 4 686 self.writeBinSearchHeader(writer, numUnits, unitSize) 699 numUnits, unitSize = len(values), valueSize + 2 700 return (2 + self.BIN_SEARCH_HEADER_SIZE + (numUnits + 1) * unitSize, 6, 706 numUnits, unitSize = len(values), valueSize + 2 [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_skeletons.cpp | 922 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption() local 928 for (int32_t i = 0; i < numUnits; i++) { in parseMeasureUnitOption()
|