Home
last modified time | relevance | path

Searched refs:origColor (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DSkGr.cpp454 GrColor4f origColor = SkColorToUnpremulGrColor4f(skPaint.getColor(), rtc->getColorSpace(), in skpaint_to_grpaint_impl() local
486 GrColor4f shaderInput = origColor.opaque(); in skpaint_to_grpaint_impl()
511 grPaint->setColor4f(origColor); in skpaint_to_grpaint_impl()
519 GrConstColorProcessor::Make(origColor.opaque(), in skpaint_to_grpaint_impl()
532 grPaint->setColor4f(origColor.opaque()); in skpaint_to_grpaint_impl()
545 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
557 colorFilter->filterColor4f(origColor.toSkColor4f())).premul()); in skpaint_to_grpaint_impl()
/external/skia/tests/
DSurfaceTest.cpp708 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, uint32_t origColor) { in test_surface_draw_partially() argument
712 const SkColor kRectColor = ~origColor | 0xFF000000; in test_surface_draw_partially()
717 sk_memset32(pixels.get(), ~origColor, kW * kH); in test_surface_draw_partially()
722 SkPMColor origColorPM = SkPackARGB_as_RGBA((origColor >> 24 & 0xFF), in test_surface_draw_partially()
723 (origColor >> 0 & 0xFF), in test_surface_draw_partially()
724 (origColor >> 8 & 0xFF), in test_surface_draw_partially()
725 (origColor >> 16 & 0xFF)); in test_surface_draw_partially()
/external/skia/src/core/
DSkPixmap.cpp211 bool SkPixmap::erase(const SkColor4f& origColor, const SkIRect* subset) const { in erase() argument
221 const SkColor4f color = origColor.pin(); in erase()