/external/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 …]
|
/external/swiftshader/src/Vulkan/ |
D | VkFormat.h | 39 bool isStencil() const;
|
D | VkFormat.cpp | 149 if(isStencil()) aspects |= VK_IMAGE_ASPECT_STENCIL_BIT; in getAspects() 261 bool Format::isStencil() const in isStencil() function in vk::Format 1893 if(target || isDepth() || isStencil()) in pitchB() 1984 if(target || isDepth() || isStencil()) in sliceBUnpadded()
|
D | libVulkan.cpp | 198 bool isStencil = format.isStencil(); in ValidateRenderPassPNextChain() local 199 ASSERT(!(aspectReference.aspectMask & VK_IMAGE_ASPECT_COLOR_BIT) || (!isDepth && !isStencil)); in ValidateRenderPassPNextChain() 201 ASSERT(!(aspectReference.aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) || isStencil); in ValidateRenderPassPNextChain() 539 if(vk::Format(format).isDepth() || vk::Format(format).isStencil()) in vkGetPhysicalDeviceImageFormatProperties()
|
D | VkDescriptorSetLayout.cpp | 454 if(imageView->getFormat().isStencil()) in WriteDescriptorSet()
|
/external/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 | 368 static bool isStencil(Format format);
|
D | Surface.cpp | 1298 stencil.format = isStencil(format) ? FORMAT_S8 : FORMAT_NULL; in Surface() 1355 stencil.format = isStencil(format) ? FORMAT_S8 : FORMAT_NULL; in Surface() 1727 if(target || isDepth(format) || isStencil(format)) in pitchB() 1809 if(target || isDepth(format) || isStencil(format)) in sliceB() 2703 bool Surface::isStencil(Format format) in isStencil() function in sw::Surface 3153 !isStencil(format); in isNormalizedInteger() 3703 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()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 360 …bool depthStencil = egl::Image::isDepth(source->getInternalFormat()) || egl::Image::isStencil(sour… in stretchRect()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 3301 bool isStencil = attachments[attNdx] == (isFboBound ? GL_STENCIL_ATTACHMENT : GL_STENCIL); in invalidateSubFramebuffer() local 3304 RC_IF_ERROR(!isColor && !isDepth && !isStencil && !isDepthStencil, GL_INVALID_VALUE, RC_RET_VOID); in invalidateSubFramebuffer() 3308 if (isStencil || isDepthStencil) discardBuffers[2] = true; in invalidateSubFramebuffer() 3318 bool isStencil = ndx == 2; in invalidateSubFramebuffer() local 3333 else if (isStencil) in invalidateSubFramebuffer()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureBorderClampTests.cpp | 472 const bool isStencil = isStencilFormat(format, mode); in isCoreFilterableFormat() local 477 if (isStencil || isDepth) in isCoreFilterableFormat()
|