Lines Matching full:shader
28 * has no shader, then the paint's color is used. If the paint has a
29 * shader, then the shader's color(s) are use instead, but they are
30 * modulated by the paint's alpha. This makes it easy to create a shader
32 * w/o having to modify the original shader... only the paint's alpha needs
45 * FIXME: This can be incorrect for a Shader with its own local matrix
51 /** replicate the edge color if the shader draws outside of its
56 /** repeat the shader's image horizontally and vertically */
59 /** repeat the shader's image horizontally and vertically, alternating
80 //! set if this shader's shadeSpan16() method can be called
83 /** Set this bit if the shader's native data type is instrinsically 16
106 * Returns true if the shader is guaranteed to produce only opaque
107 * colors, subject to the SkPaint using the shader to apply an opaque
132 Context(const SkShader& shader, const ContextRec&);
137 * Called sometimes before drawing with this shader. Return the type of
138 * alpha your shader will return. The default implementation returns 0.
175 * Helper function that returns true if this shader's shadeSpan16() method
186 // Reference to shader, so we don't have to dupe information.
232 Gives method bitmap should be read to implement a shader.
237 kNone_BitmapType, //<! Shader is not represented as a bitmap
268 @param outTexture if non-NULL will be the bitmap representing the shader
283 * If the shader subclass can be represented as a gradient, asAGradient
337 * If the shader subclass is composed of two shaders, return true, and if rec is not NULL,
338 * fill it out with info about the shader.
353 * Returns true if the shader subclass succeeds in creating an effect or if none is required.
355 * shader subclass.
366 * call createContext. Instead we pass the SkPaint here in case the shader needs paint info.
376 * If the shader can represent its "average" luminance in a single color, return true and
387 * If the shader is a custom shader which has data the caller might want, call this function
397 * Call this to create a new "empty" shader
402 * Call this to create a new shader that just draws the specified color. This should always
403 * draw the same as a paint with this color (and no shader).
407 /** Call this to create a new shader that will draw with the specified bitmap.
416 * @param src The bitmap to use inside the shader
419 * @return Returns a new shader object. Note: this function never returns null.
425 /** Call this to create a new shader that will draw with the specified picture.
427 * @param src The picture to use inside the shader (if not NULL, its ref count
429 * successfully creating a picture shader.
437 * @return Returns a new shader object. Note: this function never returns null.
445 * Return a shader that will apply the specified localMatrix to the proxy shader.
453 * If this shader can be represented by another shader + a localMatrix, return that shader
456 * Note: the returned shader (if not NULL) will have been ref'd, and it is the responsibility