Home
last modified time | relevance | path

Searched refs:paintAlpha (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/src/gpu/
DSkGr.cpp372 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
373 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
377 { paintAlpha, paintAlpha, paintAlpha, paintAlpha }, in skpaint_to_grpaint_impl()
402 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
403 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
407 { paintAlpha, paintAlpha, paintAlpha, paintAlpha }, in skpaint_to_grpaint_impl()
DSkGpuDevice_drawTexture.cpp214 float paintAlpha = paint.getColor4f().fA; in draw_texture() local
215 color = { paintAlpha, paintAlpha, paintAlpha, paintAlpha }; in draw_texture()
/third_party/skia/src/gpu/
DSkGr.cpp462 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
463 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
467 std::move(paintFP), {paintAlpha, paintAlpha, paintAlpha, paintAlpha}); in skpaint_to_grpaint_impl()
470 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
471 if (paintAlpha != 1.0f) { in skpaint_to_grpaint_impl()
507 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
508 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
512 std::move(paintFP), {paintAlpha, paintAlpha, paintAlpha, paintAlpha}); in skpaint_to_grpaint_impl()
/third_party/flutter/skia/src/core/
DSkPaintPriv.cpp29 const unsigned paintAlpha = paint->getAlpha(); in Overwrites() local
30 if (0xff == paintAlpha && overrideOpacity != kNotOpaque_ShaderOverrideOpacity && in Overwrites()
34 } else if (0 == paintAlpha) { in Overwrites()
/third_party/skia/src/core/
DSkPaintPriv.cpp31 const unsigned paintAlpha = paint->getAlpha(); in Overwrites() local
32 if (0xff == paintAlpha && overrideOpacity != kNotOpaque_ShaderOverrideOpacity && in Overwrites()
36 } else if (0 == paintAlpha) { in Overwrites()
DSkBitmapProcState.cpp183 bool SkBitmapProcState::init(const SkMatrix& inv, SkAlpha paintAlpha, in init() argument
200 fPaintAlpha = paintAlpha; in init()
/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp334 float paintAlpha = SkTPin(paintColor.fA, 0.f, 1.f); in texture_color() local
335 return { paintAlpha, paintAlpha, paintAlpha, paintAlpha }; in texture_color()
866 auto paintAlpha = paint.getAlphaf(); in drawEdgeAAImageSet() local
867 entryPaint.writable()->setAlphaf(paintAlpha * set[i].fAlpha); in drawEdgeAAImageSet()
946 auto paintAlpha = paint.getAlphaf(); in drawEdgeAAImageSet() local
947 entryPaint.writable()->setAlphaf(paintAlpha * set[i].fAlpha); in drawEdgeAAImageSet()
/third_party/flutter/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp119 int paintAlpha = GrColorUnpackA(installedGeo.fColor.toBytes_RGBA()); in DrawAtlasOp() local
130 if (paintAlpha != 255) { in DrawAtlasOp()
131 color = SkColorSetA(color, SkMulDiv255Round(SkColorGetA(color), paintAlpha)); in DrawAtlasOp()
/third_party/skia/src/gpu/ops/
DDrawAtlasOp.cpp135 int paintAlpha = GrColorUnpackA(installedGeo.fColor.toBytes_RGBA()); in DrawAtlasOpImpl() local
146 if (paintAlpha != 255) { in DrawAtlasOpImpl()
148 SkMulDiv255Round(SkColorGetA(spriteColor), paintAlpha)); in DrawAtlasOpImpl()
/third_party/flutter/skia/gm/
Dcompositor_quads.cpp689 sk_sp<SkMaskFilter> maskFilter, SkScalar paintAlpha, in Make() argument
693 std::move(maskFilter), paintAlpha, resetAfterEachQuad, transformCount)); in Make()
798 SkScalar paintAlpha, in TextureSetRenderer() argument
808 , fPaintAlpha(paintAlpha) in TextureSetRenderer()
/third_party/skia/gm/
Dcompositor_quads.cpp691 sk_sp<SkMaskFilter> maskFilter, SkScalar paintAlpha, in Make() argument
695 std::move(maskFilter), paintAlpha, resetAfterEachQuad, transformCount)); in Make()
799 SkScalar paintAlpha, in TextureSetRenderer() argument
809 , fPaintAlpha(paintAlpha) in TextureSetRenderer()