Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DWebGLFramebufferTest.cpp380 GLRenderbuffer depthBuffer; in TEST_P() local
381 glBindRenderbuffer(GL_RENDERBUFFER, depthBuffer); in TEST_P()
403 testAttachment(width, height, &colorBuffer, GL_DEPTH_ATTACHMENT, &depthBuffer, in TEST_P()
407 testAttachment(width, height, &colorBuffer, GL_STENCIL_ATTACHMENT, &depthBuffer, in TEST_P()
411 testAttachment(width, height, &colorBuffer, GL_DEPTH_STENCIL_ATTACHMENT, &depthBuffer, in TEST_P()
443 testAttachments(colorBuffer, GL_DEPTH_ATTACHMENT, depthBuffer, GL_STENCIL_ATTACHMENT, in TEST_P()
448 depthBuffer, allowedStatusForConflictedAttachment); in TEST_P()
451 testAttachments(colorBuffer, GL_DEPTH_ATTACHMENT, depthBuffer, in TEST_P()
457 GL_DEPTH_ATTACHMENT, depthBuffer, allowedStatusForConflictedAttachment); in TEST_P()
460 testAttachments(colorBuffer, GL_DEPTH_ATTACHMENT, depthBuffer, in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DWebGLFramebufferTest.cpp380 GLRenderbuffer depthBuffer; in TEST_P() local
381 glBindRenderbuffer(GL_RENDERBUFFER, depthBuffer); in TEST_P()
403 testAttachment(width, height, &colorBuffer, GL_DEPTH_ATTACHMENT, &depthBuffer, in TEST_P()
407 testAttachment(width, height, &colorBuffer, GL_STENCIL_ATTACHMENT, &depthBuffer, in TEST_P()
411 testAttachment(width, height, &colorBuffer, GL_DEPTH_STENCIL_ATTACHMENT, &depthBuffer, in TEST_P()
443 testAttachments(colorBuffer, GL_DEPTH_ATTACHMENT, depthBuffer, GL_STENCIL_ATTACHMENT, in TEST_P()
448 depthBuffer, allowedStatusForConflictedAttachment); in TEST_P()
451 testAttachments(colorBuffer, GL_DEPTH_ATTACHMENT, depthBuffer, in TEST_P()
457 GL_DEPTH_ATTACHMENT, depthBuffer, allowedStatusForConflictedAttachment); in TEST_P()
460 testAttachments(colorBuffer, GL_DEPTH_ATTACHMENT, depthBuffer, in TEST_P()
[all …]
/third_party/vk-gl-cts/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);
/third_party/skia/third_party/externals/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
/third_party/vk-gl-cts/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,
/third_party/skia/third_party/externals/swiftshader/src/Device/
DSetupProcessor.cpp67 …state.fixedPointDepthBuffer = attachments.depthBuffer && !attachments.depthBuffer->getFormat(VK_IM… in update()
DRenderer.cpp361 if(attachments.depthBuffer) in draw()
363 switch(attachments.depthBuffer->getFormat(VK_IMAGE_ASPECT_DEPTH_BIT)) in draw()
373 …UNSUPPORTED("Depth format: %d", int(attachments.depthBuffer->getFormat(VK_IMAGE_ASPECT_DEPTH_BIT))… in draw()
394 draw->depthBuffer = attachments.depthBuffer; in draw()
397 if(draw->depthBuffer) in draw()
399 …data->depthBuffer = (float *)attachments.depthBuffer->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPEC… in draw()
400 data->depthPitchB = attachments.depthBuffer->rowPitchBytes(VK_IMAGE_ASPECT_DEPTH_BIT, 0); in draw()
401 data->depthSliceB = attachments.depthBuffer->slicePitchBytes(VK_IMAGE_ASPECT_DEPTH_BIT, 0); in draw()
DRenderer.hpp99 float *depthBuffer; member
171 vk::ImageView *depthBuffer; member
DContext.cpp165 if(depthBuffer) in depthFormat()
167 return depthBuffer->getFormat(); in depthFormat()
635 return attachments.depthBuffer && depthTestEnable; in depthTestActive()
645 return attachments.depthBuffer && depthBoundsTestEnable; in depthBoundsTestActive()
DContext.hpp55 ImageView *depthBuffer = nullptr; member
DQuadRasterizer.cpp89 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, depthBuffer)) + yMin * *Pointer<Int>(dat… in rasterize()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DRenderer.cpp656 draw->depthBuffer = context->depthBuffer; in draw()
659 if(draw->depthBuffer) in draw()
662 requiresSync |= context->depthBuffer->requiresSync(); in draw()
663 …data->depthBuffer = (float*)context->depthBuffer->lockInternal(0, 0, layer, LOCK_READWRITE, MANAGE… in draw()
664 data->depthBuffer += q * ms * context->depthBuffer->getSliceB(true); in draw()
665 data->depthPitchB = context->depthBuffer->getInternalPitchB(); in draw()
666 data->depthSliceB = context->depthBuffer->getInternalSliceB(); in draw()
1053 if(draw.depthBuffer) in finishRendering()
1055 draw.depthBuffer->unlockInternal(); in finishRendering()
2315 if(context->depthBuffer && context->texture[sampler] == context->depthBuffer->getResource()) in isReadWriteTexture()
DRenderer.hpp195 float *depthBuffer; member
489 Surface *depthBuffer; member
DPixelProcessor.cpp177 void PixelProcessor::setDepthBuffer(Surface *depthBuffer, unsigned int layer) in setDepthBuffer() argument
179 context->depthBuffer = depthBuffer; in setDepthBuffer()
1015 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.hpp206 void setDepthBuffer(Surface *depthBuffer, unsigned int layer = 0);
DQuadRasterizer.cpp109 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,depthBuffer)) + yMin * *Pointer<Int>(data… in rasterize()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp1335 …const Unique<VkBuffer> depthBuffer (makeBuffer (vk, device, depthBufferSize, VK_BUFFER_USA… in testLayeredReadBack() local
1336 …const UniquePtr<Allocation> depthBufferAlloc (bindBuffer (vk, device, allocator, *depthBuffer in testLayeredReadBack()
1427 …vk.cmdCopyBufferToImage(*cmdBuffer, *depthBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, … in testLayeredReadBack()
1533 …makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *depthBuffer, 0ull,… in testLayeredReadBack()
1538 …vk.cmdCopyImageToBuffer(*cmdBuffer, *dsImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *depthBuffer, … in testLayeredReadBack()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp317 vk::VkBuffer depthBuffer,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateRSTests.cpp833 const auto depthBuffer = Image::createAndAlloc(vkd, device, depthBufferInfo, alloc, qIndex); in iterate() local
839 …const auto depthView = vk::makeImageView(vkd, device, depthBuffer->object(), vk::VK_IMAGE_VIEW_… in iterate()

12