Home
last modified time | relevance | path

Searched refs:SkiaShader (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaShader.h42 struct SkiaShader { struct
55 SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, SkShader::TileMode tileY, argument
57 virtual ~SkiaShader();
59 virtual SkiaShader* copy() = 0;
60 void copyFrom(const SkiaShader& shader);
108 SkiaShader() { in SkiaShader() argument
141 struct SkiaBitmapShader: public SkiaShader {
144 SkiaShader* copy();
171 struct SkiaLinearGradientShader: public SkiaShader {
175 SkiaShader* copy();
[all …]
DSkiaShader.cpp50 void SkiaShader::copyFrom(const SkiaShader& shader) { in copyFrom()
61 SkiaShader::SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, in SkiaShader() function in android::uirenderer::SkiaShader
68 SkiaShader::~SkiaShader() { in ~SkiaShader()
71 void SkiaShader::describe(ProgramDescription& description, const Extensions& extensions) { in describe()
74 void SkiaShader::setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot, in setupProgram()
78 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture()
83 void SkiaShader::computeScreenSpaceMatrix(mat4& screenSpace, const mat4& modelView) { in computeScreenSpaceMatrix()
94 SkiaShader(kBitmap, key, tileX, tileY, matrix, blend), mBitmap(bitmap), mTexture(NULL) { in SkiaBitmapShader()
98 SkiaShader* SkiaBitmapShader::copy() { in copy()
185 SkiaShader(kLinearGradient, key, tileMode, tileMode, matrix, blend), in SkiaLinearGradientShader()
[all …]
DDisplayListRenderer.h149 SkiaShader* getShader() { in getShader()
150 return (SkiaShader*) getInt(); in getShader()
215 Vector<SkiaShader*> mShaders;
293 void setupShader(SkiaShader* shader);
315 const Vector<SkiaShader*>& getShaders() const { in getShaders()
454 inline void addShader(SkiaShader* shader) { in addShader()
460 SkiaShader* shaderCopy = mShaderMap.valueFor(shader); in addShader()
487 Vector<SkiaShader*> mShaders;
488 DefaultKeyedVector<SkiaShader*, SkiaShader*> mShaderMap;
DResourceCache.h59 void incrementRefcount(SkiaShader* resource);
65 void decrementRefcount(SkiaShader* resource);
70 void destructor(SkiaShader* resource);
DResourceCache.cpp69 void ResourceCache::incrementRefcount(SkiaShader* shaderResource) { in incrementRefcount()
102 void ResourceCache::decrementRefcount(SkiaShader* shaderResource) { in decrementRefcount()
164 void ResourceCache::destructor(SkiaShader* resource) { in destructor()
219 SkiaShader* shader = (SkiaShader*) resource; in deleteResourceReference()
DAndroid.mk28 SkiaShader.cpp \
DOpenGLRenderer.h127 virtual void setupShader(SkiaShader* shader);
563 SkiaShader* mShader;
DDisplayListRenderer.cpp172 const Vector<SkiaShader*> &shaders = recorder.getShaders(); in initFromDisplayListRenderer()
174 SkiaShader* resource = shaders.itemAt(i); in initFromDisplayListRenderer()
488 SkiaShader* shader = getShader(); in output()
850 SkiaShader* shader = getShader(); in replay()
1211 void DisplayListRenderer::setupShader(SkiaShader* shader) { in setupShader()
DOpenGLRenderer.cpp2278 void OpenGLRenderer::setupShader(SkiaShader* shader) { in setupShader()
/frameworks/base/core/jni/android/graphics/
DShader.cpp54 static void Shader_destructor(JNIEnv* env, jobject o, SkShader* shader, SkiaShader* skiaShader) in Shader_destructor()
67 static void Shader_setLocalMatrix(JNIEnv* env, jobject o, SkShader* shader, SkiaShader* skiaShader, in Shader_setLocalMatrix()
96 static SkiaShader* BitmapShader_postConstructor(JNIEnv* env, jobject o, SkShader* shader, in BitmapShader_postConstructor()
99 SkiaShader* skiaShader = new SkiaBitmapShader(bitmap, shader, in BitmapShader_postConstructor()
143 static SkiaShader* LinearGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, in LinearGradient_postCreate1()
174 SkiaShader* skiaShader = new SkiaLinearGradientShader(storedBounds, storedColors, in LinearGradient_postCreate1()
185 static SkiaShader* LinearGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, in LinearGradient_postCreate2()
200 SkiaShader* skiaShader = new SkiaLinearGradientShader(storedBounds, storedColors, in LinearGradient_postCreate2()
276 static SkiaShader* RadialGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, in RadialGradient_postCreate1()
303 SkiaShader* skiaShader = new SkiaCircularGradientShader(x, y, radius, storedColors, in RadialGradient_postCreate1()
[all …]
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp457 OpenGLRenderer* renderer, SkiaShader* shader) { in android_view_GLES20Canvas_setupShader()