Home
last modified time | relevance | path

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

/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.cpp2138 static void upscaleBW2A8(SkMask* dstMask, const SkMask& srcMask) { in upscaleBW2A8() argument
2139 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
2142 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2143 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2145 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
2146 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8()
/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()
DSkAAClip.cpp2138 static void upscaleBW2A8(SkMask* dstMask, const SkMask& srcMask) { in upscaleBW2A8() argument
2139 SkASSERT(SkMask::kBW_Format == srcMask.fFormat); in upscaleBW2A8()
2142 const int width = srcMask.fBounds.width(); in upscaleBW2A8()
2143 const int height = srcMask.fBounds.height(); in upscaleBW2A8()
2145 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
2146 const size_t srcRB = srcMask.fRowBytes; in upscaleBW2A8()
/external/mesa3d/src/mesa/swrast/
Ds_masking.c59 GLuint srcMask; in _swrast_mask_rgba_span() local
60 memcpy(&srcMask, ctx->Color.ColorMask[buf], sizeof(srcMask)); in _swrast_mask_rgba_span()
61 const GLuint dstMask = ~srcMask; in _swrast_mask_rgba_span()
66 src[i] = (src[i] & srcMask) | (dst[i] & dstMask); in _swrast_mask_rgba_span()
/external/mesa3d/src/mesa/main/
Dpack.c175 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
181 if (*s & srcMask) { in _mesa_pack_bitmap()
184 if (srcMask == 1) { in _mesa_pack_bitmap()
185 srcMask = 128; in _mesa_pack_bitmap()
189 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
202 GLubyte srcMask = 128; in _mesa_pack_bitmap() local
208 if (*s & srcMask) { in _mesa_pack_bitmap()
211 if (srcMask == 1) { in _mesa_pack_bitmap()
212 srcMask = 128; in _mesa_pack_bitmap()
216 srcMask = srcMask >> 1; in _mesa_pack_bitmap()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp338 …const VkAccessFlags srcMask = static_cast<VkAccessFlags>(fromRes ? VK_ACCESS_HOST_WRITE… in makeMemoryBarrierInfo() local
344 srcMask, // VkAccessFlags srcAccessMask; in makeMemoryBarrierInfo()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp184 unsigned int srcMask(unsigned int s) const;
267 unsigned int Instruction::srcMask(unsigned int s) const in srcMask() function in tgsi::Instruction
1498 scanInstructionSrc(insn, insn.getSrc(s), insn.srcMask(s)); in scanInstruction()