Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp558 …bool isStencil = (flags & Device::STENCIL_BUFFER) && Surface::isStencil(source->getInternalFormat(… in stretchRect() local
561 if(!isColor && !isDepth && !isStencil) in stretchRect()
566 int sourceSliceB = isStencil ? source->getStencilSliceB() : source->getInternalSliceB(); in stretchRect()
567 int destSliceB = isStencil ? dest->getStencilSliceB() : dest->getInternalSliceB(); in stretchRect()
568 int sourcePitchB = isStencil ? source->getStencilPitchB() : source->getInternalPitchB(); in stretchRect()
569 int destPitchB = isStencil ? dest->getStencilPitchB() : dest->getInternalPitchB(); in stretchRect()
590 …byte *sourceBuffer = isStencil ? (byte*)source->lockStencil(0, 0, 0, PUBLIC) : (byte*)source->lock… in stretchRect()
591 …byte *destBuffer = isStencil ? (byte*)dest->lockStencil(0, 0, 0, PUBLIC) : (byte*)dest->lockIntern… in stretchRect()
595 isStencil ? source->unlockStencil() : source->unlockInternal(); in stretchRect()
596 isStencil ? dest->unlockStencil() : dest->unlockInternal(); in stretchRect()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkFormat.hpp43 bool isStencil() const;
DVkFormat.cpp148 if(isStencil()) aspects |= VK_IMAGE_ASPECT_STENCIL_BIT; in getAspects()
278 bool Format::isStencil() const in isStencil() function in vk::Format
DlibVulkan.cpp202 bool isStencil = format.isStencil(); in ValidateRenderPassPNextChain() local
203 ASSERT(!(aspectReference.aspectMask & VK_IMAGE_ASPECT_COLOR_BIT) || (!isDepth && !isStencil)); in ValidateRenderPassPNextChain()
205 ASSERT(!(aspectReference.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) || isStencil); in ValidateRenderPassPNextChain()
3578 if(vk::Format(format).isDepth() || vk::Format(format).isStencil()) in vkGetPhysicalDeviceImageFormatProperties2()
DVkDescriptorSetLayout.cpp473 if(imageView->getFormat().isStencil()) in WriteDescriptorSet()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DBlitter.cpp1416 bool isStencil = options.useStencil; in blitReactor() local
1418 …state.sourceFormat = isStencil ? source->getStencilFormat() : source->getFormat(useSourceInternal); in blitReactor()
1419 state.destFormat = isStencil ? dest->getStencilFormat() : dest->getFormat(useDestInternal); in blitReactor()
1447 data.source = isStencil ? source->lockStencil(0, 0, 0, sw::PUBLIC) : in blitReactor()
1449 data.dest = isStencil ? dest->lockStencil(0, 0, 0, sw::PUBLIC) : in blitReactor()
1451 data.sPitchB = isStencil ? source->getStencilPitchB() : source->getPitchB(useSourceInternal); in blitReactor()
1452 data.dPitchB = isStencil ? dest->getStencilPitchB() : dest->getPitchB(useDestInternal); in blitReactor()
1453 data.dSliceB = isStencil ? dest->getStencilSliceB() : dest->getSliceB(useDestInternal); in blitReactor()
1470 if(isStencil) in blitReactor()
DRenderer.hpp284 …eRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool isStencil = false, bool sR…
DSurface.hpp340 static bool isStencil(Format format);
DSurface.cpp1257 stencil.format = isStencil(format) ? FORMAT_S8 : FORMAT_NULL; in Surface()
1314 stencil.format = isStencil(format) ? FORMAT_S8 : FORMAT_NULL; in Surface()
1658 if(target || isDepth(format) || isStencil(format)) in pitchB()
1707 if(target || isDepth(format) || isStencil(format)) in sliceB()
2536 bool Surface::isStencil(Format format) in isStencil() function in sw::Surface
2958 !isStencil(format); in isNormalizedInteger()
3508 return isStencil(external.format); in hasStencil()
DRenderer.cpp732 …eRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool isStencil, bool sRGBconver… in blit() argument
734 blitter->blit(source, sRect, dest, dRect, {filter, isStencil, sRGBconversion}); in blit()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceContext.cpp3336 bool isStencil = attachments[attNdx] == (isFboBound ? GL_STENCIL_ATTACHMENT : GL_STENCIL); in invalidateSubFramebuffer() local
3339 RC_IF_ERROR(!isColor && !isDepth && !isStencil && !isDepthStencil, GL_INVALID_VALUE, RC_RET_VOID); in invalidateSubFramebuffer()
3343 if (isStencil || isDepthStencil) discardBuffers[2] = true; in invalidateSubFramebuffer()
3353 bool isStencil = ndx == 2; in invalidateSubFramebuffer() local
3368 else if (isStencil) in invalidateSubFramebuffer()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp472 const bool isStencil = isStencilFormat(format, mode); in isCoreFilterableFormat() local
477 if (isStencil || isDepth) in isCoreFilterableFormat()