Home | History | Annotate | Download | only in gm

Lines Matching full:shader

59         SkShader* shader = SkShader::CreateBitmapShader(fBitmap,
63 paint.setShader(shader);
64 // release the shader ref as the paint now holds a reference
65 shader->unref();
67 // draw the shader with a bitmap mask
73 // draw the shader with standard geometry
79 shader = SkShader::CreateBitmapShader(fMask,
82 paint.setShader(shader);
84 shader->unref();
86 // draw the mask using the shader and a color