Home
last modified time | relevance | path

Searched refs:srcMask (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/skia/src/core/
DSkBlitBWMaskTemplate.h25 static void SK_BLITBWMASK_NAME(const SkPixmap& dst, const SkMask& srcMask, in SK_BLITBWMASK_NAME() argument
27 SkASSERT(clip.fRight <= srcMask.fBounds.fRight); in SK_BLITBWMASK_NAME()
31 int maskLeft = srcMask.fBounds.fLeft; in SK_BLITBWMASK_NAME()
32 unsigned mask_rowBytes = srcMask.fRowBytes; in SK_BLITBWMASK_NAME()
40 const uint8_t* bits = srcMask.getAddr1(cx, cy); in SK_BLITBWMASK_NAME()
43 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight) in SK_BLITBWMASK_NAME()
DSkAAClip.cpp2057 static void upscaleBW2A8(SkMask* dstMask, const SkMask& srcMask) { in upscaleBW2A8() argument
2058 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
2061 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2062 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2064 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
2065 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8()
/third_party/skia/src/core/
DSkBlitBWMaskTemplate.h25 static void SK_BLITBWMASK_NAME(const SkPixmap& dstPixmap, const SkMask& srcMask, in SK_BLITBWMASK_NAME() argument
27 SkASSERT(clip.fRight <= srcMask.fBounds.fRight); in SK_BLITBWMASK_NAME()
31 int maskLeft = srcMask.fBounds.fLeft; in SK_BLITBWMASK_NAME()
32 unsigned mask_rowBytes = srcMask.fRowBytes; in SK_BLITBWMASK_NAME()
40 const uint8_t* bits = srcMask.getAddr1(cx, cy); in SK_BLITBWMASK_NAME()
43 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight) in SK_BLITBWMASK_NAME()
DSkScalerContext.cpp598 SkMask srcMask; in getImage() local
604 srcMask = filteredMask; in getImage()
607 srcMask = unfilteredGlyph->mask(); in getImage()
613 srcMask = unfilteredGlyph->mask(); in getImage()
616 srcMask.fImage = static_cast<uint8_t*>(tmpGlyphImageStorage.get()); in getImage()
617 memcpy(srcMask.fImage, unfilteredGlyph->fImage, imageSize); in getImage()
620 SkASSERT_RELEASE(srcMask.fFormat == origGlyph.fMaskFormat); in getImage()
625 if (srcMask.fBounds.fTop < dstMask.fBounds.fTop) { in getImage()
626 int32_t topDiff = dstMask.fBounds.fTop - srcMask.fBounds.fTop; in getImage()
627 srcMask.fImage += srcMask.fRowBytes * topDiff; in getImage()
[all …]
DSkAAClip.cpp1862 static void upscaleBW2A8(SkMask* dstMask, const SkMask& srcMask) { in upscaleBW2A8() argument
1863 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
1866 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
1867 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
1869 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
1870 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8()
/third_party/mesa3d/src/mesa/swrast/
Ds_masking.c65 GLuint srcMask; in _swrast_mask_rgba_span() local
66 memcpy(&srcMask, colormask, sizeof(srcMask)); in _swrast_mask_rgba_span()
67 const GLuint dstMask = ~srcMask; in _swrast_mask_rgba_span()
72 src[i] = (src[i] & srcMask) | (dst[i] & dstMask); in _swrast_mask_rgba_span()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeFactorizer.java145 int srcMask = srcEdge.getDigitMask(); in visit() local
148 if ((strategy == REQUIRE_EQUAL_EDGES) ? (dstMask == srcMask) : (dstMask & ~srcMask) == 0) { in visit()
155 partialOverlap |= (dstMask & srcMask) != 0; in visit()
165 int extraMask = srcMask & ~allDstMask; in visit()
/third_party/mesa3d/src/mesa/main/
Dpack.c177 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
183 if (*s & srcMask) { in _mesa_pack_bitmap()
186 if (srcMask == 1) { in _mesa_pack_bitmap()
187 srcMask = 128; in _mesa_pack_bitmap()
191 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
204 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
210 if (*s & srcMask) { in _mesa_pack_bitmap()
213 if (srcMask == 1) { in _mesa_pack_bitmap()
214 srcMask = 128; in _mesa_pack_bitmap()
218 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
[all …]
/third_party/mesa3d/docs/relnotes/
D17.1.7.rst97 - nv50/ir: fix srcMask computation for TG4 and TXF
98 - nv50/ir: fix TXQ srcMask
D9.0.2.rst145 - nv50/ir/tgsi: fix srcMask for TXP with SHADOW1D
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp880 const auto srcMask = 0u; in recordFrame() local
884 …const auto barrier = makeImageMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLa… in recordFrame()
932 const auto srcMask = 0u; in recordDeviceGroupFrame() local
936 …const auto barrier = makeImageMemoryBarrier(srcMask, dstMask, m_attachmentLayouts[imageNdx], newLa… in recordDeviceGroupFrame()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp368 …const VkAccessFlags srcMask = static_cast<VkAccessFlags>(fromRes ? VK_ACCESS_HOST_WRITE… in makeMemoryBarrierInfo() local
374 srcMask, // VkAccessFlags srcAccessMask; in makeMemoryBarrierInfo()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp190 unsigned int srcMask(unsigned int s) const;
281 unsigned int Instruction::srcMask(unsigned int s) const in srcMask() function in tgsi::Instruction
1619 scanInstructionSrc(insn, insn.getSrc(s), insn.srcMask(s)); in scanInstruction()