Searched refs:back_color (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fxge/dib/ |
D | cfx_scanlinecompositor.cpp | 48 int Blend(int blend_mode, int back_color, int src_color) { in Blend() argument 53 return src_color * back_color / 255; in Blend() 55 return src_color + back_color - src_color * back_color / 255; in Blend() 57 return Blend(FXDIB_BLEND_HARDLIGHT, src_color, back_color); in Blend() 59 return src_color < back_color ? src_color : back_color; in Blend() 61 return src_color > back_color ? src_color : back_color; in Blend() 66 return std::min(back_color * 255 / (255 - src_color), 255); in Blend() 72 return 255 - std::min((255 - back_color) * 255 / src_color, 255); in Blend() 76 return (src_color * back_color * 2) / 255; in Blend() 78 return Blend(FXDIB_BLEND_SCREEN, back_color, 2 * src_color - 255); in Blend() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | link_varyings.cpp | 384 const ir_variable *back_color, in cross_validate_front_and_back_color() argument 392 if (back_color != NULL && back_color->data.assigned) in cross_validate_front_and_back_color() 393 cross_validate_types_and_qualifiers(ctx, prog, input, back_color, in cross_validate_front_and_back_color() 727 const ir_variable *const back_color = in cross_validate_outputs_to_inputs() local 731 front_color, back_color, in cross_validate_outputs_to_inputs() 737 const ir_variable *const back_color = in cross_validate_outputs_to_inputs() local 741 front_color, back_color, in cross_validate_outputs_to_inputs()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.cpp | 2603 FX_ARGB back_color = 0xff000000; in LoadSMask() local 2634 back_color = 0xff000000 | ((int32_t)(R * 255) << 16) | in LoadSMask() 2639 bitmap.Clear(back_color); in LoadSMask()
|