/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureCompressedFormatTests.cpp | 213 sampleParams.colorScale = tcu::Vec4(1.0f); in iterate() 218 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in iterate() 223 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in iterate() 228 sampleParams.colorScale = formatInfo.lookupScale; in iterate() 333 sampleParams.colorScale = tcu::Vec4(1.0f); in iterate() 338 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in iterate() 343 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in iterate() 348 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
|
D | vktTextureFilteringTests.cpp | 319 refParams.colorScale = fmtInfo.lookupScale; in iterate() 338 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 553 refParams.colorScale = fmtInfo.lookupScale; in iterate() 581 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 768 refParams.colorScale = fmtInfo.lookupScale; in iterate() 802 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 972 refParams.colorScale = fmtInfo.lookupScale; in iterate() 1006 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
D | vktTextureSwizzleTests.cpp | 147 sampleParams.colorScale = tcu::Vec4(lookupScale); in iterate() 214 …dst.setPixel(src.sample(sampleParams.sampler, s, t, lod) * sampleParams.colorScale + sampleParams.… in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreUtil.hpp | 64 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const flo… in colorScaleAndBiasAreValid() argument 68 return !integerOrFloatFormat || (colorScale == 1.0f && colorBias == 0.0f); in colorScaleAndBiasAreValid()
|
/external/angle/src/third_party/libXNVCtrl/ |
D | NVCtrlLib.h | 459 float colorScale[3]); 479 float colorScale[3]);
|
D | NVCtrl.c | 834 float colorScale[3] in XNVCTRLSetGvoColorConversion() 863 req->cscScale_y = colorScale[0]; in XNVCTRLSetGvoColorConversion() 864 req->cscScale_cr = colorScale[1]; in XNVCTRLSetGvoColorConversion() 865 req->cscScale_cb = colorScale[2]; in XNVCTRLSetGvoColorConversion() 877 float colorScale[3] in XNVCTRLQueryGvoColorConversion() 903 _XRead(dpy, (char *)(colorScale), 12); in XNVCTRLQueryGvoColorConversion()
|
/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 | 300 refParams.colorScale = fmtInfo.lookupScale; in iterate() 325 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 608 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 640 …kupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate() 868 refParams.colorScale = fmtInfo.lookupScale; in iterate() 908 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 1110 refParams.colorScale = fmtInfo.lookupScale; in iterate() 1152 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
D | es3fTextureFormatTests.cpp | 194 renderParams.colorScale = spec.lookupScale; in iterate() 385 renderParams.colorScale = spec.lookupScale; in testFace() 551 renderParams.colorScale = spec.lookupScale; in testLayer() 709 renderParams.colorScale = spec.lookupScale; in testSlice() 855 renderParams.colorScale = spec.lookupScale; in iterate() 1007 renderParams.colorScale = spec.lookupScale; in testFace()
|
D | es3fTextureWrapTests.cpp | 332 refParams.colorScale = useDefaultColorScaleAndBias ? texFormatInfo.lookupScale : tcu::Vec4(1.0f); in iterate() 351 …eshold = tcu::computeColorBitsThreshold(getBitsVec(pixelFormat), colorBits) / refParams.colorScale; in iterate()
|
D | es3fTextureSwizzleTests.cpp | 159 renderParams.colorScale = spec.lookupScale; in iterate()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 93 , colorScale (1.0f) in RenderParams() 106 tcu::Vec4 colorScale; //!< Scale for texture color values. member 159 …::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4…
|
D | gluTextureTestUtil.cpp | 422 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 459 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 499 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected() 543 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected() 654 …dst.setPixel(execSample(src, params, coord.x(), coord.y(), coord.z(), lod) * params.colorScale + p… in sampleTextureCube() 703 dst.setPixel(execSample(src, params, s, t, r, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 750 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected() 798 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, x, y… in sampleTextureNonProjected() 846 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, px, … in sampleTextureProjected() 910 …le(src, params, coord.x(), coord.y(), coord.z(), coordQ, lod) * params.colorScale + params.colorBi… in sampleTextureCubeArray() [all …]
|
/external/skqp/src/utils/ |
D | SkShadowUtils.cpp | 504 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors() local 505 SkScalar tonalAlpha = colorScale + greyscaleAlpha; in ComputeTonalColors() 506 SkScalar unPremulScale = colorScale / tonalAlpha; in ComputeTonalColors()
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 1763 …anceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray*… 1842 …anceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray*… in render() argument 1855 m_ctx.uniform1f(m_ctx.getUniformLocation(m_programID, "u_colorScale"), colorScale); in render() 3194 float colorScale = getColorScale(spec); in iterate() local 3283 …, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, glArray.get()); in iterate() 3284 …, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, rrArray.get()); in iterate() 3297 …_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL); in iterate() 3299 …_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL); in iterate() 3814 float colorScale = 1.0f; in getColorScale() local 3827 colorScale *= 1.0f / 1024.0f; in getColorScale() [all …]
|
D | glsTextureTestUtil.cpp | 462 gl.uniform4fv(gl.getUniformLocation(prog, "u_colorScale"), 1, params.colorScale.getPtr()); in renderQuad() 467 m_log << TestLog::Message << "u_colorScale = " << params.colorScale << TestLog::EndMessage; in renderQuad()
|
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() 2131 …ec.primitive, m_spec.first, m_spec.drawCount * (int)primitiveSize, useVao, coordScale, colorScale); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 282 refParams.colorScale = fmtInfo.lookupScale; in iterate() 307 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 561 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 593 …kupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate()
|
D | es2fTextureFormatTests.cpp | 157 renderParams.colorScale = spec.lookupScale; in iterate() 329 renderParams.colorScale = spec.lookupScale; in testFace()
|
/external/skia/src/utils/ |
D | SkShadowUtils.cpp | 557 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors() local 558 SkScalar tonalAlpha = colorScale + greyscaleAlpha; in ComputeTonalColors() 559 SkScalar unPremulScale = colorScale / tonalAlpha; in ComputeTonalColors()
|
/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 | 213 renderParams.colorScale = spec.lookupScale; in testLayerFace() 361 renderParams.colorScale = spec.lookupScale; in iterate()
|
D | es31fTextureFilteringTests.cpp | 355 refParams.colorScale = fmtInfo.lookupScale; in iterate() 398 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
|
/external/skqp/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 158 SkScalar colorScale = fKD * normal.dot(surfaceTolight); in light() local 159 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); in light() 160 SkPoint3 color = lightColor.makeScale(colorScale); in light() 183 SkScalar colorScale = fKS * SkScalarPow(normal.dot(halfDir), fShininess); in light() local 184 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); in light() 185 SkPoint3 color = lightColor.makeScale(colorScale); in light()
|
/external/deqp/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 206 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in verifyTestResult() 617 refParams.colorScale = fmtInfo.lookupScale; in iterate() 764 refParams.colorScale = formatInfo.lookupScale; in iterate() 890 refParams.colorScale = formatInfo.lookupScale; in iterate() 1008 refParams.colorScale = formatInfo.lookupScale; in iterate()
|