Home
last modified time | relevance | path

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

/external/swiftshader/src/Vulkan/
DVkFramebuffer.cpp50 bool isStencil = sw::Surface::isStencil(attachment.format); in clear() local
52 if(isDepth || isStencil) in clear()
55 bool clearStencil = (isStencil && (attachment.stencilLoadOp == VK_ATTACHMENT_LOAD_OP_CLEAR)); in clear()
DVkImage.cpp400 if(sw::Surface::isDepth(format) && sw::Surface::isStencil(format)) in getMipLevelSize()
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp543 …bool isStencil = (flags & Device::STENCIL_BUFFER) && Surface::isStencil(source->getInternalFormat(… in stretchRect() local
546 if(!isColor && !isDepth && !isStencil) in stretchRect()
551 int sourceSliceB = isStencil ? source->getStencilSliceB() : source->getInternalSliceB(); in stretchRect()
552 int destSliceB = isStencil ? dest->getStencilSliceB() : dest->getInternalSliceB(); in stretchRect()
553 int sourcePitchB = isStencil ? source->getStencilPitchB() : source->getInternalPitchB(); in stretchRect()
554 int destPitchB = isStencil ? dest->getStencilPitchB() : dest->getInternalPitchB(); in stretchRect()
575 …byte *sourceBuffer = isStencil ? (byte*)source->lockStencil(0, 0, 0, PUBLIC) : (byte*)source->lock… in stretchRect()
576 …byte *destBuffer = isStencil ? (byte*)dest->lockStencil(0, 0, 0, PUBLIC) : (byte*)dest->lockIntern… in stretchRect()
580 isStencil ? source->unlockStencil() : source->unlockInternal(); in stretchRect()
581 isStencil ? dest->unlockStencil() : dest->unlockInternal(); in stretchRect()
[all …]
/external/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.hpp285 …eRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool isStencil = false, bool sR…
DSurface.hpp368 static bool isStencil(Format format);
DSurface.cpp1298 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()
2699 bool Surface::isStencil(Format format) in isStencil() function in sw::Surface
3149 !isStencil(format); in isNormalizedInteger()
3699 return isStencil(external.format); in hasStencil()
DRenderer.cpp731 …eRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool isStencil, bool sRGBconver… in blit() argument
733 blitter->blit(source, sRect, dest, dRect, {filter, isStencil, sRGBconversion}); in blit()
/external/swiftshader/src/Device/
DBlitter.cpp1656 bool isStencil = options.useStencil; in blitReactor() local
1658 …state.sourceFormat = isStencil ? source->getStencilFormat() : source->getFormat(useSourceInternal); in blitReactor()
1659 state.destFormat = isStencil ? dest->getStencilFormat() : dest->getFormat(useDestInternal); in blitReactor()
1687 data.source = isStencil ? source->lockStencil(0, 0, 0, sw::PUBLIC) : in blitReactor()
1689 data.dest = isStencil ? dest->lockStencil(0, 0, 0, sw::PUBLIC) : in blitReactor()
1691 data.sPitchB = isStencil ? source->getStencilPitchB() : source->getPitchB(useSourceInternal); in blitReactor()
1692 data.dPitchB = isStencil ? dest->getStencilPitchB() : dest->getPitchB(useDestInternal); in blitReactor()
1693 data.dSliceB = isStencil ? dest->getStencilSliceB() : dest->getSliceB(useDestInternal); in blitReactor()
1710 if(isStencil) in blitReactor()
DRenderer.hpp256 …eRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool isStencil = false, bool sR…
DSurface.hpp201 static bool isStencil(VkFormat format);
DSurface.cpp817 stencil.format = isStencil(format) ? VK_FORMAT_S8_UINT : VK_FORMAT_UNDEFINED; in Surface()
873 stencil.format = isStencil(format) ? VK_FORMAT_S8_UINT : VK_FORMAT_UNDEFINED; in Surface()
1293 if(target || isDepth(format) || isStencil(format)) in pitchB()
1364 if(target || isDepth(format) || isStencil(format)) in sliceB()
1962 bool Surface::isStencil(VkFormat format) in isStencil() function in sw::Surface
2480 !isStencil(format); in isNormalizedInteger()
3100 return isStencil(external.format); in hasStencil()
DRenderer.cpp604 …eRectF &sRect, Surface *dest, const SliceRect &dRect, bool filter, bool isStencil, bool sRGBconver… in blit() argument
606 blitter->blit(source, sRect, dest, dRect, {filter, isStencil, sRGBconversion}); in blit()
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp360 …bool depthStencil = egl::Image::isDepth(source->getInternalFormat()) || egl::Image::isStencil(sour… in stretchRect()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3299 bool isStencil = attachments[attNdx] == (isFboBound ? GL_STENCIL_ATTACHMENT : GL_STENCIL); in invalidateSubFramebuffer() local
3302 RC_IF_ERROR(!isColor && !isDepth && !isStencil && !isDepthStencil, GL_INVALID_VALUE, RC_RET_VOID); in invalidateSubFramebuffer()
3306 if (isStencil || isDepthStencil) discardBuffers[2] = true; in invalidateSubFramebuffer()
3316 bool isStencil = ndx == 2; in invalidateSubFramebuffer() local
3331 else if (isStencil) in invalidateSubFramebuffer()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp472 const bool isStencil = isStencilFormat(format, mode); in isCoreFilterableFormat() local
477 if (isStencil || isDepth) in isCoreFilterableFormat()