Home
last modified time | relevance | path

Searched refs:gainmapShader (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/jni/
DShader.cpp81 sk_sp<SkShader> gainmapShader = in BitmapShader_constructor() local
84 if (gainmapShader) { in BitmapShader_constructor()
86 gainmapShader = gainmapShader->makeWithLocalMatrix(*matrix); in BitmapShader_constructor()
88 return reinterpret_cast<jlong>(gainmapShader.release()); in BitmapShader_constructor()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp642 sk_sp<SkShader> gainmapShader = uirenderer::MakeGainmapShader( in drawBitmap() local
645 gainmapPaint.setShader(gainmapShader); in drawBitmap()
669 sk_sp<SkShader> gainmapShader = uirenderer::MakeGainmapShader( in drawBitmap() local
672 gainmapShader = gainmapShader->makeWithLocalMatrix(SkMatrix::RectToRect(srcRect, dstRect)); in drawBitmap()
673 gainmapPaint.setShader(gainmapShader); in drawBitmap()