/external/skia/include/utils/ |
SkShadowUtils.h | 90 * @param colorScale Factor to scale color values by 94 SkScalar* colorScale, SkScalar* tonalAlpha) { 105 *colorScale = adjustedLuminance*(SK_Scalar1 - a); 106 *tonalAlpha = *colorScale + a;
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreUtil.hpp | 58 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const float colorBias) 62 return !integerOrFloatFormat || (colorScale == 1.0f && colorBias == 0.0f);
|
/external/deqp/modules/gles3/functional/ |
es3fASTCDecompressionCases.cpp | 239 void initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, const Vec4& colorBias); 291 void ASTCRenderer2D::initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, const Vec4& colorBias) 299 m_colorScale = colorScale; 315 log << TestLog::Message << "Using color scale and bias: result = raw * " << colorScale << " + " << colorBias << TestLog::EndMessage; 340 renderParams.colorScale = m_colorScale;
|
es3fTextureFilteringTests.cpp | 282 refParams.colorScale = fmtInfo.lookupScale; 307 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; 588 sampleParams.colorScale = fmtInfo.lookupScale; 620 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; 846 refParams.colorScale = fmtInfo.lookupScale; [all...] |
es3fTextureWrapTests.cpp | 323 refParams.colorScale = useDefaultColorScaleAndBias ? texFormatInfo.lookupScale : tcu::Vec4(1.0f); 342 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
|
es3fTextureFormatTests.cpp | 173 renderParams.colorScale = spec.lookupScale; 359 renderParams.colorScale = spec.lookupScale; 520 renderParams.colorScale = spec.lookupScale; 673 renderParams.colorScale = spec.lookupScale; 819 renderParams.colorScale = spec.lookupScale; [all...] |
es3fTextureSwizzleTests.cpp | 159 renderParams.colorScale = spec.lookupScale;
|
/external/deqp/framework/opengl/ |
gluTextureTestUtil.hpp | 93 , colorScale (1.0f) 106 tcu::Vec4 colorScale; //!< Scale for texture color values. 156 void fetchTexture (const tcu::SurfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4& colorBias);
|
gluTextureTestUtil.cpp | 422 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, x, y); 459 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); 499 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, px, py); 543 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, px, py); 654 dst.setPixel(execSample(src, params, coord.x(), coord.y(), coord.z(), lod) * params.colorScale + params.colorBias, px, py); 703 dst.setPixel(execSample(src, params, s, t, r, lod) * params.colorScale + params.colorBias, x, y); 750 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); [all...] |
/external/skia/src/utils/ |
SkShadowUtils.cpp | 462 SkScalar colorScale; 469 &colorScale, &tonalAlpha); 471 // the color scaled by colorScale. This scale factor gives that. 472 SkScalar unPremulScale = colorScale / tonalAlpha;
|
/external/deqp/modules/glshared/ |
glsTextureTestUtil.cpp | 462 gl.uniform4fv(gl.getUniformLocation(prog, "u_colorScale"), 1, params.colorScale.getPtr()); 467 m_log << TestLog::Message << "u_colorScale = " << params.colorScale << TestLog::EndMessage;
|
glsDrawTest.cpp | [all...] |
glsVertexArrayTests.cpp | 1148 void ContextArrayPack::render (Array::Primitive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale) 1165 m_ctx.uniform1f(m_ctx.getUniformLocation(program, "u_colorScale"), colorScale); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11Canvas.java | 486 float colorScale = scale * (toColor >>> 24) / (0xff * 0xff); 487 setTextureColor(((toColor >>> 16) & 0xff) * colorScale, 488 ((toColor >>> 8) & 0xff) * colorScale, 489 (toColor & 0xff) * colorScale, combo); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureFilteringTests.cpp | 212 refParams.colorScale = fmtInfo.lookupScale; 230 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; 424 refParams.colorScale = fmtInfo.lookupScale; 452 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; 624 refParams.colorScale = fmtInfo.lookupScale; 658 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; 808 refParams.colorScale = fmtInfo.lookupScale; [all...] |
vktTextureTestUtil.cpp | 60 tcu::Vec4 colorScale; //!< Scale for texture color values. [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 341 refParams.colorScale = fmtInfo.lookupScale; 384 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale;
|
es31fTextureFormatTests.cpp | 191 renderParams.colorScale = spec.lookupScale; 337 renderParams.colorScale = spec.lookupScale;
|
es31fTextureBorderClampTests.cpp | 741 << "Texture lookup scale: " << samplerParams.colorScale << "\n" [all...] |
/external/skia/src/effects/ |
SkLightingImageFilter.cpp | 157 SkScalar colorScale = fKD * normal.dot(surfaceTolight); 158 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); 159 SkPoint3 color = lightColor.makeScale(colorScale); 182 SkScalar colorScale = fKS * SkScalarPow(normal.dot(halfDir), fShininess); 183 colorScale = SkScalarClampMax(colorScale, SK_Scalar1); 184 SkPoint3 color = lightColor.makeScale(colorScale); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureFilteringTests.cpp | 282 refParams.colorScale = fmtInfo.lookupScale; 307 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; 561 sampleParams.colorScale = fmtInfo.lookupScale; 593 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale;
|
es2fTextureFormatTests.cpp | 157 renderParams.colorScale = spec.lookupScale; 329 renderParams.colorScale = spec.lookupScale;
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 235 refParams.colorScale = fmtInfo.lookupScale; 548 sampleParams.colorScale = fmtInfo.lookupScale;
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 225 refParams.colorScale = fmtInfo.lookupScale; 557 sampleParams.colorScale = fmtInfo.lookupScale;
|
/external/skia/src/gpu/ |
GrRenderTargetContext.cpp | [all...] |