/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 558 …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/ |
D | VkFormat.hpp | 43 bool isStencil() const;
|
D | VkFormat.cpp | 148 if(isStencil()) aspects |= VK_IMAGE_ASPECT_STENCIL_BIT; in getAspects() 278 bool Format::isStencil() const in isStencil() function in vk::Format
|
D | libVulkan.cpp | 202 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()
|
D | VkDescriptorSetLayout.cpp | 473 if(imageView->getFormat().isStencil()) in WriteDescriptorSet()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Blitter.cpp | 1416 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()
|
D | Renderer.hpp | 284 …eRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool isStencil = false, bool sR…
|
D | Surface.hpp | 340 static bool isStencil(Format format);
|
D | Surface.cpp | 1257 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()
|
D | Renderer.cpp | 732 …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/ |
D | sglrReferenceContext.cpp | 3336 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/ |
D | es31fTextureBorderClampTests.cpp | 472 const bool isStencil = isStencilFormat(format, mode); in isCoreFilterableFormat() local 477 if (isStencil || isDepth) in isCoreFilterableFormat()
|