Home
last modified time | relevance | path

Searched refs:SkShader (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaShader.h51 static SkiaShaderType getType(const SkShader& shader);
53 const Extensions& extensions, const SkShader& shader);
55 GLuint* textureUnit, const Extensions& extensions, const SkShader& shader);
61 const Extensions& extensions, const SkShader& shader) { in describe()
65 GLuint* textureUnit, const Extensions& extensions, const SkShader& shader) { in setupProgram()
76 const Extensions& extensions, const SkShader& shader);
78 GLuint* textureUnit, const Extensions& extensions, const SkShader& shader);
87 const Extensions& extensions, const SkShader& shader);
89 GLuint* textureUnit, const Extensions& extensions, const SkShader& shader);
100 const Extensions& extensions, const SkShader& shader);
[all …]
DSkiaShader.cpp87 SkiaShaderType SkiaShader::getType(const SkShader& shader) { in getType()
90 case SkShader::kNone_GradientType: in getType()
93 case SkShader::kLinear_GradientType: in getType()
94 case SkShader::kRadial_GradientType: in getType()
95 case SkShader::kSweep_GradientType: in getType()
103 if (shader.asABitmap(NULL, NULL, NULL) == SkShader::kDefault_BitmapType) { in getType()
108 SkShader::ComposeRec rec; in getType()
129 const Extensions& extensions, const SkShader& shader);
140 GLuint* textureUnit, const Extensions& extensions, const SkShader& shader);
151 const Extensions& extensions, const SkShader& shader) { in describe()
[all …]
DOpenGLRenderer.h54 class SkShader; variable
469 static inline const SkShader* getShader(const SkPaint* paint) { in getShader()
855 void setupDrawShader(const SkShader* shader);
889 void setupDrawShaderUniforms(const SkShader* shader, bool ignoreTransform = false);
DDisplayListRenderer.h244 SkShader* shaderCopy = SkShader::CreateLocalMatrixShader( in copyPaint()
DGradientCache.h193 Vector<SkShader*> mGarbage;
DOpenGLRenderer.cpp1029 class LayerShader : public SkShader {
1063 typedef SkShader INHERITED;
1641 void OpenGLRenderer::setupDrawShader(const SkShader* shader) {
1745 void OpenGLRenderer::setupDrawShaderUniforms(const SkShader* shader, bool ignoreTransform) {
/frameworks/base/core/jni/android/graphics/
DShader.cpp55 SkShader* shader = reinterpret_cast<SkShader*>(shaderHandle); in Shader_destructor()
61 SkShader* shader = reinterpret_cast<SkShader*>(shaderHandle); in Shader_setLocalMatrix()
79 SkShader* s = SkShader::CreateBitmapShader(*bitmap, in BitmapShader_constructor()
80 (SkShader::TileMode)tileModeX, in BitmapShader_constructor()
81 (SkShader::TileMode)tileModeY); in BitmapShader_constructor()
107 SkShader* shader = SkGradientShader::CreateLinear(pts, in LinearGradient_create1()
109 static_cast<SkShader::TileMode>(tileMode)); in LinearGradient_create1()
128SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 2, (SkShader::TileMode)tileMode); in LinearGradient_create2()
151 SkShader* shader = SkGradientShader::CreateRadial(center, radius, in RadialGradient_create1()
153 static_cast<SkShader::TileMode>(tileMode)); in RadialGradient_create1()
[all …]
DSkiaCanvas.cpp663 SkShader* shader = SkShader::CreateBitmapShader(bitmap, in drawBitmapMesh()
664 SkShader::kClamp_TileMode, in drawBitmapMesh()
665 SkShader::kClamp_TileMode); in drawBitmapMesh()
DPaint.cpp272 SkShader* shader = reinterpret_cast<SkShader*>(shaderHandle); in setShader()