Home
last modified time | relevance | path

Searched refs:stencilBuffer (Results 1 – 25 of 27) sorted by relevance

12

/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp40 stencilBuffer = nullptr; in Device()
141 if(stencilBuffer) in ~Device()
143 stencilBuffer->release(); in ~Device()
144 stencilBuffer = nullptr; in ~Device()
205 if(!stencilBuffer) in clearStencil()
210 sw::Rect clearRect = stencilBuffer->getRect(); in clearStencil()
217stencilBuffer->clearStencil(stencil, mask, clearRect.x0, clearRect.y0, clearRect.width(), clearRec… in clearStencil()
286 void Device::setStencilBuffer(egl::Image *stencilBuffer) in setStencilBuffer() argument
288 if(this->stencilBuffer == stencilBuffer) in setStencilBuffer()
293 if(stencilBuffer) in setStencilBuffer()
[all …]
DDevice.hpp57 void setStencilBuffer(egl::Image *stencilBuffer);
78 egl::Image *stencilBuffer; member in es1::Device
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp44 stencilBuffer = nullptr; in Device()
167 if(stencilBuffer) in ~Device()
169 stencilBuffer->release(); in ~Device()
170 stencilBuffer = nullptr; in ~Device()
237 if(!stencilBuffer) in clearStencil()
242 sw::Rect clearRect = stencilBuffer->getRect(); in clearStencil()
249stencilBuffer->clearStencil(stencil, mask, clearRect.x0, clearRect.y0, clearRect.width(), clearRec… in clearStencil()
338 void Device::setStencilBuffer(egl::Image *stencilBuffer, unsigned int layer) in setStencilBuffer() argument
340 if(this->stencilBuffer == stencilBuffer) in setStencilBuffer()
345 if(stencilBuffer) in setStencilBuffer()
[all …]
DDevice.hpp68 void setStencilBuffer(egl::Image *stencilBuffer, unsigned int layer);
110 egl::Image *stencilBuffer; member in es2::Device
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp92 …t StencilState& stencilState, int numStencilBits, const tcu::ConstPixelBufferAccess& stencilBuffer) in executeStencilCompare() argument
101 …int stencilBufferValue = stencilBuffer.getPixStencil(fragSampleNdx, frag.pixelCoord.x(), frag.… in executeStencilCompare()
130 … const StencilState& stencilState, int numStencilBits, const tcu::PixelBufferAccess& stencilBuffer) in executeStencilSFail() argument
139 …int stencilBufferValue = stencilBuffer.getPixStencil(fragSampleNdx, frag.pixelCoord.x(), frag.… in executeStencilSFail()
141stencilBuffer.setPixStencil(maskedBitReplace(stencilBufferValue, (SFAIL_EXPRESSION), stencilState.… in executeStencilSFail()
320 … const StencilState& stencilState, int numStencilBits, const tcu::PixelBufferAccess& stencilBuffer) in executeStencilDpFailAndPass() argument
329 …int stencilBufferValue = stencilBuffer.getPixStencil(fragSampleNdx, frag.pixelCoord.x(), frag.… in executeStencilDpFailAndPass()
331stencilBuffer.setPixStencil(maskedBitReplace(stencilBufferValue, (EXPRESSION), stencilState.writeM… in executeStencilDpFailAndPass()
805 const tcu::PixelBufferAccess& stencilBuffer = msStencilBuffer.raw(); in render() local
808 …bool hasStencil = stencilBuffer.getWidth() > 0 && stencilBuffer.getHeight() > 0 && stencil… in render()
[all …]
DrrFragmentOperations.hpp135 … StencilState& stencilState, int numStencilBits, const tcu::ConstPixelBufferAccess& stencilBuffer);
136 …const StencilState& stencilState, int numStencilBits, const tcu::PixelBufferAccess& stencilBuffer);
140 …const StencilState& stencilState, int numStencilBits, const tcu::PixelBufferAccess& stencilBuffer);
/external/deqp/modules/glshared/
DglsFragmentOpUtil.cpp215 const rr::MultisamplePixelBufferAccess& stencilBuffer, in flushFragmentBuffer() argument
219 …m_fragmentProcessor.render(colorBuffer, depthBuffer, stencilBuffer, &m_fragmentBuffer[0], m_fragme… in flushFragmentBuffer()
225 const tcu::PixelBufferAccess& stencilBuffer, in render() argument
264 rr::MultisamplePixelBufferAccess::fromMultisampleAccess(stencilBuffer), faceType, state); in render()
274 rr::MultisamplePixelBufferAccess::fromMultisampleAccess(stencilBuffer), faceType, state); in render()
DglsFragmentOpUtil.hpp120 const tcu::PixelBufferAccess& stencilBuffer,
132 const rr::MultisamplePixelBufferAccess& stencilBuffer,
/external/swiftshader/src/Renderer/
DRenderer.cpp656 draw->stencilBuffer = context->stencilBuffer; in draw()
668 if(draw->stencilBuffer) in draw()
671 requiresSync |= context->stencilBuffer->requiresSync(); in draw()
672 … data->stencilBuffer = (unsigned char*)context->stencilBuffer->lockStencil(0, 0, layer, MANAGED); in draw()
673 data->stencilBuffer += q * ms * context->stencilBuffer->getSliceB(true); in draw()
674 data->stencilPitchB = context->stencilBuffer->getStencilPitchB(); in draw()
675 data->stencilSliceB = context->stencilBuffer->getStencilSliceB(); in draw()
1057 if(draw.stencilBuffer) in finishRendering()
1059 draw.stencilBuffer->unlockStencil(); in finishRendering()
DRenderer.hpp199 unsigned char *stencilBuffer; member
491 Surface *stencilBuffer; member
DPixelProcessor.cpp174 void PixelProcessor::setStencilBuffer(Surface *stencilBuffer, unsigned int layer) in setStencilBuffer() argument
176 context->stencilBuffer = stencilBuffer; in setStencilBuffer()
DContext.cpp228 stencilBuffer = nullptr; in init()
537 return stencilBuffer && stencilEnable; in stencilActive()
DContext.hpp470 Surface *stencilBuffer; member in sw::Context
DPixelProcessor.hpp203 void setStencilBuffer(Surface *stencilBuffer, unsigned int layer = 0);
DQuadRasterizer.cpp114 …sBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,stencilBuffer)) + yMin * *Pointer<Int>(da… in rasterize()
/external/swiftshader/src/Device/
DContext.cpp174 stencilBuffer = nullptr; in init()
358 return stencilBuffer && stencilEnable; in stencilActive()
DRenderer.cpp540 draw->stencilBuffer = context->stencilBuffer; in draw()
550 if(draw->stencilBuffer) in draw()
553 data->stencilBuffer = (unsigned char*)context->stencilBuffer->lockStencil(0, 0, layer, MANAGED); in draw()
554 data->stencilPitchB = context->stencilBuffer->getStencilPitchB(); in draw()
555 data->stencilSliceB = context->stencilBuffer->getStencilSliceB(); in draw()
930 if(draw.stencilBuffer) in finishRendering()
932 draw.stencilBuffer->unlockStencil(); in finishRendering()
DRenderer.hpp180 unsigned char *stencilBuffer; member
458 Surface *stencilBuffer; member
DPixelProcessor.cpp140 void PixelProcessor::setStencilBuffer(Surface *stencilBuffer, unsigned int layer) in setStencilBuffer() argument
142 context->stencilBuffer = stencilBuffer; in setStencilBuffer()
DContext.hpp207 Surface *stencilBuffer; member in sw::Context
DPixelProcessor.hpp181 void setStencilBuffer(Surface *stencilBuffer, unsigned int layer = 0);
DQuadRasterizer.cpp114 …sBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,stencilBuffer)) + yMin * *Pointer<Int>(da… in rasterize()
/external/deqp/modules/egl/
DteglRenderTests.cpp426 tcu::TextureLevel stencilBuffer; in renderReference() local
454 stencilBuffer.setStorage(getStencilFormat(stencilBits), numSamples, width, height); in renderReference()
455 …rr::clearMultisampleStencilBuffer(stencilBuffer, CLEAR_STENCIL, rr::WindowRectangle(0, 0, width, h… in renderReference()
460 rr::MultisamplePixelBufferAccess::fromMultisampleAccess(stencilBuffer.getAccess())); in renderReference()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp1185 …const Unique<VkBuffer> stencilBuffer (makeBuffer (vk, device, makeBufferCreateInfo(stencilB… in testLayeredReadBack() local
1186 …ocation> stencilBufferAlloc (bindBuffer (vk, device, allocator, *stencilBuffer, MemoryRequire… in testLayeredReadBack()
1293 …vk.cmdCopyBufferToImage(*cmdBuffer, *stencilBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL… in testLayeredReadBack()
1364 …makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *stencilBuffer, 0ul… in testLayeredReadBack()
1369 …ToBuffer(*cmdBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *stencilBuffer, 1u, &stencilC… in testLayeredReadBack()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_impl.h563 … uint8_t*& depthBuffer, uint8_t*& stencilBuffer, const uint8_t ClipDistanceMask) :
566 … clipDistanceMask(ClipDistanceMask), pDepthBuffer(depthBuffer), pStencilBuffer(stencilBuffer){};

12