/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
D | i915_state_derived.c | 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; in calculate_vertex_layout() local 66 memset(texCoords, 0, sizeof(texCoords)); in calculate_vertex_layout() 78 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 90 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 147 if (texCoords[i]) { in calculate_vertex_layout()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_derived.c | 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; in calculate_vertex_layout() local 66 memset(texCoords, 0, sizeof(texCoords)); in calculate_vertex_layout() 78 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 90 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 147 if (texCoords[i]) { in calculate_vertex_layout()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureUnitTests.cpp | 480 const tcu::Vec2 texCoords[4] = in shadeFragments() local 493 (m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f)).xy(), in shadeFragments() 494 (m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f)).xy(), in shadeFragments() 495 (m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f)).xy(), in shadeFragments() 496 (m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f)).xy(), in shadeFragments() 509 m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f), in shadeFragments() 510 m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f), in shadeFragments() 511 m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f), in shadeFragments() 512 m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f), in shadeFragments()
|
D | es2fTextureSpecificationTests.cpp | 211 tcu::Vec2 texCoords[4]; in shadeFragments() local 220 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments() 224 m_uniforms[0].sampler.tex2D->sample4(colors, texCoords); in shadeFragments() 293 tcu::Vec3 texCoords[4]; in shadeFragments() local 308 case tcu::CUBEFACE_NEGATIVE_X: texCoords[fragNdx] = tcu::Vec3(-1.0f, -y, +x); break; in shadeFragments() 309 case tcu::CUBEFACE_POSITIVE_X: texCoords[fragNdx] = tcu::Vec3(+1.0f, -y, -x); break; in shadeFragments() 310 case tcu::CUBEFACE_NEGATIVE_Y: texCoords[fragNdx] = tcu::Vec3( +x, -1.0f, -y); break; in shadeFragments() 311 case tcu::CUBEFACE_POSITIVE_Y: texCoords[fragNdx] = tcu::Vec3( +x, +1.0f, +y); break; in shadeFragments() 312 case tcu::CUBEFACE_NEGATIVE_Z: texCoords[fragNdx] = tcu::Vec3( -x, -y, -1.0f); break; in shadeFragments() 313 case tcu::CUBEFACE_POSITIVE_Z: texCoords[fragNdx] = tcu::Vec3( +x, -y, +1.0f); break; in shadeFragments() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.cpp | 376 tcu::Vec2 texCoords[4]; in shadeFragments() local 385 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments() 400 tex->sample4(tmpColors, texCoords); in shadeFragments() 530 tcu::Vec3 texCoords[4]; in shadeFragments() local 540 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), coord.z()); in shadeFragments() 543 tex->sample4(colors, texCoords); in shadeFragments() 638 tcu::Vec3 texCoords[4]; in shadeFragments() local 648 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), float(layer)); in shadeFragments() 651 tex->sample4(colors, texCoords); in shadeFragments() 746 tcu::Vec3 texCoords[4]; in shadeFragments() local [all …]
|
D | es3fTextureUnitTests.cpp | 636 const tcu::Vec2 texCoords[4] = in shadeFragments() local 647 (m_transformations[unitNdx] * Vec4(texCoords[0].x(), texCoords[0].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 648 (m_transformations[unitNdx] * Vec4(texCoords[1].x(), texCoords[1].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 649 (m_transformations[unitNdx] * Vec4(texCoords[2].x(), texCoords[2].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 650 (m_transformations[unitNdx] * Vec4(texCoords[3].x(), texCoords[3].y(), 1.0f, 1.0f)).xyz(), in shadeFragments()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 487 static inline void computeTexCoordVecs (const vector<float>& texCoords, tcu::Vector<float, N> (&dst… in computeTexCoordVecs() argument 489 DE_ASSERT((int)texCoords.size() == 4*N); in computeTexCoordVecs() 492 dst[i][j] = texCoords[i*N + j]; in computeTexCoordVecs() 575 const TexCoordT (&texCoords)[4], in verifyGatherOffsets() 599 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsets() 655 const TexCoordT (&texCoords)[4], in verifyGatherOffsetsCompare() 677 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsetsCompare() 1446 const TexCoordT (&texCoords)[4], in verify() 1496 …return verifyGatherOffsetsCompare(log, rendered, texture, texCoords, sampler, comparePrec, PixelCo… in verify() 1509 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify() [all …]
|
D | es31fFboTestUtil.cpp | 219 tcu::Vec2 texCoords[4]; in shadeFragments() local 228 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments() 243 tex->sample4(tmpColors, texCoords); in shadeFragments() 384 tcu::Vec4 texCoords[4]; in shadeFragments() local 394 texCoords[fragNdx] = tcu::Vec4(coord.x(), coord.y(), coord.z(), (float)m_layer); in shadeFragments() 397 tex->sample4(colors, texCoords); in shadeFragments()
|
/external/skia/src/gpu/ |
D | GrContext.cpp | 939 const SkPoint* texCoords, in set_vertex_attributes() argument 946 if (NULL != texCoords && NULL != colors) { in set_vertex_attributes() 950 } else if (NULL != texCoords) { in set_vertex_attributes() 967 const SkPoint texCoords[], in drawVertices() argument 981 set_vertex_attributes(drawState, texCoords, colors, &colorOffset, &texOffset); in drawVertices() 995 *(SkPoint*)((intptr_t)curVertex + texOffset) = texCoords[i]; in drawVertices()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrContext.cpp | 939 const SkPoint* texCoords, in set_vertex_attributes() argument 946 if (NULL != texCoords && NULL != colors) { in set_vertex_attributes() 950 } else if (NULL != texCoords) { in set_vertex_attributes() 967 const SkPoint texCoords[], in drawVertices() argument 981 set_vertex_attributes(drawState, texCoords, colors, &colorOffset, &texOffset); in drawVertices() 995 *(SkPoint*)((intptr_t)curVertex + texOffset) = texCoords[i]; in drawVertices()
|
/external/deqp/modules/glshared/ |
D | glsShaderRenderCase.cpp | 330 tcu::Vec4 ShaderEvalContext::texture2D (int unitNdx, const tcu::Vec2& texCoords) in texture2D() argument 333 …return textures[unitNdx].tex2D->sample(textures[unitNdx].sampler, texCoords.x(), texCoords.y(), 0.… in texture2D()
|
/external/deqp/modules/egl/ |
D | teglImageFormatTests.cpp | 1196 vector<float> texCoords; in renderCubeMap() local 1214 texCoords.push_back(sign * sampleTexCoords[i*3 + (dir % 3)]); in renderCubeMap() 1215 texCoords.push_back(sampleTexCoords[i*3 + ((dir + 1) % 3)]); in renderCubeMap() 1216 texCoords.push_back(sampleTexCoords[i*3 + ((dir + 2) % 3)]); in renderCubeMap()
|
D | teglGLES2SharingTests.cpp | 594 static const GLfloat texCoords[] = { in renderResource() local 634 GLU_CHECK_CALL(glVertexAttribPointer(texCoordLocation, 2, GL_FLOAT, GL_FALSE, 0, texCoords)); in renderResource()
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkLightingImageFilter.cpp | 1338 SkString texCoords; in emitCode() local 1339 texCoords.appendf("coord + vec2(%d, %d) * %s", dx, dy, imgInc); in emitCode() 1341 builder->fsAppendTextureLookup(samplers[0], texCoords.c_str()); in emitCode()
|
/external/skia/src/effects/ |
D | SkLightingImageFilter.cpp | 1338 SkString texCoords; in emitCode() local 1339 texCoords.appendf("coord + vec2(%d, %d) * %s", dx, dy, imgInc); in emitCode() 1341 builder->fsAppendTextureLookup(samplers[0], texCoords.c_str()); in emitCode()
|