Lines Matching defs:SkComposeShader
8 #include "SkComposeShader.h"
19 SkComposeShader::SkComposeShader(SkShader* sA, SkShader* sB, SkXfermode* mode) {
27 SkComposeShader::~SkComposeShader() {
33 size_t SkComposeShader::contextSize(const ContextRec& rec) const {
56 SkFlattenable* SkComposeShader::CreateProc(SkReadBuffer& buffer) {
63 return new SkComposeShader(shaderA, shaderB, mode);
66 void SkComposeShader::flatten(SkWriteBuffer& buffer) const {
78 SkShader::Context* SkComposeShader::onCreateContext(const ContextRec& rec, void* storage) const {
108 SkComposeShader::ComposeShaderContext::ComposeShaderContext(
109 const SkComposeShader& shader, const ContextRec& rec,
115 SkComposeShader::ComposeShaderContext::~ComposeShaderContext() {
120 bool SkComposeShader::asACompose(ComposeRec* rec) const {
134 void SkComposeShader::ComposeShaderContext::shadeSpan(int x, int y, SkPMColor result[], int count) {
137 SkXfermode* mode = static_cast<const SkComposeShader&>(fShader).fMode;
200 const GrFragmentProcessor* SkComposeShader::asFragmentProcessor(GrContext* context,
238 void SkComposeShader::toString(SkString* str) const {
239 str->append("SkComposeShader: (");
262 return new SkComposeShader(dst, src, xfer);