Home
last modified time | relevance | path

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

12

/external/skqp/src/core/
DSkScan_AntiPath.cpp399 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
428 SkMask fMask; member in MaskSuperBlitter
442 fMask.fImage = (uint8_t*)fStorage; in MaskSuperBlitter()
443 fMask.fBounds = ir; in MaskSuperBlitter()
444 fMask.fRowBytes = ir.width(); in MaskSuperBlitter()
445 fMask.fFormat = SkMask::kA8_Format; in MaskSuperBlitter()
455 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 1); in MaskSuperBlitter()
530 SkASSERT(iy >= fMask.fBounds.fTop && iy < fMask.fBounds.fBottom); in blitH()
531 iy -= fMask.fBounds.fTop; // make it relative to 0 in blitH()
543 SkASSERT(ix >= fMask.fBounds.fLeft && ix < fMask.fBounds.fRight); in blitH()
[all …]
DSkMaskCache.cpp14 SkMask fMask; member
43 fValue.fMask = mask; in RRectBlurRec()
85 *mask = result.fMask; in FindAndRef()
137 fValue.fMask = mask; in RectsBlurRec()
180 *mask = result.fMask; in FindAndRef()
DSkScan_AAAPath.cpp140 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskAdditiveBlitter()
184 fRow = fMask.fImage + (y - fMask.fBounds.fTop) * fMask.fRowBytes - fMask.fBounds.fLeft; in getRow()
195 SkMask fMask; member in MaskAdditiveBlitter
211 fMask.fImage = (uint8_t*)fStorage + 1; // There's 1 extra byte at either end of fStorage in MaskAdditiveBlitter()
212 fMask.fBounds = ir; in MaskAdditiveBlitter()
213 fMask.fRowBytes = ir.width(); in MaskAdditiveBlitter()
214 fMask.fFormat = SkMask::kA8_Format; in MaskAdditiveBlitter()
225 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 2); in MaskAdditiveBlitter()
233 SkASSERT(x >= fMask.fBounds.fLeft -1); in blitAntiH()
238 SkASSERT(x >= fMask.fBounds.fLeft -1); in blitAntiH()
[all …]
DSkMaskFilter.cpp28 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch()
31 SkMask::FreeImage(fMask.fImage); in ~NinePatch()
225 patch.fMask.fImage = nullptr; in filterRRect()
229 SkASSERT(nullptr == patch.fMask.fImage); in filterRRect()
232 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
249 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
253 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
258 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
DSkCoverageDelta.h131 SkAlpha* getMask() { return fMask; } in getMask()
148 mask.fImage = fMask; in prepareSkMask()
161 SkAlpha* fMask; variable
DSkCoverageDelta.cpp70 fMask = alloc->makeArrayDefault<SkAlpha>(size); in SkCoverageDeltaMask()
82 SkAlpha* maskRow = fMask; in convertCoverageToAlpha()
/external/skia/src/core/
DSkScan_AntiPath.cpp399 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskSuperBlitter()
428 SkMask fMask; member in MaskSuperBlitter
442 fMask.fImage = (uint8_t*)fStorage; in MaskSuperBlitter()
443 fMask.fBounds = ir; in MaskSuperBlitter()
444 fMask.fRowBytes = ir.width(); in MaskSuperBlitter()
445 fMask.fFormat = SkMask::kA8_Format; in MaskSuperBlitter()
455 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 1); in MaskSuperBlitter()
530 SkASSERT(iy >= fMask.fBounds.fTop && iy < fMask.fBounds.fBottom); in blitH()
531 iy -= fMask.fBounds.fTop; // make it relative to 0 in blitH()
543 SkASSERT(ix >= fMask.fBounds.fLeft && ix < fMask.fBounds.fRight); in blitH()
[all …]
DSkMaskCache.cpp14 SkMask fMask; member
43 fValue.fMask = mask; in RRectBlurRec()
85 *mask = result.fMask; in FindAndRef()
137 fValue.fMask = mask; in RectsBlurRec()
180 *mask = result.fMask; in FindAndRef()
DSkCoverageDelta.h131 SkAlpha* getMask() { return fMask; } in getMask()
148 mask.fImage = fMask; in prepareSkMask()
161 SkAlpha* fMask; variable
192 SkMask fMask; member
DSkScan_AAAPath.cpp140 fRealBlitter->blitMask(fMask, fClipRect); in ~MaskAdditiveBlitter()
184 fRow = fMask.fImage + (y - fMask.fBounds.fTop) * fMask.fRowBytes - fMask.fBounds.fLeft; in getRow()
195 SkMask fMask; member in MaskAdditiveBlitter
211 fMask.fImage = (uint8_t*)fStorage + 1; // There's 1 extra byte at either end of fStorage in MaskAdditiveBlitter()
212 fMask.fBounds = ir; in MaskAdditiveBlitter()
213 fMask.fRowBytes = ir.width(); in MaskAdditiveBlitter()
214 fMask.fFormat = SkMask::kA8_Format; in MaskAdditiveBlitter()
225 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 2); in MaskAdditiveBlitter()
233 SkASSERT(x >= fMask.fBounds.fLeft -1); in blitAntiH()
238 SkASSERT(x >= fMask.fBounds.fLeft -1); in blitAntiH()
[all …]
DSkMaskFilter.cpp29 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch()
32 SkMask::FreeImage(fMask.fImage); in ~NinePatch()
226 patch.fMask.fImage = nullptr; in filterRRect()
230 SkASSERT(nullptr == patch.fMask.fImage); in filterRRect()
233 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
250 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
254 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
259 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
DSkCoverageDelta.cpp70 fMask = alloc->makeArrayDefault<SkAlpha>(size); in SkCoverageDeltaMask()
82 SkAlpha* maskRow = fMask; in convertCoverageToAlpha()
DSkBlitter.cpp714 , fMask(nullptr) in Sk3DShaderContext()
724 void set3DMask(const SkMask* mask) override { fMask = mask; } in set3DMask()
731 if (fMask == nullptr) { in shadeSpan()
738 SkASSERT(fMask->fBounds.contains(x, y)); in shadeSpan()
739 SkASSERT(fMask->fBounds.contains(x + count - 1, y)); in shadeSpan()
741 size_t size = fMask->computeImageSize(); in shadeSpan()
742 const uint8_t* alpha = fMask->getAddr8(x, y); in shadeSpan()
792 const SkMask* fMask; member in Sk3DShader::Sk3DShaderContext
/external/skqp/gm/
Dbitmapshader.cpp45 draw_mask(&fMask); in onOnceBeforeDraw()
72 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
73 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
85 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
86 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
90 paint.setShader(SkShader::MakeBitmapShader(fMask, SkShader::kRepeat_TileMode, in onDraw()
104 SkBitmap fMask; member in skiagm::BitmapShaderGM
Dwindowrectangles.cpp152 AlphaOnlyClip(sk_sp<GrTextureProxy> mask, int x, int y) : fMask(mask), fX(x), fY(y) {} in AlphaOnlyClip()
157 int w = fMask->width(); in apply()
158 int h = fMask->height(); in apply()
160 fMask, SkIRect::MakeWH(w, h), {fX, fY})); in apply()
163 sk_sp<GrTextureProxy> fMask; member in skiagm::AlphaOnlyClip
/external/skia/gm/
Dbitmapshader.cpp45 draw_mask(&fMask); in onOnceBeforeDraw()
72 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
73 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
85 canvas->drawBitmap(fMask, 0, 0, &paint); in onDraw()
86 canvas->drawBitmap(fMask, 30, 0, &paint); in onDraw()
90 paint.setShader(SkShader::MakeBitmapShader(fMask, SkShader::kRepeat_TileMode, in onDraw()
104 SkBitmap fMask; member in skiagm::BitmapShaderGM
Dwindowrectangles.cpp152 AlphaOnlyClip(sk_sp<GrTextureProxy> mask, int x, int y) : fMask(mask), fX(x), fY(y) {} in AlphaOnlyClip()
157 int w = fMask->width(); in apply()
158 int h = fMask->height(); in apply()
160 fMask, SkIRect::MakeWH(w, h), {fX, fY})); in apply()
163 sk_sp<GrTextureProxy> fMask; member in skiagm::AlphaOnlyClip
/external/skqp/src/effects/
DGrAlphaThresholdFragmentProcessor.h38 , fMask(std::move(mask)) in GrAlphaThresholdFragmentProcessor()
43 fMask.proxy()) { in GrAlphaThresholdFragmentProcessor()
44 this->addTextureSampler(&fMask); in GrAlphaThresholdFragmentProcessor()
51 TextureSampler fMask; variable
DGrAlphaThresholdFragmentProcessor.cpp85 if (fMask != that.fMask) return false; in onIsEqual()
93 , fMask(src.fMask) in GrAlphaThresholdFragmentProcessor()
97 this->addTextureSampler(&fMask); in GrAlphaThresholdFragmentProcessor()
DSkBlurMaskFilter.cpp564 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, in filterRRectToNine()
570 this->filterRRectMask(&patch->fMask, smallRR, matrix, &margin, in filterRRectToNine()
581 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine()
585 cache = add_cached_rrect(&patch->fMask, sigma, fBlurStyle, this->getQuality(), smallRR); in filterRRectToNine()
588 patch->fMask.fBounds.offsetTo(0, 0); in filterRRectToNine()
698 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, in filterRectsToNine()
708 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRectsToNine()
712 if (!this->filterRectMask(&patch->fMask, smallR[0], matrix, &margin, in filterRectsToNine()
717 … cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, this->getQuality(), smallR, count); in filterRectsToNine()
719 patch->fMask.fBounds.offsetTo(0, 0); in filterRectsToNine()
/external/skia/src/effects/
DGrAlphaThresholdFragmentProcessor.h38 , fMask(std::move(mask)) in GrAlphaThresholdFragmentProcessor()
43 fMask.proxy()) { in GrAlphaThresholdFragmentProcessor()
44 this->addTextureSampler(&fMask); in GrAlphaThresholdFragmentProcessor()
51 TextureSampler fMask; variable
DGrAlphaThresholdFragmentProcessor.cpp85 if (fMask != that.fMask) return false; in onIsEqual()
93 , fMask(src.fMask) in GrAlphaThresholdFragmentProcessor()
97 this->addTextureSampler(&fMask); in GrAlphaThresholdFragmentProcessor()
DSkBlurMaskFilter.cpp565 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, in filterRRectToNine()
571 this->filterRRectMask(&patch->fMask, smallRR, matrix, &margin, in filterRRectToNine()
582 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine()
586 cache = add_cached_rrect(&patch->fMask, sigma, fBlurStyle, this->getQuality(), smallRR); in filterRRectToNine()
589 patch->fMask.fBounds.offsetTo(0, 0); in filterRRectToNine()
699 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, in filterRectsToNine()
709 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRectsToNine()
713 if (!this->filterRectMask(&patch->fMask, smallR[0], matrix, &margin, in filterRectsToNine()
718 … cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, this->getQuality(), smallR, count); in filterRectsToNine()
720 patch->fMask.fBounds.offsetTo(0, 0); in filterRectsToNine()
/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()

12