Home
last modified time | relevance | path

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

12

/third_party/flutter/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(sk_sp<GrTextureProxy> mask, int x, int y) : fMask(mask), fX(x), fY(y) {} in AlphaOnlyClip()
182 int w = fMask->width(); in apply()
183 int h = fMask->height(); in apply()
185 fMask, SkIRect::MakeWH(w, h), {fX, fY})); in apply()
188 sk_sp<GrTextureProxy> fMask; member in skiagm::AlphaOnlyClip
/third_party/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
/third_party/flutter/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.cpp147 ~MaskAdditiveBlitter() override { fRealBlitter->blitMask(fMask, fClipRect); } in ~MaskAdditiveBlitter()
190 fRow = fMask.fImage + (y - fMask.fBounds.fTop) * fMask.fRowBytes - fMask.fBounds.fLeft; in getRow()
201 SkMask fMask; member in MaskAdditiveBlitter
219 fMask.fImage = (uint8_t*)fStorage + 1; // There's 1 extra byte at either end of fStorage in MaskAdditiveBlitter()
220 fMask.fBounds = ir; in MaskAdditiveBlitter()
221 fMask.fRowBytes = ir.width(); in MaskAdditiveBlitter()
222 fMask.fFormat = SkMask::kA8_Format; in MaskAdditiveBlitter()
233 memset(fStorage, 0, fMask.fBounds.height() * fMask.fRowBytes + 2); in MaskAdditiveBlitter()
241 SkASSERT(x >= fMask.fBounds.fLeft - 1); in blitAntiH()
246 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()
DSkMaskFilterBase.h174 SkMask fMask; // fBounds must have [0,0] in its top-left variable
/third_party/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.cpp30 SkASSERT((const void*)fMask.fImage == fCache->data()); in ~NinePatch()
33 SkMask::FreeImage(fMask.fImage); in ~NinePatch()
222 patch.fMask.fImage = nullptr; in filterRRect()
226 SkASSERT(nullptr == patch.fMask.fImage); in filterRRect()
229 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, true, clip, blitter); in filterRRect()
246 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
250 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 1 == rectCount, clip, in filterPath()
255 SkASSERT(nullptr == patch.fMask.fImage); in filterPath()
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.cpp389 SkCachedData* cache = find_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
394 this->filterRRectMask(&patch->fMask, smallRR, matrix, &margin, in filterRRectToNine()
405 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRRectToNine()
409 cache = add_cached_rrect(&patch->fMask, sigma, fBlurStyle, smallRR); in filterRRectToNine()
412 patch->fMask.fBounds.offsetTo(0, 0); in filterRRectToNine()
523 SkCachedData* cache = find_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
532 if (!this->filterMask(&patch->fMask, srcM, matrix, &margin)) { in filterRectsToNine()
536 if (!this->filterRectMask(&patch->fMask, smallR[0], matrix, &margin, in filterRectsToNine()
541 cache = add_cached_rects(&patch->fMask, sigma, fBlurStyle, smallR, count); in filterRectsToNine()
543 patch->fMask.fBounds.offsetTo(0, 0); in filterRectsToNine()
/third_party/cef/libcef/browser/native/
Dnative_menu_win.cc122 mi.fMask = MIM_MENUDATA | MIM_STYLE; in GetCefNativeMenuWinFromHMENU()
174 mii.fMask = MIIM_ID; in GetMenuItemIndexFromWPARAM()
642 mii.fMask = MIIM_FTYPE; in IsSeparatorItemAt()
650 mii.fMask = MIIM_FTYPE | MIIM_ID | MIIM_DATA; in AddMenuItemAt()
661 mii.fMask |= MIIM_SUBMENU; in AddMenuItemAt()
681 mii.fMask = MIIM_FTYPE; in AddSeparatorItemAt()
704 mii.fMask = MIIM_STATE; in SetMenuItemState()
743 mii->fMask |= MIIM_STRING; in UpdateMenuItemInfoForString()
770 mi.fMask = MIM_STYLE | MIM_MENUDATA; in ResetNativeMenu()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/flutter/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp44 V4f fMask; member
155 V4f edgeAdjust = metadata.fMask * (halfTanTheta + nextCCW(halfTanTheta)) + in get_optimized_outset()
156 nextCCW(metadata.fMask) * nextCCW(*outset) + in get_optimized_outset()
157 nextCW(metadata.fMask) * (*outset); in get_optimized_outset()
168 auto maskedOutset = -outset * nextCW(metadata.fMask); in outset_vertices()
169 auto maskedOutsetCW = outset * metadata.fMask; in outset_vertices()
611 compute_degenerate_quad(aaFlags, metadata.fMask, edges, true, outer); in compute_nested_quad_vertices()
612 return compute_degenerate_quad(aaFlags, metadata.fMask, edges, false, inner); in compute_nested_quad_vertices()
/third_party/flutter/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()
/third_party/skia/modules/svg/include/
DSkSVGAttribute.h104 SkSVGProperty<SkSVGFuncIRI , false> fMask; member
/third_party/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