/external/skia/include/core/ |
D | SkColor.h | 262 float fG; //!< green component member 272 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; 290 return { fR * scale, fG * scale, fB * scale, fA * scale }; 299 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA }; 315 std::array<float, 4> array() const { return {fR, fG, fB, fA}; } in array() 351 fG >= 0.0f && fG <= 1.0f && in fitsInBytes() 385 return { fR * fA, fG * fA, fB * fA, fA }; in premul() 400 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul() 409 return { fR, fG, fB, 1.0f }; in makeOpaque()
|
/external/skqp/include/core/ |
D | SkColor.h | 243 float fG; //!< green component member 253 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; 271 return { fR * scale, fG * scale, fB * scale, fA * scale }; 280 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA }; 351 return { fR * fA, fG * fA, fB * fA, fA }; in premul() 366 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul() 375 return { fR, fG, fB, 1.0f }; in makeOpaque()
|
/external/skia/src/gpu/effects/generated/ |
D | GrColorMatrixFragmentProcessor.h | 28 color.fG = input.fG; in constantOutputForConstantInput() 32 auto v4 = m.map(color.fR, color.fG, color.fB, color.fA) + v; in constantOutputForConstantInput() 37 color.fG = SkTPin(color.fG, 0.f, 1.f); in constantOutputForConstantInput() 43 return {color.fR, color.fG, color.fB, color.fA}; in constantOutputForConstantInput()
|
D | GrOverrideInputFragmentProcessor.cpp | 44 _outer.literalColor.fG, in emitCode() 76 uint16_t green = SkFloatToHalf(literalColor.fG); in onGetGLSLProcessorKey() 109 uniformColor.fG, in onDumpInfo() 113 literalColor.fG, in onDumpInfo()
|
D | GrRGBToHSLFilterEffect.h | 25 const auto p = (c.fG < c.fB) ? SkPMColor4f{c.fB, c.fG, -1, 2 / 3.f} in constantOutputForConstantInput() 26 : SkPMColor4f{c.fG, c.fB, 0, -1 / 3.f}, in constantOutputForConstantInput()
|
/external/skia/src/gpu/gradients/generated/ |
D | GrUnrolledBinaryGradientColorizer.cpp | 369 scale0_1.fG, in onDumpInfo() 373 scale2_3.fG, in onDumpInfo() 377 scale4_5.fG, in onDumpInfo() 381 scale6_7.fG, in onDumpInfo() 385 scale8_9.fG, in onDumpInfo() 389 scale10_11.fG, in onDumpInfo() 393 scale12_13.fG, in onDumpInfo() 397 scale14_15.fG, in onDumpInfo() 401 bias0_1.fG, in onDumpInfo() 405 bias2_3.fG, in onDumpInfo() [all …]
|
D | GrDualIntervalGradientColorizer.cpp | 150 scale01.fG, in onDumpInfo() 154 bias01.fG, in onDumpInfo() 158 scale23.fG, in onDumpInfo() 162 bias23.fG, in onDumpInfo()
|
D | GrSingleIntervalGradientColorizer.cpp | 95 start.fG, in onDumpInfo() 99 end.fG, in onDumpInfo()
|
/external/skia/src/gpu/effects/ |
D | GrColorMatrixFragmentProcessor.fp | 44 color.fG = input.fG; 48 auto v4 = m.map(color.fR, color.fG, color.fB, color.fA) + v; 53 color.fG = SkTPin(color.fG, 0.f, 1.f); 59 return {color.fR, color.fG, color.fB, color.fA};
|
D | GrDistanceFieldGeoProc.h | 211 SkScalar fR, fG, fB; member 214 result.fR = r; result.fG = g; result.fB = b; in Make() 218 return (fR == wa.fR && fG == wa.fG && fB == wa.fB);
|
D | GrRGBToHSLFilterEffect.fp | 62 const auto p = (c.fG < c.fB) ? SkPMColor4f{ c.fB, c.fG, -1, 2/3.f } 63 : SkPMColor4f{ c.fG, c.fB, 0, -1/3.f },
|
/external/skia/src/core/ |
D | SkMaskGamma.h | 181 : fParent(std::move(parent)), fR(r), fG(g), fB(b) { } in SkTMaskPreBlend() 187 SkTMaskPreBlend() : fParent(), fR(nullptr), fG(nullptr), fB(nullptr) { } in SkTMaskPreBlend() 194 : fParent(that.fParent), fR(that.fR), fG(that.fG), fB(that.fB) { } in SkTMaskPreBlend() 199 bool isApplicable() const { return SkToBool(this->fG); } in isApplicable() 202 const uint8_t* fG; variable
|
D | SkCompressedDataUtils.cpp | 75 int fR, fG, fB; member 80 int g8 = SkTPin(col.fG + delta, 0, 255); in add_delta_and_clamp() 106 colors[0].fG = extend_5To8bits(high >> 19); in decompress_etc1() 107 colors[1].fG = extend_5plus3To8Bits(high >> 19, high >> 16); in decompress_etc1() 113 colors[0].fG = extend_4To8bits(high >> 20); in decompress_etc1() 114 colors[1].fG = extend_4To8bits(high >> 16); in decompress_etc1()
|
/external/skqp/src/core/ |
D | SkMaskGamma.h | 181 : fParent(std::move(parent)), fR(r), fG(g), fB(b) { } in SkTMaskPreBlend() 187 SkTMaskPreBlend() : fParent(), fR(nullptr), fG(nullptr), fB(nullptr) { } in SkTMaskPreBlend() 194 : fParent(that.fParent), fR(that.fR), fG(that.fG), fB(that.fB) { } in SkTMaskPreBlend() 199 bool isApplicable() const { return SkToBool(this->fG); } in isApplicable() 202 const uint8_t* fG; variable
|
/external/skia/tests/ |
D | SRGBTest.cpp | 120 rgba[i].fR, rgba[i].fG, rgba[i].fB, in DEF_TEST() 121 want.fR, want.fG, want.fB); in DEF_TEST() 124 REPORTER_ASSERT(r, close(rgba[i].fG, want.fG)); in DEF_TEST()
|
D | ProcessorTest.cpp | 480 SkASSERT(inf[i].fR == 0 && inf[i].fG == 0 && inf[i].fB == 0); in legal_modulation() 504 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation() 505 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation() 506 expectedForColorModulation[i].fR, expectedForColorModulation[i].fG, in legal_modulation() 519 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation() 520 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation() 521 expectedForAlphaModulation[i].fR, expectedForAlphaModulation[i].fG, in legal_modulation() 704 float gDiff = fabsf(output4f.fG - expected4f.fG); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 718 kTol, input4f.fR, input4f.fG, input4f.fB, input4f.fA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 719 output4f.fR, output4f.fG, output4f.fB, output4f.fA, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
/external/skqp/tests/ |
D | SRGBTest.cpp | 125 rgba[i].fR, rgba[i].fG, rgba[i].fB, in test_roundtripping() 126 want.fR, want.fG, want.fB); in test_roundtripping() 129 REPORTER_ASSERT(r, close(rgba[i].fG, want.fG)); in test_roundtripping()
|
/external/skia/modules/skottie/src/effects/ |
D | ShiftChannelsEffect.cpp | 55 .bind(kTakeGreenFrom_Index, fG) in ShiftChannelsEffectAdapter() 100 const float* gc = coeffs(fG); in onSync() 117 fG = static_cast<float>(Source::kGreen),
|
/external/skia/tests/sksl/dslfp/ |
D | GrDSLFPTest_Ternary.dsl.cpp | 130 …fG, colorGreen.fB, colorGreen.fA, colorRed.fR, colorRed.fG, colorRed.fB, colorRed.fA, colorOrange.… in onDumpInfo()
|
D | GrDSLFPTest_ForStatement.dsl.cpp | 28 …ifier, DSLType(kHalf4_Type), "colorWhite", Half4(colorWhite.fR, colorWhite.fG, colorWhite.fB, colo… in emitCode() 53 uint16_t green = SkFloatToHalf(colorWhite.fG); in onGetGLSLProcessorKey() 75 …return SkStringPrintf("(colorWhite=half4(%f, %f, %f, %f))", colorWhite.fR, colorWhite.fG, colorWhi… in onDumpInfo()
|
/external/skqp/docs/ |
D | SkColor4f_Reference.bmh | 17 fA Alpha is may be greater or smaller than fG green, fB blue, or fR red. 21 fA Alpha is equal to or larger than fG green, fB blue, and fR red. The values 22 stored in fG, fB, and fR combine the color component with the Alpha component. 32 #Member float fG 144 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA); 169 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA); 249 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color4f.fR, color4f.fG, color4f.fB, color4f.fA); 280 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", fromSkColor.fR, fromSkColor.fG,
|
/external/skqp/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.h | 200 SkScalar fR, fG, fB; member 203 result.fR = r; result.fG = g; result.fB = b; in Make() 207 return (fR == wa.fR && fG == wa.fG && fB == wa.fB);
|
/external/skqp/include/private/ |
D | GrColor.h | 78 color.fG >= 0.0f && color.fG <= 1.0f && in SkPMColor4fFitsInBytes()
|
/external/skqp/src/shaders/gradients/ |
D | SkGradientShader.cpp | 220 (ctx->fs[1])[stop] = Fs.fG; in add_stop_color() 224 (ctx->bs[1])[stop] = Bs.fG; in add_stop_color() 240 (c_r.fG - c_l.fG) * gapCount, in init_stop_evenly() 246 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly() 260 (c_r.fG - c_l.fG) / (t_r - t_l), in init_stop_pos() 266 c_l.fG - Fs.fG*t_l, in init_stop_pos() 319 : SkPMColor4f{ c.fR, c.fG, c.fB, c.fA }; in onAppendStages()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 223 (ctx->fs[1])[stop] = Fs.fG; in add_stop_color() 228 (ctx->bs[1])[stop] = Bs.fG; in add_stop_color() 244 (c_r.fG - c_l.fG) * gapCount, in init_stop_evenly() 250 c_l.fG - Fs.fG*(stop/gapCount), in init_stop_evenly() 264 (c_r.fG - c_l.fG) / (t_r - t_l), in init_stop_pos() 270 c_l.fG - Fs.fG*t_l, in init_stop_pos() 324 : SkPMColor4f{ c.fR, c.fG, c.fB, c.fA }; in onAppendStages()
|