aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2014-05-31 23:13:24 +0200
committerAxel Davy <[email protected]>2015-08-21 22:21:45 +0200
commit23da32a9234065e0a16e91ef2f54f1e1d9bf52e5 (patch)
tree99489fa029f47f302f0cf6ef2d7baa32cd57c822 /src/gallium/include/pipe
parenta30684712ee9a3ef6738de8c357134a01a24924c (diff)
gallium: Add blending to pipe blit
This type of blending is used for gallium nine software cursor Signed-off-by: David Heidelberg <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 1e493f47ccf..266ebbafe36 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -663,6 +663,7 @@ struct pipe_blit_info
boolean render_condition_enable; /**< whether the blit should honor the
current render condition */
+ boolean alpha_blend; /* dst.rgb = src.rgb * src.a + dst.rgb * (1 - src.a) */
};