Lines Matching refs:SkiaShader
24 #include "SkiaShader.h"
61 void SkiaShader::copyFrom(const SkiaShader& shader) {
72 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX,
79 SkiaShader::~SkiaShader() {
82 void SkiaShader::describe(ProgramDescription& description, const Extensions& extensions) {
85 void SkiaShader::setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
89 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) {
94 void SkiaShader::computeScreenSpaceMatrix(mat4& screenSpace, const mat4& modelView) {
105 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) {
109 SkiaShader* SkiaBitmapShader::copy() {
184 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend),
205 SkiaShader* SkiaLinearGradientShader::copy() {
272 SkiaShader* SkiaCircularGradientShader::copy() {
301 SkiaShader(kSweepGradient, key, SkShader::kClamp_TileMode,
316 SkiaShader(type, key, tileMode, tileMode, matrix, blend),
327 SkiaShader* SkiaSweepGradientShader::copy() {
373 SkiaComposeShader::SkiaComposeShader(SkiaShader* first, SkiaShader* second,
375 SkiaShader(kCompose, key, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode,
387 SkiaShader* SkiaComposeShader::copy() {
398 SkiaShader::set(textureCache, gradientCache);