Home | History | Annotate | Download | only in core

Lines Matching refs:shader

33  *  has no shader, then the paint's color is used. If the paint has a
34 * shader, then the shader's color(s) are use instead, but they are
35 * modulated by the paint's alpha. This makes it easy to create a shader
37 * w/o having to modify the original shader... only the paint's alpha needs
48 * FIXME: This can be incorrect for a Shader with its own local matrix
54 /** replicate the edge color if the shader draws outside of its
59 /** repeat the shader's image horizontally and vertically */
62 /** repeat the shader's image horizontally and vertically, alternating
96 * Returns true if the shader is guaranteed to produce only opaque
97 * colors, subject to the SkPaint using the shader to apply an opaque
104 * Returns true if the shader is guaranteed to produce only a single color.
135 Context(const SkShader& shader, const ContextRec&);
140 * Called sometimes before drawing with this shader. Return the type of
141 * alpha your shader will return. The default implementation returns 0.
204 // Reference to shader, so we don't have to dupe information.
240 * Returns true if this shader is just a bitmap, and if not null, returns the bitmap,
254 * Iff this shader is backed by a single SkImage, return its ptr (the caller must ref this
255 * if they want to keep it longer than the lifetime of the shader). If not, return nullptr.
266 * If the shader subclass can be represented as a gradient, asAGradient
320 * If the shader subclass is composed of two shaders, return true, and if rec is not NULL,
321 * fill it out with info about the shader.
356 * Returns a GrFragmentProcessor that implements the shader for the GPU backend. NULL is
372 * If the shader can represent its "average" luminance in a single color, return true and
385 * Return a shader that will apply the specified localMatrix to this shader.
386 * The specified matrix will be applied before any matrix associated with this shader.
391 * Create a new shader that produces the same colors as invoking this shader and then applying
400 * Call this to create a new "empty" shader, that will not draw anything.
405 * Call this to create a new shader that just draws the specified color. This should always
406 * draw the same as a paint with this color (and no shader).
411 * Create a shader that draws the specified color (in the specified colorspace).
420 /** Call this to create a new shader that will draw with the specified bitmap.
429 * @param src The bitmap to use inside the shader
432 * @return Returns a new shader object. Note: this function never returns null.
437 // NOTE: You can create an SkImage Shader with SkImage::newShader().
439 /** Call this to create a new shader that will draw with the specified picture.
441 * @param src The picture to use inside the shader (if not NULL, its ref count
443 * successfully creating a picture shader.
451 * @return Returns a new shader object. Note: this function never returns null.
457 * If this shader can be represented by another shader + a localMatrix, return that shader and