/external/deqp/modules/gles3/functional/ |
D | es3fASTCDecompressionCases.cpp | 239 …void initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, const Vec… 291 void ASTCRenderer2D::initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, c… in initialize() argument 299 m_colorScale = colorScale; in initialize() 315 …log << TestLog::Message << "Using color scale and bias: result = raw * " << colorScale << " + " <<… in initialize() 340 renderParams.colorScale = m_colorScale; in render()
|
D | es3fTextureFilteringTests.cpp | 281 refParams.colorScale = fmtInfo.lookupScale; in iterate() 306 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 587 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 619 …kupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate() 845 refParams.colorScale = fmtInfo.lookupScale; in iterate() 885 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1085 refParams.colorScale = fmtInfo.lookupScale; in iterate() 1127 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
D | es3fTextureFormatTests.cpp | 172 renderParams.colorScale = spec.lookupScale; in iterate() 358 renderParams.colorScale = spec.lookupScale; in testFace() 519 renderParams.colorScale = spec.lookupScale; in testLayer() 672 renderParams.colorScale = spec.lookupScale; in testSlice() 818 renderParams.colorScale = spec.lookupScale; in iterate() 970 renderParams.colorScale = spec.lookupScale; in testFace()
|
D | es3fTextureWrapTests.cpp | 322 refParams.colorScale = useDefaultColorScaleAndBias ? texFormatInfo.lookupScale : tcu::Vec4(1.0f); in iterate() 341 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
D | es3fTextureSwizzleTests.cpp | 158 renderParams.colorScale = spec.lookupScale; in iterate()
|
D | es3fTextureMipmapTests.cpp | 1273 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 2145 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 459 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 496 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 536 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected() 580 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected() 691 …dst.setPixel(execSample(src, params, coord.x(), coord.y(), coord.z(), lod) * params.colorScale + p… in sampleTextureCube() 740 dst.setPixel(execSample(src, params, s, t, r, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 787 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 835 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, x, y… in sampleTextureNonProjected() 883 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, px, … in sampleTextureProjected() 947 …le(src, params, coord.x(), coord.y(), coord.z(), coordQ, lod) * params.colorScale + params.colorBi… in sampleTextureCubeArray() [all …]
|
D | glsTextureTestUtil.hpp | 113 , colorScale (1.0f) in RenderParams() 126 tcu::Vec4 colorScale; //!< Scale for texture color values. member 348 …::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4…
|
D | glsDrawTest.cpp | 1846 …anceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray*… 1925 …anceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray*… in render() argument 1938 m_ctx.uniform1f(m_ctx.getUniformLocation(m_programID, "u_colorScale"), colorScale); in render() 3262 float colorScale = getColorScale(spec); in iterate() local 3351 …, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, glArray.get()); in iterate() 3352 …, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, rrArray.get()); in iterate() 3365 …_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL); in iterate() 3366 …_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL); in iterate() 3881 float colorScale = 1.0f; in getColorScale() local 3894 colorScale *= 1.0f / 1024.0f; in getColorScale() [all …]
|
D | glsVertexArrayTests.cpp | 1148 …itive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale) in render() argument 1165 m_ctx.uniform1f(m_ctx.getUniformLocation(program, "u_colorScale"), colorScale); in render() 2037 float colorScale = 1.0f; in iterate() local 2076 …colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.… in iterate() 2078 …colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.… in iterate() 2129 …ec.primitive, m_spec.first, m_spec.drawCount * (int)primitiveSize, useVao, coordScale, colorScale); in iterate() 2130 …ec.primitive, m_spec.first, m_spec.drawCount * (int)primitiveSize, useVao, coordScale, colorScale); in iterate()
|
D | glsVertexArrayTests.hpp | 224 …tive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale);
|
/external/skia/src/effects/ |
D | SkLightingImageFilter.cpp | 83 SkScalar colorScale = SkScalarMul(fKD, normal.dot(surfaceTolight)); in light() local 84 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); in light() 85 SkPoint3 color = lightColor.makeScale(colorScale); in light() 108 SkScalar colorScale = SkScalarMul(fKS, in light() local 110 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); in light() 111 SkPoint3 color = lightColor.makeScale(colorScale); in light()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 281 refParams.colorScale = fmtInfo.lookupScale; in iterate() 306 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 560 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 592 …kupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate()
|
D | es2fTextureFormatTests.cpp | 155 renderParams.colorScale = spec.lookupScale; in iterate() 327 renderParams.colorScale = spec.lookupScale; in testFace()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureBorderClampTests.cpp | 741 << "Texture lookup scale: " << samplerParams.colorScale << "\n" in logParams() 901 …gl.uniform4fv(gl.getUniformLocation(progId, "u_colorScale"), 1, samplerParams.colorScale.getPtr()); in renderQuad() 935 …upPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorScale; in verifyImage() 1132 …const tcu::Vec4 referencePixel = referenceValue * samplerParams.colorScale + samplerParams.color… in verifyTextureGatherResult() 1134 …onst tcu::Vec4 resultValue = (resultPixel - samplerParams.colorBias) / samplerParams.colorScale; in verifyTextureGatherResult() 1265 refParams.colorScale = config.lookupScale; in genSamplerParams() 1279 DE_ASSERT(refParams.colorScale == tcu::Vec4(refParams.colorScale.x())); in genSamplerParams() 2154 << "Texture lookup scale: " << samplerParams.colorScale << "\n" in logParams() 2221 …upPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorScale; in verifyImage() 2257 refParams.colorScale = m_lookupScale; in getSamplerParams()
|
D | es31fTextureFormatTests.cpp | 189 renderParams.colorScale = spec.lookupScale; in testLayerFace() 335 renderParams.colorScale = spec.lookupScale; in iterate()
|
D | es31fTextureFilteringTests.cpp | 340 refParams.colorScale = fmtInfo.lookupScale; in iterate() 383 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
D | es31fCopyImageTests.cpp | 912 renderParams.colorScale = spec.lookupScale; in verifyTexture2DView() 1068 renderParams.colorScale = spec.lookupScale; in verifyTexture3DView() 1178 renderParams.colorScale = spec.lookupScale; in verifyTextureCubemapView() 1353 renderParams.colorScale = spec.lookupScale; in verifyTexture2DArrayView()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 233 refParams.colorScale = fmtInfo.lookupScale; in iterate() 546 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
|
D | es2aTextureMipmapTests.cpp | 286 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 224 refParams.colorScale = fmtInfo.lookupScale; in iterate() 556 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
|
D | es3aTextureMipmapTests.cpp | 279 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 55 SkScalar colorScale = SkScalarInvert(0xFF); in emit_pdf_color() local 56 SkPDFUtils::AppendScalar(SkColorGetR(color) * colorScale, result); in emit_pdf_color() 58 SkPDFUtils::AppendScalar(SkColorGetG(color) * colorScale, result); in emit_pdf_color() 60 SkPDFUtils::AppendScalar(SkColorGetB(color) * colorScale, result); in emit_pdf_color()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreTests.cpp | 344 inline bool colorScaleAndBiasAreValid (const VkFormat format, const float colorScale, const float c… in colorScaleAndBiasAreValid() argument 348 return !integerOrFloatFormat || (colorScale == 1.0f && colorBias == 0.0f); in colorScaleAndBiasAreValid()
|