Home
last modified time | relevance | path

Searched refs:colorScale (Results 1 – 24 of 24) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp239 …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()
Des3fTextureFilteringTests.cpp281 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()
Des3fTextureFormatTests.cpp172 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()
Des3fTextureWrapTests.cpp322 refParams.colorScale = useDefaultColorScaleAndBias ? texFormatInfo.lookupScale : tcu::Vec4(1.0f); in iterate()
341 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
Des3fTextureSwizzleTests.cpp158 renderParams.colorScale = spec.lookupScale; in iterate()
Des3fTextureMipmapTests.cpp1273 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
2145 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp459 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 …]
DglsTextureTestUtil.hpp113 , 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…
DglsDrawTest.cpp1846 …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 …]
DglsVertexArrayTests.cpp1148 …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
2076colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.… in iterate()
2078colorScale *= (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()
DglsVertexArrayTests.hpp224 …tive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale);
/external/skia/src/effects/
DSkLightingImageFilter.cpp83 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/
Des2fTextureFilteringTests.cpp281 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()
Des2fTextureFormatTests.cpp155 renderParams.colorScale = spec.lookupScale; in iterate()
327 renderParams.colorScale = spec.lookupScale; in testFace()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp741 << "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()
Des31fTextureFormatTests.cpp189 renderParams.colorScale = spec.lookupScale; in testLayerFace()
335 renderParams.colorScale = spec.lookupScale; in iterate()
Des31fTextureFilteringTests.cpp340 refParams.colorScale = fmtInfo.lookupScale; in iterate()
383 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
Des31fCopyImageTests.cpp912 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/
Des2aTextureFilteringTests.cpp233 refParams.colorScale = fmtInfo.lookupScale; in iterate()
546 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
Des2aTextureMipmapTests.cpp286 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp224 refParams.colorScale = fmtInfo.lookupScale; in iterate()
556 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
Des3aTextureMipmapTests.cpp279 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
/external/skia/src/pdf/
DSkPDFDevice.cpp55 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/
DvktImageLoadStoreTests.cpp344 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()