Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DSkGr.cpp387 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, in skpaint_to_grpaint_impl() local
396 fpArgs.fInputColorIsOpaque = origColor.isOpaque(); in skpaint_to_grpaint_impl()
420 SkPMColor4f shaderInput = origColor.makeOpaque().premul(); in skpaint_to_grpaint_impl()
441 SkPMColor4f origColorAsPM = { origColor.fR, origColor.fG, origColor.fB, origColor.fA }; in skpaint_to_grpaint_impl()
449 SkPMColor4f opaqueColor = origColor.makeOpaque().premul(); in skpaint_to_grpaint_impl()
471 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
480 colorFilter->filterColor4f(origColor, colorSpaceInfo.colorSpace()).premul()); in skpaint_to_grpaint_impl()
/external/skqp/src/gpu/
DSkGr.cpp380 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), colorSpaceInfo, in skpaint_to_grpaint_impl() local
412 SkPMColor4f shaderInput = origColor.makeOpaque().premul(); in skpaint_to_grpaint_impl()
433 SkPMColor4f origColorAsPM = { origColor.fR, origColor.fG, origColor.fB, origColor.fA }; in skpaint_to_grpaint_impl()
441 SkPMColor4f opaqueColor = origColor.makeOpaque().premul(); in skpaint_to_grpaint_impl()
463 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl()
472 colorFilter->filterColor4f(origColor, colorSpaceInfo.colorSpace()).premul()); in skpaint_to_grpaint_impl()
/external/skia/src/shaders/
DSkLights.cpp53 SkColor origColor = SkColorSetARGB(0xFF, in xform_color() local
57 SkColor xformedColor = xformer->apply(origColor); in xform_color()
/external/skqp/src/shaders/
DSkLights.cpp53 SkColor origColor = SkColorSetARGB(0xFF, in xform_color() local
57 SkColor xformedColor = xformer->apply(origColor); in xform_color()
/external/skqp/tests/
DSurfaceTest.cpp809 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, uint32_t origColor) { in test_surface_draw_partially() argument
813 const SkColor kRectColor = ~origColor | 0xFF000000; in test_surface_draw_partially()
818 sk_memset32(pixels.get(), ~origColor, kW * kH); in test_surface_draw_partially()
823 SkPMColor origColorPM = SkPackARGB_as_RGBA((origColor >> 24 & 0xFF), in test_surface_draw_partially()
824 (origColor >> 0 & 0xFF), in test_surface_draw_partially()
825 (origColor >> 8 & 0xFF), in test_surface_draw_partially()
826 (origColor >> 16 & 0xFF)); in test_surface_draw_partially()
DImageTest.cpp555 uint32_t origColor = SkPreMultiplyColor(*bmp.getAddr32(x, y)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
556 int32_t origA = (origColor >> 24) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
557 int32_t origB = (origColor >> 16) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
558 int32_t origG = (origColor >> 8) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
559 int32_t origR = (origColor >> 0) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DSurfaceTest.cpp808 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, uint32_t origColor) { in test_surface_draw_partially() argument
812 const SkColor kRectColor = ~origColor | 0xFF000000; in test_surface_draw_partially()
817 sk_memset32(pixels.get(), ~origColor, kW * kH); in test_surface_draw_partially()
822 SkPMColor origColorPM = SkPackARGB_as_RGBA((origColor >> 24 & 0xFF), in test_surface_draw_partially()
823 (origColor >> 0 & 0xFF), in test_surface_draw_partially()
824 (origColor >> 8 & 0xFF), in test_surface_draw_partially()
825 (origColor >> 16 & 0xFF)); in test_surface_draw_partially()
DImageTest.cpp555 uint32_t origColor = SkPreMultiplyColor(*bmp.getAddr32(x, y)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
556 int32_t origA = (origColor >> 24) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
557 int32_t origB = (origColor >> 16) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
558 int32_t origG = (origColor >> 8) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
559 int32_t origR = (origColor >> 0) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/effects/imagefilters/
DSkLightingImageFilter.cpp828 SkColor origColor = SkColorSetRGB(SkScalarRoundToInt(color.fX), in xform_color() local
831 return xformer->apply(origColor); in xform_color()
/external/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp830 SkColor origColor = SkColorSetRGB(SkScalarRoundToInt(color.fX), in xform_color() local
833 return xformer->apply(origColor); in xform_color()