Home
last modified time | relevance | path

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

12

/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/gm/
Dbitmapshader.cpp55 fMask = draw_mask(); in onOnceBeforeDraw()
81 canvas->drawImage(fMask, 0, 0, SkSamplingOptions(), &paint); in onDraw()
83 canvas->drawImage(fMask, 30, 0, SkSamplingOptions(), &paint); in onDraw()
95 canvas->drawImage(fMask, 0, 0, SkSamplingOptions(), &paint); in onDraw()
96 canvas->drawImage(fMask, 30, 0, SkSamplingOptions(), &paint); in onDraw()
100 paint.setShader(fMask->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in onDraw()
113 sk_sp<SkImage> fImage, fMask; member in skiagm::BitmapShaderGM
Dwindowrectangles.cpp166 AlphaOnlyClip(GrSurfaceProxyView mask, int x, int y) : fMask(std::move(mask)), fX(x), fY(y) {} in AlphaOnlyClip()
170 return SkIRect::MakeXYWH(fX, fY, fMask.width(), fMask.height()); in getConservativeBounds()
177 auto subset = SkRect::Make(fMask.dimensions()); in apply()
179 auto fp = GrTextureEffect::MakeSubset(fMask, kPremul_SkAlphaType, m, samplerState, subset, in apply()
185 GrSurfaceProxyView fMask; member in skiagm::AlphaOnlyClip
/external/skia/src/core/
DSkScan_AntiPath.cpp400 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
429 SkMask fMask; member in MaskSuperBlitter
443 fMask.fImage = (uint8_t*)fStorage; in MaskSuperBlitter()
444 fMask.fBounds = ir; in MaskSuperBlitter()
445 fMask.fRowBytes = ir.width(); in MaskSuperBlitter()
446 fMask.fFormat = SkMask::kA8_Format; in MaskSuperBlitter()
456 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 1); in MaskSuperBlitter()
531 SkASSERT(iy >= fMask.fBounds.fTop && iy < fMask.fBounds.fBottom); in blitH()
532 iy -= fMask.fBounds.fTop; // make it relative to 0 in blitH()
544 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()
DSkMaskFilter.cpp29 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch()
32 SkMask::FreeImage(fMask.fImage); in ~NinePatch()
221 patch.fMask.fImage = nullptr; in filterRRect()
225 SkASSERT(nullptr == patch.fMask.fImage); in filterRRect()
228 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
245 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
249 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
254 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
DSkBlurMF.cpp386 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
391 this->filterRRectMask(&patch->fMask, smallRR, matrix, &margin, in filterRRectToNine()
402 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine()
406 cache = add_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
409 patch->fMask.fBounds.offsetTo(0, 0); in filterRRectToNine()
520 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
529 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRectsToNine()
533 if (!this->filterRectMask(&patch->fMask, smallR[0], matrix, &margin, in filterRectsToNine()
538 cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
540 patch->fMask.fBounds.offsetTo(0, 0); in filterRectsToNine()
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 …]
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/
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()
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()
/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/modules/svg/include/
DSkSVGAttribute.h104 SkSVGProperty<SkSVGFuncIRI , false> fMask; member
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp177 postPipeline->append(SkRasterPipeline::apply_vector_mask, &ctx->fMask); in appendGradientStages()
208 postPipeline->append(SkRasterPipeline::apply_vector_mask, &ctx->fMask); in appendGradientStages()

12