Home
last modified time | relevance | path

Searched refs:fMask (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/gm/
Dbitmapshader.cpp55 draw_mask(&fMask); in onOnceBeforeDraw()
81 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
83 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
95 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
96 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
100 paint.setShader(fMask.makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, &s)); in onDraw()
113 SkBitmap fMask; member in skiagm::BitmapShaderGM
Dwindowrectangles.cpp177 AlphaOnlyClip(GrSurfaceProxyView mask, int x, int y) : fMask(std::move(mask)), fX(x), fY(y) {} in AlphaOnlyClip()
183 fMask, SkIRect::MakeSize(fMask.proxy()->dimensions()), {fX, fY})); in apply()
186 GrSurfaceProxyView fMask; member in skiagm::AlphaOnlyClip
/external/skqp/gm/
Dbitmapshader.cpp47 draw_mask(&fMask); in onOnceBeforeDraw()
74 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
75 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
87 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
88 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
92 paint.setShader(SkShader::MakeBitmapShader(fMask, SkShader::kRepeat_TileMode, in onDraw()
106 SkBitmap fMask; member in skiagm::BitmapShaderGM
Dwindowrectangles.cpp151 AlphaOnlyClip(sk_sp<GrTextureProxy> mask, int x, int y) : fMask(mask), fX(x), fY(y) {} in AlphaOnlyClip()
156 int w = fMask->width(); in apply()
157 int h = fMask->height(); in apply()
159 fMask, SkIRect::MakeWH(w, h), {fX, fY})); in apply()
162 sk_sp<GrTextureProxy> fMask; member in skiagm::AlphaOnlyClip
/external/skia/src/core/
DSkScan_AntiPath.cpp401 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
430 SkMask fMask; member in MaskSuperBlitter
444 fMask.fImage = (uint8_t*)fStorage; in MaskSuperBlitter()
445 fMask.fBounds = ir; in MaskSuperBlitter()
446 fMask.fRowBytes = ir.width(); in MaskSuperBlitter()
447 fMask.fFormat = SkMask::kA8_Format; in MaskSuperBlitter()
457 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 1); in MaskSuperBlitter()
532 SkASSERT(iy >= fMask.fBounds.fTop && iy < fMask.fBounds.fBottom); in blitH()
533 iy -= fMask.fBounds.fTop; // make it relative to 0 in blitH()
545 SkASSERT(ix >= fMask.fBounds.fLeft && ix < fMask.fBounds.fRight); in blitH()
[all …]
DSkMaskCache.cpp14 SkMask fMask; member
41 fValue.fMask = mask; in RRectBlurRec()
83 *mask = result.fMask; in FindAndRef()
132 fValue.fMask = mask; in RectsBlurRec()
175 *mask = result.fMask; in FindAndRef()
DSkScan_AAAPath.cpp146 ~MaskAdditiveBlitter() override { fRealBlitter->blitMask(fMask, fClipRect); } in ~MaskAdditiveBlitter()
189 fRow = fMask.fImage + (y - fMask.fBounds.fTop) * fMask.fRowBytes - fMask.fBounds.fLeft; in getRow()
200 SkMask fMask; member in MaskAdditiveBlitter
218 fMask.fImage = (uint8_t*)fStorage + 1; // There's 1 extra byte at either end of fStorage in MaskAdditiveBlitter()
219 fMask.fBounds = ir; in MaskAdditiveBlitter()
220 fMask.fRowBytes = ir.width(); in MaskAdditiveBlitter()
221 fMask.fFormat = SkMask::kA8_Format; in MaskAdditiveBlitter()
232 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 2); in MaskAdditiveBlitter()
240 SkASSERT(x >= fMask.fBounds.fLeft - 1); in blitAntiH()
245 SkASSERT(x >= fMask.fBounds.fLeft - 1); in blitAntiH()
[all …]
DSkBlurMF.cpp527 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
532 this->filterRRectMask(&patch->fMask, smallRR, matrix, &margin, in filterRRectToNine()
543 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine()
547 cache = add_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
550 patch->fMask.fBounds.offsetTo(0, 0); in filterRRectToNine()
661 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
670 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRectsToNine()
674 if (!this->filterRectMask(&patch->fMask, smallR[0], matrix, &margin, in filterRectsToNine()
679 cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
681 patch->fMask.fBounds.offsetTo(0, 0); in filterRectsToNine()
DSkMaskFilter.cpp32 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch()
35 SkMask::FreeImage(fMask.fImage); in ~NinePatch()
224 patch.fMask.fImage = nullptr; in filterRRect()
228 SkASSERT(nullptr == patch.fMask.fImage); in filterRRect()
231 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
248 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
252 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
257 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
DSkMaskFilterBase.h181 SkMask fMask; // fBounds must have [0,0] in its top-left variable
/external/skqp/src/core/
DSkScan_AntiPath.cpp402 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
431 SkMask fMask; member in MaskSuperBlitter
445 fMask.fImage = (uint8_t*)fStorage; in MaskSuperBlitter()
446 fMask.fBounds = ir; in MaskSuperBlitter()
447 fMask.fRowBytes = ir.width(); in MaskSuperBlitter()
448 fMask.fFormat = SkMask::kA8_Format; in MaskSuperBlitter()
458 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 1); in MaskSuperBlitter()
533 SkASSERT(iy >= fMask.fBounds.fTop && iy < fMask.fBounds.fBottom); in blitH()
534 iy -= fMask.fBounds.fTop; // make it relative to 0 in blitH()
546 SkASSERT(ix >= fMask.fBounds.fLeft && ix < fMask.fBounds.fRight); in blitH()
[all …]
DSkMaskCache.cpp14 SkMask fMask; member
41 fValue.fMask = mask; in RRectBlurRec()
83 *mask = result.fMask; in FindAndRef()
132 fValue.fMask = mask; in RectsBlurRec()
175 *mask = result.fMask; in FindAndRef()
DSkCoverageDelta.h132 SkAlpha* getMask() { return fMask; } in getMask()
149 mask.fImage = fMask; in prepareSkMask()
162 SkAlpha* fMask; variable
194 SkMask fMask; member
DSkScan_AAAPath.cpp150 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskAdditiveBlitter()
194 fRow = fMask.fImage + (y - fMask.fBounds.fTop) * fMask.fRowBytes - fMask.fBounds.fLeft; in getRow()
205 SkMask fMask; member in MaskAdditiveBlitter
221 fMask.fImage = (uint8_t*)fStorage + 1; // There's 1 extra byte at either end of fStorage in MaskAdditiveBlitter()
222 fMask.fBounds = ir; in MaskAdditiveBlitter()
223 fMask.fRowBytes = ir.width(); in MaskAdditiveBlitter()
224 fMask.fFormat = SkMask::kA8_Format; in MaskAdditiveBlitter()
235 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 2); in MaskAdditiveBlitter()
243 SkASSERT(x >= fMask.fBounds.fLeft -1); in blitAntiH()
248 SkASSERT(x >= fMask.fBounds.fLeft -1); in blitAntiH()
[all …]
DSkBlurMF.cpp526 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
531 this->filterRRectMask(&patch->fMask, smallRR, matrix, &margin, in filterRRectToNine()
542 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine()
546 cache = add_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
549 patch->fMask.fBounds.offsetTo(0, 0); in filterRRectToNine()
659 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
668 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRectsToNine()
672 if (!this->filterRectMask(&patch->fMask, smallR[0], matrix, &margin, in filterRectsToNine()
677 cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
679 patch->fMask.fBounds.offsetTo(0, 0); in filterRectsToNine()
DSkMaskFilter.cpp31 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch()
34 SkMask::FreeImage(fMask.fImage); in ~NinePatch()
223 patch.fMask.fImage = nullptr; in filterRRect()
227 SkASSERT(nullptr == patch.fMask.fImage); in filterRRect()
230 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
247 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
251 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
256 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
DSkCoverageDelta.cpp76 fMask = alloc->makeArrayDefault<SkAlpha>(size); in SkCoverageDeltaMask()
88 SkAlpha* maskRow = fMask; in convertCoverageToAlpha()
DSkMaskFilterBase.h174 SkMask fMask; // fBounds must have [0,0] in its top-left variable
/external/skqp/src/gpu/effects/
DGrAlphaThresholdFragmentProcessor.cpp84 if (fMask != that.fMask) return false; in onIsEqual()
92 , fMask(src.fMask) in GrAlphaThresholdFragmentProcessor()
104 return IthTextureSampler(index, fMask); in onTextureSampler()
DGrAlphaThresholdFragmentProcessor.h37 , fMask(std::move(mask)) in GrAlphaThresholdFragmentProcessor()
42 fMask.proxy()) { in GrAlphaThresholdFragmentProcessor()
51 TextureSampler fMask; variable
/external/icu/icu4c/source/samples/layout/
Dclayout.c69 si.fMask = SIF_RANGE | SIF_PAGE | SIF_DISABLENOSCROLL; in InitParagraph()
182 si.fMask = SIF_ALL; in WndProc()
221 si.fMask = SIF_POS; in WndProc()
245 si.fMask = SIF_ALL; in WndProc()
Dlayout.cpp68 si.fMask = SIF_RANGE | SIF_PAGE | SIF_DISABLENOSCROLL; in InitParagraph()
180 si.fMask = SIF_ALL; in WndProc()
219 si.fMask = SIF_POS; in WndProc()
243 si.fMask = SIF_ALL; in WndProc()
/external/skqp/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp209 postPipeline->append(SkRasterPipeline::apply_vector_mask, &ctx->fMask); in appendGradientStages()
240 postPipeline->append(SkRasterPipeline::apply_vector_mask, &ctx->fMask); in appendGradientStages()
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp202 postPipeline->append(SkRasterPipeline::apply_vector_mask, &ctx->fMask); in appendGradientStages()
233 postPipeline->append(SkRasterPipeline::apply_vector_mask, &ctx->fMask); in appendGradientStages()
/external/skia/modules/skottie/src/effects/
DEffects.cpp140 fMaskNode->setMaskFilter(std::move(minfo.fMask)); in onSync()

12