Searched refs:origColor (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/gpu/ |
D | SkGr.cpp | 387 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/ |
D | SkGr.cpp | 380 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/ |
D | SkLights.cpp | 53 SkColor origColor = SkColorSetARGB(0xFF, in xform_color() local 57 SkColor xformedColor = xformer->apply(origColor); in xform_color()
|
/external/skqp/src/shaders/ |
D | SkLights.cpp | 53 SkColor origColor = SkColorSetARGB(0xFF, in xform_color() local 57 SkColor xformedColor = xformer->apply(origColor); in xform_color()
|
/external/skqp/tests/ |
D | SurfaceTest.cpp | 809 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()
|
D | ImageTest.cpp | 555 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/ |
D | SurfaceTest.cpp | 808 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()
|
D | ImageTest.cpp | 555 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/ |
D | SkLightingImageFilter.cpp | 828 SkColor origColor = SkColorSetRGB(SkScalarRoundToInt(color.fX), in xform_color() local 831 return xformer->apply(origColor); in xform_color()
|
/external/skia/src/effects/imagefilters/ |
D | SkLightingImageFilter.cpp | 830 SkColor origColor = SkColorSetRGB(SkScalarRoundToInt(color.fX), in xform_color() local 833 return xformer->apply(origColor); in xform_color()
|