Hi yuuki
I think one can use GPU blending for modification of one color
component (not changing other components), this is described in
IMX6DQRM sect.31.4.1.16 Alpha Blending
The GPU supports alpha blending together with ROP. The alpha blending function is
performed on ROP function result source.
The general alpha blending equations are:
Cd = Fs * Cs' + Fd * Cd'
Ad = Fs * As'' + Fd * Ad''
Where
• Cs' is the source color component (adjusted for NPM if necessary)
• Cd' is the destination color component (adjusted for NPM if necessary)
• As'' is the modified source alpha component
• Ad'' is the modified destination alpha component
• Fs is fraction of the source that contributes to the final value
• Fd is fraction of the destination that contributes to the final value
Examples can be found in IMX6_GPU_SDK
: i.MX6 Graphics SDK – Includes sample
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------