Home
last modified time | relevance | path

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

12

/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
/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
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp166 …nst float minDepthBound, const float maxDepthBound, const tcu::ConstPixelBufferAccess& depthBuffer) in executeDepthBoundsTest() argument
168 …if (depthBuffer.getFormat().type == tcu::TextureFormat::FLOAT || depthBuffer.getFormat().type == t… in executeDepthBoundsTest()
176 …const float depthBufferValue = depthBuffer.getPixDepth(fragSampleNdx, frag.pixelCoord.x(), frag.… in executeDepthBoundsTest()
190 DE_ASSERT(sizeof(buffer) >= (size_t)depthBuffer.getFormat().getPixelSize()); in executeDepthBoundsTest()
192 tcu::PixelBufferAccess access(depthBuffer.getFormat(), 1, 1, 1, &buffer); in executeDepthBoundsTest()
199 tcu::PixelBufferAccess access(depthBuffer.getFormat(), 1, 1, 1, &buffer); in executeDepthBoundsTest()
210 …const deUint32 depthBufferValue = depthBuffer.getPixelUint(fragSampleNdx, frag.pixelCoord.x(), fr… in executeDepthBoundsTest()
219 …const Fragment* inputFragments, TestFunc depthFunc, const tcu::ConstPixelBufferAccess& depthBuffer) in executeDepthCompare() argument
228 …float depthBufferValue = depthBuffer.getPixDepth(fragSampleNdx, frag.pixelCoord.x(), frag.pixel… in executeDepthCompare()
246 …deUint32 depthBufferValue = depthBuffer.getPixelUint(fragSampleNdx, frag.pixelCoord.x(), frag.pi… in executeDepthCompare()
[all …]
DrrFragmentOperations.hpp137 …st float minDepthBound, const float maxDepthBound, const tcu::ConstPixelBufferAccess& depthBuffer);
138 …onst Fragment* inputFragments, TestFunc depthFunc, const tcu::ConstPixelBufferAccess& depthBuffer);
139 … 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.cpp655 draw->depthBuffer = context->depthBuffer; in draw()
658 if(draw->depthBuffer) in draw()
661 requiresSync |= context->depthBuffer->requiresSync(); in draw()
662 …data->depthBuffer = (float*)context->depthBuffer->lockInternal(0, 0, layer, LOCK_READWRITE, MANAGE… in draw()
663 data->depthBuffer += q * ms * context->depthBuffer->getSliceB(true); in draw()
664 data->depthPitchB = context->depthBuffer->getInternalPitchB(); in draw()
665 data->depthSliceB = context->depthBuffer->getInternalSliceB(); in draw()
1052 if(draw.depthBuffer) in finishRendering()
1054 draw.depthBuffer->unlockInternal(); in finishRendering()
2217 if(context->depthBuffer && context->texture[sampler] == context->depthBuffer->getResource()) in isReadWriteTexture()
DRenderer.hpp196 float *depthBuffer; member
490 Surface *depthBuffer; member
DPixelProcessor.cpp168 void PixelProcessor::setDepthBuffer(Surface *depthBuffer, unsigned int layer) in setDepthBuffer() argument
170 context->depthBuffer = depthBuffer; in setDepthBuffer()
1006 state.quadLayoutDepthBuffer = Surface::hasQuadLayout(context->depthBuffer->getInternalFormat()); in update()
DContext.cpp227 depthBuffer = nullptr; in init()
532 return depthBuffer && depthBufferEnable; in depthBufferActive()
DContext.hpp468 Surface *depthBuffer; member in sw::Context
DPixelProcessor.hpp202 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/swiftshader/src/Device/
DRenderer.cpp539 draw->depthBuffer = context->depthBuffer; in draw()
542 if(draw->depthBuffer) in draw()
545 …data->depthBuffer = (float*)context->depthBuffer->lockInternal(0, 0, layer, LOCK_READWRITE, MANAGE… in draw()
546 data->depthPitchB = context->depthBuffer->getInternalPitchB(); in draw()
547 data->depthSliceB = context->depthBuffer->getInternalSliceB(); in draw()
925 if(draw.depthBuffer) in finishRendering()
927 draw.depthBuffer->unlockInternal(); in finishRendering()
1837 if(context->depthBuffer && context->texture[sampler] == context->depthBuffer->getResource()) in isReadWriteTexture()
DPixelProcessor.cpp134 void PixelProcessor::setDepthBuffer(Surface *depthBuffer, unsigned int layer) in setDepthBuffer() argument
136 context->depthBuffer = depthBuffer; in setDepthBuffer()
674 state.quadLayoutDepthBuffer = Surface::hasQuadLayout(context->depthBuffer->getInternalFormat()); in update()
DContext.cpp173 depthBuffer = nullptr; in init()
353 return depthBuffer && depthBufferEnable; in depthBufferActive()
DRenderer.hpp177 float *depthBuffer; member
457 Surface *depthBuffer; member
DContext.hpp205 Surface *depthBuffer; member in sw::Context
DPixelProcessor.hpp180 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.cpp425 tcu::TextureLevel depthBuffer; in renderReference() local
448 depthBuffer.setStorage(getDepthFormat(depthBits), numSamples, width, height); in renderReference()
449 …rr::clearMultisampleDepthBuffer(depthBuffer, CLEAR_DEPTH, rr::WindowRectangle(0, 0, width, height)… in renderReference()
459 rr::MultisamplePixelBufferAccess::fromMultisampleAccess(depthBuffer.getAccess()), in renderReference()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp1183 …const Unique<VkBuffer> depthBuffer (makeBuffer (vk, device, makeBufferCreateInfo(depthBuff… in testLayeredReadBack() local
1184 …const UniquePtr<Allocation> depthBufferAlloc (bindBuffer (vk, device, allocator, *depthBuffer in testLayeredReadBack()
1277 …vk.cmdCopyBufferToImage(*cmdBuffer, *depthBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, … in testLayeredReadBack()
1363 …makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *depthBuffer, 0ull,… in testLayeredReadBack()
1368 …vk.cmdCopyImageToBuffer(*cmdBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *depthBuffer, … in testLayeredReadBack()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp1699 …const rr::MultisamplePixelBufferAccess depthBuffer (rr::MultisamplePixelBufferAccess::fromSingle… in iterateInternal() local
1701 … renderTarget (rr::MultisamplePixelBufferAccess(colorBufferAccess), depthBuffer, rr::Multisampl… in iterateInternal()
1704 rr::RenderState renderState ((rr::ViewportState(depthBuffer))); in iterateInternal()

12