Home
last modified time | relevance | path

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

/external/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()
DSkScalerContext.cpp602 SkMask srcMask; in getImage() local
608 srcMask = filteredMask; in getImage()
611 srcMask = unfilteredGlyph->mask(); in getImage()
617 srcMask = unfilteredGlyph->mask(); in getImage()
620 srcMask.fImage = static_cast<uint8_t*>(tmpGlyphImageStorage.get()); in getImage()
621 memcpy(srcMask.fImage, unfilteredGlyph->fImage, imageSize); in getImage()
624 SkASSERT_RELEASE(srcMask.fFormat == origGlyph.fMaskFormat); in getImage()
629 if (srcMask.fBounds.fTop < dstMask.fBounds.fTop) { in getImage()
630 int32_t topDiff = dstMask.fBounds.fTop - srcMask.fBounds.fTop; in getImage()
631 srcMask.fImage += srcMask.fRowBytes * topDiff; in getImage()
[all …]
DSkAAClip.cpp2060 static void upscaleBW2A8(SkMask* dstMask, const SkMask& srcMask) { in upscaleBW2A8() argument
2061 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
2064 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2065 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2067 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
2068 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8()
/external/skqp/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()
/external/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()
/external/mesa3d/src/mesa/main/
Dpack.c176 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
182 if (*s & srcMask) { in _mesa_pack_bitmap()
185 if (srcMask == 1) { in _mesa_pack_bitmap()
186 srcMask = 128; in _mesa_pack_bitmap()
190 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
203 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
209 if (*s & srcMask) { in _mesa_pack_bitmap()
212 if (srcMask == 1) { in _mesa_pack_bitmap()
213 srcMask = 128; in _mesa_pack_bitmap()
217 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
[all …]
/external/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
/external/deqp/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()
/external/deqp/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()
/external/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
1598 scanInstructionSrc(insn, insn.getSrc(s), insn.srcMask(s)); in scanInstruction()