Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DSkGr.cpp423 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
424 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
428 { paintAlpha, paintAlpha, paintAlpha, paintAlpha }, in skpaint_to_grpaint_impl()
453 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
454 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
458 { paintAlpha, paintAlpha, paintAlpha, paintAlpha }, in skpaint_to_grpaint_impl()
DSkGpuDevice_drawTexture.cpp134 float paintAlpha = paint.getColor4f().fA; in draw_texture() local
135 color = { paintAlpha, paintAlpha, paintAlpha, paintAlpha }; in draw_texture()
/external/skia/src/gpu/
DSkGr.cpp375 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
376 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
380 std::move(paintFP), {paintAlpha, paintAlpha, paintAlpha, paintAlpha}); in skpaint_to_grpaint_impl()
396 float paintAlpha = skPaint.getColor4f().fA; in skpaint_to_grpaint_impl() local
397 if (1.0f != paintAlpha) { in skpaint_to_grpaint_impl()
401 std::move(paintFP), {paintAlpha, paintAlpha, paintAlpha, paintAlpha}); in skpaint_to_grpaint_impl()
DSkGpuDevice_drawTexture.cpp331 float paintAlpha = SkTPin(paintColor.fA, 0.f, 1.f); in texture_color() local
332 return { paintAlpha, paintAlpha, paintAlpha, paintAlpha }; in texture_color()
857 auto paintAlpha = paint.getAlphaf(); in drawEdgeAAImageSet() local
858 entryPaint.writable()->setAlphaf(paintAlpha * set[i].fAlpha); in drawEdgeAAImageSet()
937 auto paintAlpha = paint.getAlphaf(); in drawEdgeAAImageSet() local
938 entryPaint.writable()->setAlphaf(paintAlpha * set[i].fAlpha); in drawEdgeAAImageSet()
/external/skqp/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()
/external/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.cpp184 bool SkBitmapProcState::init(const SkMatrix& inv, SkAlpha paintAlpha, in init() argument
201 fPaintAlpha = paintAlpha; in init()
/external/skqp/src/gpu/ops/
DGrDrawAtlasOp.cpp59 int paintAlpha = GrColorUnpackA(installedGeo.fColor.toBytes_RGBA()); in GrDrawAtlasOp() local
70 if (paintAlpha != 255) { in GrDrawAtlasOp()
71 color = SkColorSetA(color, SkMulDiv255Round(SkColorGetA(color), paintAlpha)); in GrDrawAtlasOp()
/external/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp136 int paintAlpha = GrColorUnpackA(installedGeo.fColor.toBytes_RGBA()); in DrawAtlasOp() local
147 if (paintAlpha != 255) { in DrawAtlasOp()
148 color = SkColorSetA(color, SkMulDiv255Round(SkColorGetA(color), paintAlpha)); in DrawAtlasOp()
/external/skia/gm/
Dcompositor_quads.cpp692 sk_sp<SkMaskFilter> maskFilter, SkScalar paintAlpha, in Make() argument
696 std::move(maskFilter), paintAlpha, resetAfterEachQuad, transformCount)); in Make()
800 SkScalar paintAlpha, in TextureSetRenderer() argument
810 , fPaintAlpha(paintAlpha) in TextureSetRenderer()