Home
last modified time | relevance | path

Searched refs:stencilBuffer (Results 1 – 25 of 31) 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/angle/src/tests/gl_tests/
DWebGLFramebufferTest.cpp385 GLRenderbuffer stencilBuffer; in TEST_P() local
386 glBindRenderbuffer(GL_RENDERBUFFER, stencilBuffer); in TEST_P()
415 testAttachment(width, height, &colorBuffer, GL_STENCIL_ATTACHMENT, &stencilBuffer, in TEST_P()
419 testAttachment(width, height, &colorBuffer, GL_DEPTH_ATTACHMENT, &stencilBuffer, in TEST_P()
423 testAttachment(width, height, &colorBuffer, GL_DEPTH_STENCIL_ATTACHMENT, &stencilBuffer, in TEST_P()
444 stencilBuffer, allowedStatusForConflictedAttachment); in TEST_P()
447 testAttachments(colorBuffer, GL_STENCIL_ATTACHMENT, stencilBuffer, GL_DEPTH_ATTACHMENT, in TEST_P()
466 GL_STENCIL_ATTACHMENT, stencilBuffer, in TEST_P()
/external/swiftshader/src/Device/
DRenderer.hpp103 unsigned char *stencilBuffer; member
172 vk::ImageView *stencilBuffer; member
DRenderer.cpp394 draw->stencilBuffer = attachments.stencilBuffer; in draw()
403 if(draw->stencilBuffer) in draw()
405 …data->stencilBuffer = (unsigned char *)attachments.stencilBuffer->getOffsetPointer({ 0, 0, 0 }, VK… in draw()
406 data->stencilPitchB = attachments.stencilBuffer->rowPitchBytes(VK_IMAGE_ASPECT_STENCIL_BIT, 0); in draw()
407 data->stencilSliceB = attachments.stencilBuffer->slicePitchBytes(VK_IMAGE_ASPECT_STENCIL_BIT, 0); in draw()
DContext.hpp56 ImageView *stencilBuffer = nullptr; member
DQuadRasterizer.cpp93 …sBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, stencilBuffer)) + yMin * *Pointer<Int>(d… in rasterize()
/external/swiftshader/src/Renderer/
DRenderer.cpp657 draw->stencilBuffer = context->stencilBuffer; in draw()
669 if(draw->stencilBuffer) in draw()
672 requiresSync |= context->stencilBuffer->requiresSync(); in draw()
673 … data->stencilBuffer = (unsigned char*)context->stencilBuffer->lockStencil(0, 0, layer, MANAGED); in draw()
674 data->stencilBuffer += q * ms * context->stencilBuffer->getSliceB(true); in draw()
675 data->stencilPitchB = context->stencilBuffer->getStencilPitchB(); in draw()
676 data->stencilSliceB = context->stencilBuffer->getStencilSliceB(); in draw()
1058 if(draw.stencilBuffer) in finishRendering()
1060 draw.stencilBuffer->unlockStencil(); in finishRendering()
DRenderer.hpp198 unsigned char *stencilBuffer; member
490 Surface *stencilBuffer; member
DContext.hpp470 Surface *stencilBuffer; member in sw::Context
DContext.cpp228 stencilBuffer = nullptr; in init()
537 return stencilBuffer && stencilEnable; in stencilActive()
DPixelProcessor.cpp183 void PixelProcessor::setStencilBuffer(Surface *stencilBuffer, unsigned int layer) in setStencilBuffer() argument
185 context->stencilBuffer = stencilBuffer; in setStencilBuffer()
DPixelProcessor.hpp206 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.cpp1336 …const Unique<VkBuffer> stencilBuffer (makeBuffer (vk, device, stencilBufferSize, VK_BUFFER_… in testLayeredReadBack() local
1337 …ocation> stencilBufferAlloc (bindBuffer (vk, device, allocator, *stencilBuffer, MemoryRequire… in testLayeredReadBack()
1442 …vk.cmdCopyBufferToImage(*cmdBuffer, *stencilBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL… in testLayeredReadBack()
1533 …makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *stencilBuffer, 0ul… in testLayeredReadBack()
1538 …ToBuffer(*cmdBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *stencilBuffer, 1u, &stencilC… in testLayeredReadBack()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp286 vk::VkBuffer stencilBuffer,
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend_impl.h729 uint8_t*& stencilBuffer,
734 pDepthBuffer(depthBuffer), pStencilBuffer(stencilBuffer){};
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/
DvktImagelessFramebufferTests.cpp1443 …const Unique<VkBuffer> stencilBuffer (makeBuffer (vk, device, stencilBufferSize, VK_BUFFER_U… in iterate() local
1444 …location> stencilBufferAlloc (bindBuffer (vk, device, allocator, *stencilBuffer, MemoryRequire… in iterate()
1510 …makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *stencilBuffer, 0ul… in iterate()
1515 …ToBuffer(*cmdBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *stencilBuffer, 1u, &stencilC… in iterate()

12