Home
last modified time | relevance | path

Searched refs:depthBuffer (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp39 depthBuffer = nullptr; in Device()
135 if(depthBuffer) in ~Device()
137 depthBuffer->release(); in ~Device()
138 depthBuffer = nullptr; in ~Device()
187 if(!depthBuffer) in clearDepth()
193 sw::Rect clearRect = depthBuffer->getRect(); in clearDepth()
200 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepth()
264 void Device::setDepthBuffer(egl::Image *depthBuffer) in setDepthBuffer() argument
266 if(this->depthBuffer == depthBuffer) in setDepthBuffer()
271 if(depthBuffer) in setDepthBuffer()
[all …]
DDevice.hpp56 void setDepthBuffer(egl::Image *depthBuffer);
77 egl::Image *depthBuffer; member in es1::Device
DContext.cpp1743 egl::Image *depthBuffer = framebuffer->getDepthBuffer(); in applyRenderTarget() local
1744 device->setDepthBuffer(depthBuffer); in applyRenderTarget()
1745 if(depthBuffer) depthBuffer->release(); in applyRenderTarget()
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp43 depthBuffer = nullptr; in Device()
161 if(depthBuffer) in ~Device()
163 depthBuffer->release(); in ~Device()
164 depthBuffer = nullptr; in ~Device()
219 if(!depthBuffer) in clearDepth()
225 sw::Rect clearRect = depthBuffer->getRect(); in clearDepth()
232 depthBuffer->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepth()
316 void Device::setDepthBuffer(egl::Image *depthBuffer, unsigned int layer) in setDepthBuffer() argument
318 if(this->depthBuffer == depthBuffer) in setDepthBuffer()
323 if(depthBuffer) in setDepthBuffer()
[all …]
DDevice.hpp67 void setDepthBuffer(egl::Image *depthBuffer, unsigned int layer);
109 egl::Image *depthBuffer; member in es2::Device
DContext.cpp2778 egl::Image *depthBuffer = framebuffer->getDepthBuffer(); in applyRenderTarget() local
2780 device->setDepthBuffer(depthBuffer, dLayer); in applyRenderTarget()
2781 if(depthBuffer) depthBuffer->release(); in applyRenderTarget()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp165 …const Fragment* inputFragments, TestFunc depthFunc, const tcu::ConstPixelBufferAccess& depthBuffer) in executeDepthCompare() argument
174 …float depthBufferValue = depthBuffer.getPixDepth(fragSampleNdx, frag.pixelCoord.x(), frag.pixel… in executeDepthCompare()
192 …deUint32 depthBufferValue = depthBuffer.getPixelUint(fragSampleNdx, frag.pixelCoord.x(), frag.pi… in executeDepthCompare()
199 DE_ASSERT(sizeof(buffer) >= (size_t)depthBuffer.getFormat().getPixelSize()); \ in executeDepthCompare()
201 tcu::PixelBufferAccess access(depthBuffer.getFormat(), 1, 1, 1, &buffer); \ in executeDepthCompare()
212 …if (depthBuffer.getFormat().type == tcu::TextureFormat::FLOAT || depthBuffer.getFormat().type == t… in executeDepthCompare()
251 …t numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& depthBuffer) in executeDepthWrite() argument
261 depthBuffer.setPixDepth(clampedDepth, fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoord.y()); in executeDepthWrite()
752 const tcu::PixelBufferAccess& depthBuffer = msDepthBuffer.raw(); in render() local
755 …bool hasDepth = depthBuffer.getWidth() > 0 && depthBuffer.getHeight() > 0 && depthBuffer.… in render()
[all …]
DrrFragmentOperations.hpp137 …onst Fragment* inputFragments, TestFunc depthFunc, const tcu::ConstPixelBufferAccess& depthBuffer);
138 … numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& depthBuffer);
/external/deqp/modules/glshared/
DglsFragmentOpUtil.cpp214 const rr::MultisamplePixelBufferAccess& depthBuffer, in flushFragmentBuffer() argument
219 …m_fragmentProcessor.render(colorBuffer, depthBuffer, stencilBuffer, &m_fragmentBuffer[0], m_fragme… in flushFragmentBuffer()
224 const tcu::PixelBufferAccess& depthBuffer, in render() argument
263 rr::MultisamplePixelBufferAccess::fromMultisampleAccess(depthBuffer), in render()
273 rr::MultisamplePixelBufferAccess::fromMultisampleAccess(depthBuffer), in render()
DglsFragmentOpUtil.hpp119 const tcu::PixelBufferAccess& depthBuffer,
131 const rr::MultisamplePixelBufferAccess& depthBuffer,
/external/swiftshader/src/Renderer/
DRenderer.cpp617 draw->depthBuffer = context->depthBuffer; in draw()
620 if(draw->depthBuffer) in draw()
623 …data->depthBuffer = (float*)context->depthBuffer->lockInternal(0, 0, layer, LOCK_READWRITE, MANAGE… in draw()
624 data->depthBuffer += q * ms * context->depthBuffer->getSliceB(true); in draw()
625 data->depthPitchB = context->depthBuffer->getInternalPitchB(); in draw()
626 data->depthSliceB = context->depthBuffer->getInternalSliceB(); in draw()
1006 if(draw.depthBuffer) in finishRendering()
1008 draw.depthBuffer->unlockInternal(); in finishRendering()
2171 if(context->depthBuffer && context->texture[sampler] == context->depthBuffer->getResource()) in isReadWriteTexture()
DRenderer.hpp187 float *depthBuffer; member
228 Surface *depthBuffer; member
DPixelProcessor.cpp168 void PixelProcessor::setDepthBuffer(Surface *depthBuffer, unsigned int layer) in setDepthBuffer() argument
170 context->depthBuffer = depthBuffer; in setDepthBuffer()
996 state.quadLayoutDepthBuffer = Surface::hasQuadLayout(context->depthBuffer->getInternalFormat()); in update()
DContext.cpp227 depthBuffer = nullptr; in init()
531 return depthBuffer && depthBufferEnable; in depthBufferActive()
DContext.hpp469 Surface *depthBuffer; member in sw::Context
DPixelProcessor.hpp201 void setDepthBuffer(Surface *depthBuffer, unsigned int layer = 0);
DQuadRasterizer.cpp109 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,depthBuffer)) + yMin * *Pointer<Int>(data… in rasterize()
/external/deqp/modules/egl/
DteglRenderTests.cpp419 tcu::TextureLevel depthBuffer; in renderReference() local
442 depthBuffer.setStorage(getDepthFormat(depthBits), numSamples, width, height); in renderReference()
443 …rr::clearMultisampleDepthBuffer(depthBuffer, CLEAR_DEPTH, rr::WindowRectangle(0, 0, width, height)… in renderReference()
453 rr::MultisamplePixelBufferAccess::fromMultisampleAccess(depthBuffer.getAccess()), in renderReference()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbackend.h549 … uint8_t*& depthBuffer, uint8_t*& stencilBuffer, const uint8_t ClipDistanceMask) :
551 … clipDistanceMask(ClipDistanceMask), pDepthBuffer(depthBuffer), pStencilBuffer(stencilBuffer) {};