Home | History | Annotate | Download | only in graphics

Lines Matching full:shader

19 /** A subclass of shader that returns the composition of two other shaders, combined by
22 public class ComposeShader extends Shader {
39 private final Shader mShaderA;
41 private final Shader mShaderB;
43 /** Create a new compose shader, given shaders A, B, and a combining mode.
44 When the mode is applied, it will be given the result from shader A as its
45 "dst", and the result from shader B as its "src".
46 @param shaderA The colors from this shader are seen as the "dst" by the mode
47 @param shaderB The colors from this shader are seen as the "src" by the mode
51 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) {
68 /** Create a new compose shader, given shaders A, B, and a combining PorterDuff mode.
69 When the mode is applied, it will be given the result from shader A as its
70 "dst", and the result from shader B as its "src".
71 @param shaderA The colors from this shader are seen as the "dst" by the mode
72 @param shaderB The colors from this shader are seen as the "src" by the mode
75 public ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) {
90 protected Shader copy() {