void SkModeColorFilter::flatten(SkWriteBuffer& buffer) const { buffer.writeColor(fColor); buffer.writeUInt(fMode); }
void SkColorShader::flatten(SkWriteBuffer& buffer) const { buffer.writeColor(fColor); }