/external/deqp/modules/gles3/functional/ |
D | es3fVertexArrayTest.cpp | 176 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 183 …strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 184 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 187 …]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + … in init() 189 …TTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4) in init() 196 componentCount, in init() 289 const int componentCount = (packed) ? (4) : (2); in init() local 290 …[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 291 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 299 componentCount, in init() [all …]
|
D | es3fDrawTests.cpp | 122 spec.attribs[0].componentCount = 4; in genBasicSpec() 133 spec.attribs[1].componentCount = 2; in genBasicSpec() 200 spec.attribs[0].componentCount = 2; in init() 235 spec.attribs[0].componentCount = 4; in init() 246 spec.attribs[1].componentCount = 2; in init() 281 spec.attribs[0].componentCount = 4; in init() 293 spec.attribs[1].componentCount = 2; in init() 306 spec.attribs[2].componentCount = 3; in init() 341 spec.attribs[0].componentCount = 2; in init() 352 int componentCount; in init() member [all …]
|
D | es3fVertexArrayObjectTests.cpp | 101 int componentCount; member 330 case GL_FLOAT: stride = buffer.componentCount * (int)sizeof(GLfloat); break; in createRandomBufferData() 331 case GL_INT: stride = buffer.componentCount * (int)sizeof(GLint); break; in createRandomBufferData() 332 case GL_UNSIGNED_INT: stride = buffer.componentCount * (int)sizeof(GLuint); break; in createRandomBufferData() 333 case GL_SHORT: stride = buffer.componentCount * (int)sizeof(GLshort); break; in createRandomBufferData() 334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * (int)sizeof(GLushort); break; in createRandomBufferData() 335 case GL_BYTE: stride = buffer.componentCount * (int)sizeof(GLbyte); break; in createRandomBufferData() 336 case GL_UNSIGNED_BYTE: stride = buffer.componentCount * (int)sizeof(GLubyte); break; in createRandomBufferData() 349 for (int componentNdx = 0; componentNdx < buffer.componentCount; componentNdx++) in createRandomBufferData() 906 case GL_FLOAT: stride = buffer.componentCount * (int)sizeof(GLfloat); break; in createRandomBufferData() [all …]
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | LigatureTreeWalker.java | 22 protected int componentCount; field in LigatureTreeWalker 31 componentCount = 0; in LigatureTreeWalker() 39 componentChars[componentCount] = ch; in down() 40 componentCount += 1; in down() 45 if (componentCount > 0) { in up() 46 componentCount -= 1; in up() 63 ligatureSet.addElement(new LigatureEntry(lig, componentChars, componentCount)); in ligature()
|
D | LigatureEntry.java | 20 public LigatureEntry(int ligature, int[] componentChars, int componentCount) in LigatureEntry() argument 22 this.componentChars = new int[componentCount]; in LigatureEntry() 24 System.arraycopy(componentChars, 0, this.componentChars, 0, componentCount); in LigatureEntry()
|
/external/deqp/modules/gles3/stress/ |
D | es3sVertexArrayTests.cpp | 179 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 186 …strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 187 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 190 …]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + … in init() 192 …TTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_10) && componentCount != 4) in init() 199 componentCount, in init() 292 const int componentCount = (packed) ? (4) : (2); in init() local 293 …[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[s… in init() 294 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init() 302 componentCount, in init() [all …]
|
D | es3sDrawTests.cpp | 245 spec.attribs[0].componentCount = 4; in genBasicSpec() 256 spec.attribs[1].componentCount = 2; in genBasicSpec() 550 attribSpec.componentCount = random.getInt(1, 4); in init() 561 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init() 587 if (spec.attribs[0].componentCount == 1) in init()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1310 …static char* generateArray (int seed, GLValue min, GLValue max, int count, int componentCount, i… 1311 …static char* generateQuads (int seed, int count, int componentCount, int offset, int stride, Arr… 1312 …static char* generatePerQuad (int seed, int count, int componentCount, int stride, Array::Primit… 1316 …static char* createQuads (int seed, int count, int componentCount, int offset, int stride, Array:… 1318 …static char* createPerQuads (int seed, int count, int componentCount, int stride, Array::Primitive… 1319 …static char* createQuadsPacked (int seed, int count, int componentCount, int offset, int stride, A… 1393 …r::generateArray (int seed, GLValue min, GLValue max, int count, int componentCount, int stride, A… in generateArray() argument 1401 stride = componentCount * Array::inputTypeSize(type); in generateArray() 1407 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in generateArray() 1416 char* RandomArrayGenerator::generateQuads (int seed, int count, int componentCount, int offset, int… in generateQuads() argument [all …]
|
D | glsDrawTest.cpp | 1514 …static char* generateArray (int seed, int elementCount, int componentCount, int offset, int st… 1522 …static char* generateBasicArray (int seed, int elementCount, int componentCount, int offset, in… 1524 …static char* createBasicArray (int seed, int elementCount, int componentCount, int offset, int … 1525 …static char* generatePackedArray (int seed, int elementCount, int componentCount, int offset, i… 1528 char* RandomArrayGenerator::generateArray (int seed, int elementCount, int componentCount, int offs… in generateArray() argument 1531 return generatePackedArray(seed, elementCount, componentCount, offset, stride); in generateArray() 1533 return generateBasicArray(seed, elementCount, componentCount, offset, stride, type); in generateArray() 1536 char* RandomArrayGenerator::generateBasicArray (int seed, int elementCount, int componentCount, int… in generateBasicArray() argument 1540 …return createBasicArray<float, GLValue::Float> (seed, elementCount, componentCount, offset, strid… in generateBasicArray() 1541 …eturn createBasicArray<double, GLValue::Double>(seed, elementCount, componentCount, offset, strid… in generateBasicArray() [all …]
|
D | glsDrawTest.hpp | 194 … inputType, OutputType outputType, Storage storage, Usage usage, int componentCount, int offset, i… 195 …ateDefaultAttribute (InputType inputType, OutputType outputType, int componentCount); //!< allowed… 201 int componentCount; member
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexArrayTest.cpp | 85 const int componentCount = 2; in init() local 86 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 92 componentCount, in init() 149 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 155 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 162 componentCount, in init() 356 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 364 componentCount, in init() 421 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 429 componentCount, in init() [all …]
|
D | es2fDrawTests.cpp | 91 spec.attribs[0].componentCount = 4; in genBasicSpec() 102 spec.attribs[1].componentCount = 2; in genBasicSpec() 164 spec.attribs[0].componentCount = 2; in init() 199 spec.attribs[0].componentCount = 4; in init() 210 spec.attribs[1].componentCount = 2; in init() 245 spec.attribs[0].componentCount = 2; in init() 256 int componentCount; in init() member 265 …nputTypeToString(iopairs[ioNdx].input) + de::toString(iopairs[ioNdx].componentCount) + " to " + gl… in init() 271 spec.attribs[1].componentCount = iopairs[ioNdx].componentCount; in init() 622 attribSpec.componentCount = random.getInt(1, 4); in init() [all …]
|
/external/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 162 int componentCount = textureComponentCount(); in sampleTexture() local 197 if(componentCount < 2) c.y = Short4(defaultColorValue); in sampleTexture() 198 if(componentCount < 3) c.z = Short4(defaultColorValue); in sampleTexture() 199 if(componentCount < 4) c.w = Short4(0x1000); in sampleTexture() 339 int componentCount = textureComponentCount(); in sampleTexture() local 379 if(componentCount < 2) c.y = Float4(defaultColorValue); in sampleTexture() 380 if(componentCount < 3) c.z = Float4(defaultColorValue); in sampleTexture() 381 if(componentCount < 4) c.w = Float4(1.0f); in sampleTexture() 652 int componentCount = textureComponentCount(); in sampleQuad2D() local 711 if(componentCount >= 1) in sampleQuad2D() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sVertexArrayTests.cpp | 86 const int componentCount = 2; in init() local 87 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 93 componentCount, in init() 150 for (int componentCount = 2; componentCount < 5; componentCount++) in init() local 156 …es[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[stri… in init() 163 componentCount, in init()
|
D | es2sDrawTests.cpp | 64 spec.attribs[0].componentCount = 4; in genBasicSpec() 75 spec.attribs[1].componentCount = 2; in genBasicSpec() 336 attribSpec.componentCount = random.getInt(1, 4); in init() 347 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init() 373 if (spec.attribs[0].componentCount == 1) in init()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 113 const deUint32 componentCount (tcu::getNumUsedChannels(tcuFormat.order)); in getFormatThreshold() local 117 return Vec4((componentCount >= 1) ? 1.5f * getRepresentableDiffSnorm(format, 0) : 0.0f, in getFormatThreshold() 118 (componentCount >= 2) ? 1.5f * getRepresentableDiffSnorm(format, 1) : 0.0f, in getFormatThreshold() 119 (componentCount >= 3) ? 1.5f * getRepresentableDiffSnorm(format, 2) : 0.0f, in getFormatThreshold() 120 (componentCount == 4) ? 1.5f * getRepresentableDiffSnorm(format, 3) : 0.0f); in getFormatThreshold() 124 return Vec4((componentCount >= 1) ? 1.5f * getRepresentableDiffUnorm(format, 0) : 0.0f, in getFormatThreshold() 125 (componentCount >= 2) ? 1.5f * getRepresentableDiffUnorm(format, 1) : 0.0f, in getFormatThreshold() 126 (componentCount >= 3) ? 1.5f * getRepresentableDiffUnorm(format, 2) : 0.0f, in getFormatThreshold() 127 (componentCount == 4) ? 1.5f * getRepresentableDiffUnorm(format, 3) : 0.0f); in getFormatThreshold() 1069 const int componentCount (tcu::getNumUsedChannels(format.order)); in verify() local [all …]
|
D | vktRenderPassMultisampleTests.cpp | 1445 const int componentCount (tcu::getNumUsedChannels(format.order)); in iterateInternal() local 1461 for (int compNdx = 0; compNdx < componentCount; compNdx++) in iterateInternal() 1490 const int componentCount (tcu::getNumUsedChannels(format.order)); in iterateInternal() local 1506 for (int compNdx = 0; compNdx < componentCount; compNdx++) in iterateInternal() 1540 const int componentCount (tcu::getNumUsedChannels(format.order)); in iterateInternal() local 1556 for (int compNdx = 0; compNdx < componentCount; compNdx++) in iterateInternal() 1708 const int componentCount = tcu::getNumUsedChannels(format.order); in init() local 1717 for (int compNdx = 0; compNdx < componentCount; compNdx++) in init() 1770 const int componentCount = tcu::getNumUsedChannels(format.order); in init() local 1779 for (int compNdx = 0; compNdx < componentCount; compNdx++) in init() [all …]
|
D | vktRenderPassTests.cpp | 943 …const deUint32 componentCount = (useFormatCompCount ? (deUint32)tcu::getNumUsedChannels(format… in clearColorToString() local 952 for (deUint32 i = 0; i < componentCount; i++) in clearColorToString() 965 for (deUint32 i = 0; i < componentCount; i++) in clearColorToString() 980 for (deUint32 i = 0; i < componentCount; i++) in clearColorToString() 1034 …const deUint32 componentCount = (useFormatCompCount ? (deUint32)tcu::getNumUsedChannels(format… in randomColorClearValue() local 1041 for (deUint32 ndx = 0; ndx < componentCount; ndx++) in randomColorClearValue() 1053 for (deUint32 ndx = 0; ndx < componentCount; ndx++) in randomColorClearValue() 1067 for (deUint32 ndx = 0; ndx < componentCount; ndx++) in randomColorClearValue() 3233 const int componentCount = tcu::getNumUsedChannels(format.order); in renderReferenceValues() local 3235 outputComponentCount += (size_t)componentCount; in renderReferenceValues() [all …]
|
/external/swiftshader/src/Shader/ |
D | SamplerCore.cpp | 162 int componentCount = textureComponentCount(); in sampleTexture() local 215 if(componentCount < 2) c.y = Short4(defaultColorValue); in sampleTexture() 216 if(componentCount < 3) c.z = Short4(defaultColorValue); in sampleTexture() 217 if(componentCount < 4) c.w = Short4(0x1000); in sampleTexture() 384 int componentCount = textureComponentCount(); in sampleTexture() local 443 if(componentCount < 2) c.y = Float4(defaultColorValue); in sampleTexture() 444 if(componentCount < 3) c.z = Float4(defaultColorValue); in sampleTexture() 445 if(componentCount < 4) c.w = Float4(1.0f); in sampleTexture() 743 int componentCount = textureComponentCount(); in sampleQuad2D() local 802 if(componentCount >= 1) in sampleQuad2D() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | ImageHeaderParser.java | 217 int tagOffset, tagType, formatCode, componentCount; in parseExifSegment() local 238 componentCount = segmentData.getInt32(tagOffset + 4); in parseExifSegment() 240 if (componentCount < 0) { in parseExifSegment() 249 + " componentCount=" + componentCount); in parseExifSegment() 252 final int byteCount = componentCount + BYTES_PER_FORMAT[formatCode]; in parseExifSegment()
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawElementsBaseVertexTests.cpp | 149 spec.attribs[0].componentCount = 4; in genBasicSpec() 160 spec.attribs[1].componentCount = 2; in genBasicSpec() 651 spec.attribs[0].componentCount = 2; in init() 687 spec.attribs[0].componentCount = 4; in init() 698 spec.attribs[1].componentCount = 2; in init() 734 spec.attribs[0].componentCount = 4; in init() 746 spec.attribs[1].componentCount = 2; in init() 759 spec.attribs[2].componentCount = 3; in init() 795 spec.attribs[0].componentCount = 2; in init() 806 int componentCount; in init() member [all …]
|
D | es31fDrawTests.cpp | 202 spec.attribs[0].componentCount = 4; in genBasicSpec() 213 spec.attribs[1].componentCount = 2; in genBasicSpec() 284 spec.attribs[0].componentCount = 2; in init() 320 spec.attribs[0].componentCount = 4; in init() 331 spec.attribs[1].componentCount = 2; in init() 367 spec.attribs[0].componentCount = 4; in init() 379 spec.attribs[1].componentCount = 2; in init() 392 spec.attribs[2].componentCount = 3; in init() 428 spec.attribs[0].componentCount = 2; in init() 439 int componentCount; in init() member [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | LevelBuilder.java | 188 final int componentCount = backgroundObject.getCount(); in promoteForegroundLayer() local 189 for (int x = componentCount - 1; x >= 0; x--) { in promoteForegroundLayer()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineVertexInputTests.cpp | 751 …const int componentCount = VertexInputTest::s_glslTypeDescriptions[attributeInfo.glslType].vert… in getGlslAttributeConditions() local 753 const deUint32 totalComponentCount = componentCount * vertexInputCount; in getGlslAttributeConditions() 776 for (int rowNdx = 0; rowNdx < componentCount; rowNdx++) in getGlslAttributeConditions() 793 if (componentCount > 1) in getGlslAttributeConditions() 1401 const deUint32 componentCount = getVertexFormatComponentCount(format); in writeVertexInputValueIntPacked() local 1407 if (componentNdx == componentCount - 1) in writeVertexInputValueIntPacked() 1461 …const int componentCount = VertexInputTest::s_glslTypeDescriptions[attribute.glslType].vertexInp… in writeVertexInputValue() local 1462 const deUint32 totalComponentCount = componentCount * vertexInputCount; in writeVertexInputValue() 1463 …t32 vertexInputIndex = indexId * totalComponentCount + attribute.vertexInputIndex * componentCount; in writeVertexInputValue() 1475 for (int componentNdx = 0; componentNdx < componentCount; componentNdx++) in writeVertexInputValue()
|
/external/deqp/modules/gles31/stress/ |
D | es31sDrawTests.cpp | 484 attribSpec.componentCount = random.getInt(1, 4); in init() 495 …if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.i… in init() 521 if (spec.attribs[0].componentCount == 1) in init()
|