/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLBlend.cpp | 259 const char* dstColor, const char* outputColor, in emit_advanced_xfermode_code() argument 262 SkASSERT(dstColor); in emit_advanced_xfermode_code() 266 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code() 271 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code() 277 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code() 278 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code() 284 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code() 285 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code() 288 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code() 289 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'g'); in emit_advanced_xfermode_code() [all …]
|
D | GrGLSLXferProcessor.cpp | 37 const char* dstColor = fragBuilder->dstColor(); in emitCode() local 79 fragBuilder->codeAppendf("half4 %s = ", dstColor); in emitCode() 98 dstColor, in emitCode() 142 const char* dstColor, in DefaultCoverageModulation() argument 160 dstColor, outColor, srcCoverage); in DefaultCoverageModulation() 162 dstColor, outColor, srcCoverage); in DefaultCoverageModulation() 164 dstColor, outColor, srcCoverage); in DefaultCoverageModulation() 167 outColor, srcCoverage, outColor, srcCoverage, dstColor); in DefaultCoverageModulation()
|
D | GrGLSLBlend.h | 22 const char* dstColor, const char* outColor, SkBlendMode mode); 25 const char* dstColor, const char* outColor, SkRegion::Op regionOp);
|
D | GrGLSLXferProcessor.h | 83 const char* dstColor, 107 const char* dstColor, in emitBlendCodeForDstRead() argument
|
D | GrGLSLFragmentShaderBuilder.h | 124 virtual const char* dstColor() = 0; 158 const char* dstColor() override;
|
/third_party/skia/tests/ |
D | DMSAATest.cpp | 107 SkPMColor4f dstColor = SkBlendMode_Apply(SkBlendMode::kSrcOver, kTransCyan, kTransYellow); variable 109 check_sdc_color(reporter, sdc.get(), dContext, dstColor); 129 SkPMColor4f dstColor = SK_PMColor4fWHITE; variable 132 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransYellow, dstColor); 135 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransCyan, dstColor); 137 check_sdc_color(reporter, sdc.get(), dContext, dstColor); 153 SkPMColor4f dstColor = SK_PMColor4fWHITE; variable 156 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransYellow, dstColor); 160 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransCyan, dstColor); 162 check_sdc_color(reporter, sdc.get(), dContext, dstColor); [all …]
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 913.wgsl.expected.msl | 33 float4 const dstColor = tint_symbol_2.read(uint2(int2(dstTexCoord)), 0); 35 …success = ((success && aboutEqual(dstColor[0], srcColor[0])) && aboutEqual(dstColor[1], srcColor[1… 37 …aboutEqual(dstColor[0], srcColor[0])) && aboutEqual(dstColor[1], srcColor[1])) && aboutEqual(dstCo…
|
D | 913.wgsl.expected.wgsl | 42 let dstColor : vec4<f32> = textureLoad(dst, vec2<i32>(dstTexCoord), 0); 44 … success = ((success && aboutEqual(dstColor.r, srcColor.r)) && aboutEqual(dstColor.g, srcColor.g)); 46 …&& aboutEqual(dstColor.r, srcColor.r)) && aboutEqual(dstColor.g, srcColor.g)) && aboutEqual(dstCol…
|
D | 913.wgsl.expected.hlsl | 50 const float4 dstColor = tint_symbol.Load(int3(int2(dstTexCoord), 0)); 54 tint_tmp_7 = aboutEqual(dstColor.r, srcColor.r); 58 tint_tmp_6 = aboutEqual(dstColor.g, srcColor.g); 64 tint_tmp_11 = aboutEqual(dstColor.r, srcColor.r); 68 tint_tmp_10 = aboutEqual(dstColor.g, srcColor.g); 72 tint_tmp_9 = aboutEqual(dstColor.b, srcColor.b); 76 tint_tmp_8 = aboutEqual(dstColor.a, srcColor.a);
|
D | 913.wgsl.expected.glsl | 56 vec4 dstColor = texelFetch(dst, ivec2(dstTexCoord), 0); 60 tint_tmp_5 = aboutEqual(dstColor.r, srcColor.r); 64 tint_tmp_4 = aboutEqual(dstColor.g, srcColor.g); 70 tint_tmp_9 = aboutEqual(dstColor.r, srcColor.r); 74 tint_tmp_8 = aboutEqual(dstColor.g, srcColor.g); 78 tint_tmp_7 = aboutEqual(dstColor.b, srcColor.b); 82 tint_tmp_6 = aboutEqual(dstColor.a, srcColor.a);
|
D | 913.wgsl | 47 let dstColor : vec4<f32> = textureLoad(dst, vec2<i32>(dstTexCoord), 0); 53 aboutEqual(dstColor.r, srcColor.r) && 54 aboutEqual(dstColor.g, srcColor.g); 57 aboutEqual(dstColor.r, srcColor.r) && 58 aboutEqual(dstColor.g, srcColor.g) && 59 aboutEqual(dstColor.b, srcColor.b) && 60 aboutEqual(dstColor.a, srcColor.a);
|
D | 534.wgsl.expected.spvasm | 31 OpName %dstColor "dstColor" 114 %dstColor = OpVariable %_ptr_Function_v4float Function %64 151 OpStore %dstColor %65 153 %78 = OpLoad %v4float %dstColor
|
D | 534.wgsl.expected.glsl | 33 vec4 dstColor = texelFetch(dst, dstTexCoord, 0); 36 uvec4 dstColorBits = uvec4(dstColor);
|
D | 534.wgsl.expected.wgsl | 35 var dstColor : vec4<f32> = textureLoad(dst, dstTexCoord, 0); 38 var dstColorBits : vec4<u32> = vec4<u32>(dstColor);
|
D | 534.wgsl.expected.msl | 26 float4 dstColor = tint_symbol_3.read(uint2(dstTexCoord), 0); 29 uint4 dstColorBits = uint4(dstColor);
|
D | 534.wgsl | 31 var dstColor : vec4<f32> = textureLoad(dst, dstTexCoord, 0); 35 var dstColorBits : vec4<u32> = vec4<u32>(dstColor);
|
D | 534.wgsl.expected.hlsl | 30 float4 dstColor = tint_symbol.Load(int3(dstTexCoord, 0)); 33 uint4 dstColorBits = uint4(dstColor);
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrFragmentOperations.cpp | 470 const Vec4& dstColor = sample.clampedBlendDstColor; \ in executeBlend() 478 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB + dstColor.swizzle(0,1,2)*sa… in executeBlend() 479 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB - dstColor.swizzle(0,1,2)*sa… in executeBlend() 480 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, dstColor.swizzle(0,… in executeBlend() 481 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend() 482 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend() 489 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA + dstColor.w()*sample.blendD… in executeBlend() 490 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA - dstColor.w()*sample.blendD… in executeBlend() 491 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.b… in executeBlend() 492 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w()… in executeBlend() [all …]
|
/third_party/skia/src/gpu/ |
D | GrXferProcessor.cpp | 216 const char* dstColor = fragBuilder->dstColor(); in emitCode() local 251 dstColor, in emitCode() 288 const char* dstColor, in DefaultCoverageModulation() argument 295 dstColor, in DefaultCoverageModulation() 304 dstColor); in DefaultCoverageModulation()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLFragmentShaderBuilder.h | 45 virtual const char* dstColor() = 0; 72 virtual const char* dstColor() = 0; in GR_MAKE_BITFIELD_CLASS_OPS() 88 const char* dstColor() override;
|
D | GrGLSLProgramBuilder.cpp | 321 const char* dstColor = fFS.dstColor(); in emitAndInstallDstTexture() local 322 SkString dstColorDecl = SkStringPrintf("half4 %s;", dstColor); in emitAndInstallDstTexture() 324 fFS.codeAppendf("%s = ", dstColor); in emitAndInstallDstTexture() 338 const char* dstColor = fFS.dstColor(); in emitAndInstallDstTexture() local 339 SkString dstColorDecl = SkStringPrintf("half4 %s;", dstColor); in emitAndInstallDstTexture() 341 fFS.codeAppendf("%s = ", dstColor); in emitAndInstallDstTexture()
|
D | GrGLSLBlend.cpp | 51 const char* dstColor, in AppendMode() argument 54 fsBuilder->codeAppendf("%s = %s(%s, %s);", outColor, BlendFuncName(mode), srcColor, dstColor); in AppendMode()
|
/third_party/skia/src/gpu/effects/ |
D | GrBlendFragmentProcessor.cpp | 155 SkPMColor4f dstColor = ConstantOutputForConstantInput(dst, input); in constantOutputForConstantInput() local 157 return SkBlendMode_Apply(fMode, srcColor, dstColor); in constantOutputForConstantInput() 208 SkString dstColor = this->invokeChild(1, args); in onMakeProgramImpl() local 214 dstColor.c_str()); in onMakeProgramImpl()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | PixelRoutine.cpp | 2131 Vector4f dstColor = dst; in computeAdvancedBlendMode() local 2132 dstColor.x *= dstFactor.x; in computeAdvancedBlendMode() 2133 dstColor.y *= dstFactor.y; in computeAdvancedBlendMode() 2134 dstColor.z *= dstFactor.z; in computeAdvancedBlendMode() 2135 dstColor.w *= dstFactor.w; in computeAdvancedBlendMode() 2138 premultiply(dstColor); in computeAdvancedBlendMode() 2145 blendedColor.x = (srcColor.x * dstColor.x); in computeAdvancedBlendMode() 2146 blendedColor.y = (srcColor.y * dstColor.y); in computeAdvancedBlendMode() 2147 blendedColor.z = (srcColor.z * dstColor.z); in computeAdvancedBlendMode() 2150 blendedColor.x = srcColor.x + dstColor.x - (srcColor.x * dstColor.x); in computeAdvancedBlendMode() [all …]
|
/third_party/flutter/skia/gm/ |
D | gamma.cpp | 101 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { in __anon6a99a6e50502() argument 102 p.setColor(dstColor); in __anon6a99a6e50502() 109 SkString dstText = SkStringPrintf("%08X", dstColor); in __anon6a99a6e50502()
|