Searched refs:origColor (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/gpu/ |
D | SkGr.cpp | 222 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), dstColorInfo); in skpaint_to_grpaint_impl() local 230 fpArgs.fInputColorIsOpaque = origColor.isOpaque(); in skpaint_to_grpaint_impl() 254 SkPMColor4f shaderInput = origColor.makeOpaque().premul(); in skpaint_to_grpaint_impl() 275 SkPMColor4f origColorAsPM = { origColor.fR, origColor.fG, origColor.fB, origColor.fA }; in skpaint_to_grpaint_impl() 283 SkPMColor4f opaqueColor = origColor.makeOpaque().premul(); in skpaint_to_grpaint_impl() 305 grPaint->setColor4f(origColor.premul()); in skpaint_to_grpaint_impl() 314 grPaint->setColor4f(colorFilter->filterColor4f(origColor, dstCS, dstCS).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/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 | 830 skiatest::Reporter* reporter, sk_sp<SkSurface> surface, SkColor origColor) { in test_surface_draw_partially() argument 834 const SkColor kRectColor = ~origColor | 0xFF000000; in test_surface_draw_partially() 844 readback.erase(~origColor); in test_surface_draw_partially() 849 SkPMColor origColorPM = SkPackARGB_as_RGBA(SkColorGetA(origColor), in test_surface_draw_partially() 850 SkColorGetR(origColor), in test_surface_draw_partially() 851 SkColorGetG(origColor), in test_surface_draw_partially() 852 SkColorGetB(origColor)); in test_surface_draw_partially()
|
D | ImageTest.cpp | 541 uint32_t origColor = *bmp.getAddr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 542 int32_t origA = (origColor >> 24) & 0xff; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 544 int32_t origB = sk_float_round2int(((origColor >> 16) & 0xff) * a); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 545 int32_t origG = sk_float_round2int(((origColor >> 8) & 0xff) * a); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 546 int32_t origR = sk_float_round2int(((origColor >> 0) & 0xff) * a); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 559 *bmp.getAddr32(x, y), *premul.getAddr32(x, y), origColor, x, y); 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()
|