Home
last modified time | relevance | path

Searched refs:numUnits (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DTextureBindingsResetTest.cpp39 GrGLint numUnits; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
40 GL(GetIntegerv(GR_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &numUnits)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
42 claimedIDs.setCount(numUnits * targets.count()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
47 for (int u = 0; u < numUnits; ++u) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
56 for (int u = 0; u < numUnits; ++u) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/angle/src/tests/gl_tests/gles1/
DTextureEnvTest.cpp134 GLint numUnits; in TEST_P() local
135 glGetIntegerv(GL_MAX_TEXTURE_UNITS, &numUnits); in TEST_P()
138 for (int i = 0; i < numUnits; i++) in TEST_P()
249 GLint numUnits; in TEST_P() local
250 glGetIntegerv(GL_MAX_TEXTURE_UNITS, &numUnits); in TEST_P()
253 std::vector<GLenum> validUnits(numUnits); in TEST_P()
254 for (int i = 0; i < numUnits; i++) in TEST_P()
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp131 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/
Des3fTextureUnitTests.cpp198 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/
DotConverters.py712 def writeBinSearchHeader(writer, numUnits, unitSize): argument
714 writer.writeUShort(numUnits)
716 getSearchRange(n=numUnits, itemSize=unitSize)
749 numUnits, unitSize = len(segments) + 1, valueSize + 4
750 return (2 + self.BIN_SEARCH_HEADER_SIZE + numUnits * unitSize, 2,
756 numUnits, unitSize = len(segments), valueSize + 4
757 self.writeBinSearchHeader(writer, numUnits, unitSize)
770 numUnits, unitSize = len(values), valueSize + 2
771 return (2 + self.BIN_SEARCH_HEADER_SIZE + (numUnits + 1) * unitSize, 6,
777 numUnits, unitSize = len(values), valueSize + 2
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_skeletons.cpp1007 int32_t numUnits = MeasureUnit::getAvailable(type.data(), units, CAPACITY, localStatus); in parseMeasureUnitOption() local
1013 for (int32_t i = 0; i < numUnits; i++) { in parseMeasureUnitOption()