Home
last modified time | relevance | path

Searched refs:blend_color (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_state_blend.c86 const struct pipe_blend_color *blend_color) in llvmpipe_set_blend_color() argument
90 if(!blend_color) in llvmpipe_set_blend_color()
93 if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) in llvmpipe_set_blend_color()
98 memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); in llvmpipe_set_blend_color()
Dlp_setup.c585 const struct pipe_blend_color *blend_color ) in lp_setup_set_blend_color() argument
589 assert(blend_color); in lp_setup_set_blend_color()
591 if(memcmp(&setup->blend_color.current, blend_color, sizeof *blend_color) != 0) { in lp_setup_set_blend_color()
592 memcpy(&setup->blend_color.current, blend_color, sizeof *blend_color); in lp_setup_set_blend_color()
795 uint8_t c = float_to_ubyte(setup->blend_color.current.color[i]); in try_update_scene_state()
800 setup->blend_color.stored = stored; in try_update_scene_state()
801 setup->fs.current.jit_context.blend_color = setup->blend_color.stored; in try_update_scene_state()
Dlp_context.h71 struct pipe_blend_color blend_color; member
Dlp_jit.h105 uint8_t *blend_color; member
Dlp_setup.h116 const struct pipe_blend_color *blend_color );
Dlp_setup_context.h139 } blend_color; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_blend.c86 const struct pipe_blend_color *blend_color) in llvmpipe_set_blend_color() argument
90 if(!blend_color) in llvmpipe_set_blend_color()
93 if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) in llvmpipe_set_blend_color()
98 memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); in llvmpipe_set_blend_color()
Dlp_setup.c585 const struct pipe_blend_color *blend_color ) in lp_setup_set_blend_color() argument
589 assert(blend_color); in lp_setup_set_blend_color()
591 if(memcmp(&setup->blend_color.current, blend_color, sizeof *blend_color) != 0) { in lp_setup_set_blend_color()
592 memcpy(&setup->blend_color.current, blend_color, sizeof *blend_color); in lp_setup_set_blend_color()
795 uint8_t c = float_to_ubyte(setup->blend_color.current.color[i]); in try_update_scene_state()
800 setup->blend_color.stored = stored; in try_update_scene_state()
801 setup->fs.current.jit_context.blend_color = setup->blend_color.stored; in try_update_scene_state()
Dlp_context.h71 struct pipe_blend_color blend_color; member
Dlp_jit.h105 uint8_t *blend_color; member
Dlp_setup.h116 const struct pipe_blend_color *blend_color );
Dlp_setup_context.h139 } blend_color; member
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_state_blend.c70 const struct pipe_blend_color *blend_color) in softpipe_set_blend_color() argument
77 softpipe->blend_color = *blend_color; in softpipe_set_blend_color()
82 CLAMP(blend_color->color[i], 0.0f, 1.0f); in softpipe_set_blend_color()
Dsp_context.h74 struct pipe_blend_color blend_color; member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_blend.c70 const struct pipe_blend_color *blend_color) in softpipe_set_blend_color() argument
77 softpipe->blend_color = *blend_color; in softpipe_set_blend_color()
82 CLAMP(blend_color->color[i], 0.0f, 1.0f); in softpipe_set_blend_color()
Dsp_context.h74 struct pipe_blend_color blend_color; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_rss.c112 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]); in emit_rss()
113 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]); in emit_rss()
114 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]); in emit_rss()
115 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]); in emit_rss()
Dsvga_pipe_blend.c220 const struct pipe_blend_color *blend_color ) in svga_set_blend_color() argument
224 svga->curr.blend_color = *blend_color; in svga_set_blend_color()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_state_rss.c112 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]); in emit_rss()
113 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]); in emit_rss()
114 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]); in emit_rss()
115 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]); in emit_rss()
Dsvga_pipe_blend.c220 const struct pipe_blend_color *blend_color ) in svga_set_blend_color() argument
224 svga->curr.blend_color = *blend_color; in svga_set_blend_color()
/external/chromium_org/ui/gfx/
Dcolor_utils.cc241 const SkColor blend_color = in BlendTowardOppositeLuminance() local
243 return color_utils::AlphaBlend(blend_color, color, alpha); in BlendTowardOppositeLuminance()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_context.h75 float blend_color[4]; member
168 memset(blend_color, 0, sizeof(blend_color)); in init_context()
1087 if(memcmp(blend_color, new_blend_factor, sizeof(blend_color))) in OMSetBlendState()
1090 memcpy(blend_color, new_blend_factor, sizeof(blend_color)); in OMSetBlendState()
1109 memcpy(out_blend_factor, blend_color, sizeof(blend_color)); in OMGetBlendState()
1711 pipe->set_blend_color(pipe, (struct pipe_blend_color*)blend_color); in RestoreGalliumState()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_context.h75 float blend_color[4]; member
168 memset(blend_color, 0, sizeof(blend_color)); in init_context()
1087 if(memcmp(blend_color, new_blend_factor, sizeof(blend_color))) in OMSetBlendState()
1090 memcpy(blend_color, new_blend_factor, sizeof(blend_color)); in OMSetBlendState()
1109 memcpy(out_blend_factor, blend_color, sizeof(blend_color)); in OMGetBlendState()
1711 pipe->set_blend_color(pipe, (struct pipe_blend_color*)blend_color); in RestoreGalliumState()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
Dsi_state.h76 struct si_pm4_state *blend_color; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h76 struct si_pm4_state *blend_color; member

123