/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 39 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 …]
|
D | Device.hpp | 56 void setDepthBuffer(egl::Image *depthBuffer); 77 egl::Image *depthBuffer; member in es1::Device
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 43 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 …]
|
D | Device.hpp | 67 void setDepthBuffer(egl::Image *depthBuffer, unsigned int layer); 109 egl::Image *depthBuffer; member in es2::Device
|
/external/deqp/framework/referencerenderer/ |
D | rrFragmentOperations.cpp | 166 …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 …]
|
D | rrFragmentOperations.hpp | 137 …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/ |
D | glsFragmentOpUtil.cpp | 214 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()
|
D | glsFragmentOpUtil.hpp | 119 const tcu::PixelBufferAccess& depthBuffer, 131 const rr::MultisamplePixelBufferAccess& depthBuffer,
|
/external/swiftshader/src/Renderer/ |
D | Renderer.cpp | 655 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()
|
D | Renderer.hpp | 196 float *depthBuffer; member 490 Surface *depthBuffer; member
|
D | PixelProcessor.cpp | 168 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()
|
D | Context.cpp | 227 depthBuffer = nullptr; in init() 532 return depthBuffer && depthBufferEnable; in depthBufferActive()
|
D | Context.hpp | 468 Surface *depthBuffer; member in sw::Context
|
D | PixelProcessor.hpp | 202 void setDepthBuffer(Surface *depthBuffer, unsigned int layer = 0);
|
D | QuadRasterizer.cpp | 109 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,depthBuffer)) + yMin * *Pointer<Int>(data… in rasterize()
|
/external/swiftshader/src/Device/ |
D | Renderer.cpp | 539 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()
|
D | PixelProcessor.cpp | 134 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()
|
D | Context.cpp | 173 depthBuffer = nullptr; in init() 353 return depthBuffer && depthBufferEnable; in depthBufferActive()
|
D | Renderer.hpp | 177 float *depthBuffer; member 457 Surface *depthBuffer; member
|
D | Context.hpp | 205 Surface *depthBuffer; member in sw::Context
|
D | PixelProcessor.hpp | 180 void setDepthBuffer(Surface *depthBuffer, unsigned int layer = 0);
|
D | QuadRasterizer.cpp | 109 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,depthBuffer)) + yMin * *Pointer<Int>(data… in rasterize()
|
/external/deqp/modules/egl/ |
D | teglRenderTests.cpp | 425 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/ |
D | vktGeometryLayeredRenderingTests.cpp | 1183 …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/ |
D | vktRenderPassSubpassDependencyTests.cpp | 1699 …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()
|