Home
last modified time | relevance | path

Searched refs:depthStencil (Results 1 – 25 of 54) sorted by relevance

123

/external/swiftshader/src/OpenGL/libGLES_CM/
DRenderbuffer.cpp361 DepthStencilbuffer::DepthStencilbuffer(egl::Image *depthStencil) : mDepthStencil(depthStencil) in DepthStencilbuffer() argument
363 if(depthStencil) in DepthStencilbuffer()
365 depthStencil->addRef(); in DepthStencilbuffer()
367 mWidth = depthStencil->getWidth(); in DepthStencilbuffer()
368 mHeight = depthStencil->getHeight(); in DepthStencilbuffer()
369 format = depthStencil->getFormat(); in DepthStencilbuffer()
370 mSamples = depthStencil->getDepth() & ~1; in DepthStencilbuffer()
439 Depthbuffer::Depthbuffer(egl::Image *depthStencil) : DepthStencilbuffer(depthStencil) in Depthbuffer() argument
451 Stencilbuffer::Stencilbuffer(egl::Image *depthStencil) : DepthStencilbuffer(depthStencil) in Stencilbuffer() argument
DRenderbuffer.h177 explicit DepthStencilbuffer(egl::Image *depthStencil);
193 explicit Depthbuffer(egl::Image *depthStencil);
202 explicit Stencilbuffer(egl::Image *depthStencil);
DFramebuffer.cpp446 DefaultFramebuffer::DefaultFramebuffer(Colorbuffer *colorbuffer, DepthStencilbuffer *depthStencil) in DefaultFramebuffer() argument
450 Renderbuffer *depthStencilRenderbuffer = new Renderbuffer(0, depthStencil); in DefaultFramebuffer()
DFramebuffer.h89 DefaultFramebuffer(Colorbuffer *colorbuffer, DepthStencilbuffer *depthStencil);
DDevice.cpp360 …bool depthStencil = egl::Image::isDepth(source->getInternalFormat()) || egl::Image::isStencil(sour… in stretchRect() local
370 if(depthStencil) // Copy entirely, internally // FIXME: Check in stretchRect()
/external/swiftshader/src/OpenGL/libEGL/
DSurface.cpp63 ASSERT(!backBuffer && !depthStencil); in initialize()
93depthStencil = libGLESv2->createDepthStencil(width, height, config->mDepthStencilFormat, config->m… in initialize()
97depthStencil = libGLES_CM->createDepthStencil(width, height, config->mDepthStencilFormat, config->… in initialize()
100 if(!depthStencil) in initialize()
113 if(depthStencil) in deleteResources()
115 depthStencil->release(); in deleteResources()
116 depthStencil = nullptr; in deleteResources()
144 if(depthStencil) in getDepthStencil()
146 depthStencil->addRef(); in getDepthStencil()
149 return depthStencil; in getDepthStencil()
[all …]
DSurface.hpp82 Image *depthStencil = nullptr; member in egl::Surface
/external/deqp/modules/gles2/functional/
Des2fMultisampledRenderToTextureTests.cpp99 GLuint depthStencil = 0; in iterate() local
100 gl.genRenderbuffers(1, &depthStencil); in iterate()
101 gl.bindRenderbuffer(GL_RENDERBUFFER, depthStencil); in iterate()
103 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencil); in iterate()
104 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencil); in iterate()
132 gl.deleteRenderbuffers(1, &depthStencil); in iterate()
/external/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.cpp560 DepthStencilbuffer::DepthStencilbuffer(egl::Image *depthStencil) : mDepthStencil(depthStencil) in DepthStencilbuffer() argument
562 if(depthStencil) in DepthStencilbuffer()
564 depthStencil->addRef(); in DepthStencilbuffer()
566 mWidth = depthStencil->getWidth(); in DepthStencilbuffer()
567 mHeight = depthStencil->getHeight(); in DepthStencilbuffer()
568 format = depthStencil->getFormat(); in DepthStencilbuffer()
569 mSamples = depthStencil->getDepth() & ~1; in DepthStencilbuffer()
638 Depthbuffer::Depthbuffer(egl::Image *depthStencil) : DepthStencilbuffer(depthStencil) in Depthbuffer() argument
650 Stencilbuffer::Stencilbuffer(egl::Image *depthStencil) : DepthStencilbuffer(depthStencil) in Stencilbuffer() argument
DRenderbuffer.h262 explicit DepthStencilbuffer(egl::Image *depthStencil);
278 explicit Depthbuffer(egl::Image *depthStencil);
287 explicit Stencilbuffer(egl::Image *depthStencil);
DFramebuffer.h117 DefaultFramebuffer(Colorbuffer *colorbuffer, DepthStencilbuffer *depthStencil);
DFramebuffer.cpp700 DefaultFramebuffer::DefaultFramebuffer(Colorbuffer *colorbuffer, DepthStencilbuffer *depthStencil) in DefaultFramebuffer() argument
714 Renderbuffer *depthStencilRenderbuffer = new Renderbuffer(0, depthStencil); in DefaultFramebuffer()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp100 clearValue.depthStencil.stencil = dsValue.stencil; in defaultClearValue()
101 clearValue.depthStencil.depth = dsValue.depth; in defaultClearValue()
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp61 depthStencil = 0; in Direct3DDevice8()
180 if(depthStencil) in ~Direct3DDevice8()
182 depthStencil->unbind(); in ~Direct3DDevice8()
183 depthStencil = 0; in ~Direct3DDevice8()
327 if(flags & (D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL) && !depthStencil) in Clear()
335 depthStencil->GetDesc(&description); in Clear()
392 depthStencil->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in Clear()
397depthStencil->clearStencil(stencil, 0xFF, clearRect.x0, clearRect.y0, clearRect.width(), clearRect… in Clear()
1284 *depthStencilSurface = depthStencil; in GetDepthStencilSurface()
1286 if(depthStencil) in GetDepthStencilSurface()
[all …]
/external/deqp/modules/internal/
DditFrameworkTests.cpp710 …TextureLevel depthStencil (TextureFormat(TextureFormat::DS, TextureFormat::FLOAT_UNSIGNED_INT_24_8… in runCase() local
721 clearDepth (depthStencil.getAccess(), 0.0f); in runCase()
722 clearStencil (depthStencil.getAccess(), 0); in runCase()
772 …cess dsAccess = rr::MultisamplePixelBufferAccess::fromMultisampleAccess(depthStencil.getAccess()); in runCase()
800 TextureLevel resolvedDepthStencil (depthStencil.getFormat(), width, height); // For debugging in runCase()
803 const ConstPixelBufferAccess dsAccess = depthStencil.getAccess(); in runCase()
813 …tAccess(), rr::MultisampleConstPixelBufferAccess::fromMultisampleAccess(depthStencil.getAccess())); in runCase()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp77 v.depthStencil.depth = depth; in makeClearValueDepthStencil()
78 v.depthStencil.stencil = stencil; in makeClearValueDepthStencil()
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp312 …ClearDepthStencilImage(VkImage image, const VkClearDepthStencilValue& depthStencil, const VkImageS… in ClearDepthStencilImage()
313 image(image), depthStencil(depthStencil), range(range) in ClearDepthStencilImage()
319 Cast(image)->clear(depthStencil, range); in play()
324 const VkClearDepthStencilValue depthStencil; member
DVkImage.cpp609 …clear((void*)(&clearValue.depthStencil.depth), VK_FORMAT_D32_SFLOAT, renderArea, subresourceRange,… in clear()
614 …clear((void*)(&clearValue.depthStencil.stencil), VK_FORMAT_S8_UINT, renderArea, subresourceRange, … in clear()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp67 depthStencil = 0; in Direct3DDevice9()
198 if(depthStencil) in ~Direct3DDevice9()
200 depthStencil->unbind(); in ~Direct3DDevice9()
201 depthStencil = 0; in ~Direct3DDevice9()
351 if(flags & (D3DCLEAR_ZBUFFER | D3DCLEAR_STENCIL) && !depthStencil) in Clear()
359 depthStencil->GetDesc(&description); in Clear()
438 depthStencil->clearDepth(z, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in Clear()
443depthStencil->clearStencil(stencil, 0xFF, clearRect.x0, clearRect.y0, clearRect.width(), clearRect… in Clear()
1439 *depthStencilSurface = depthStencil; in GetDepthStencilSurface()
1441 if(depthStencil) in GetDepthStencilSurface()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemAttachmentLoadTests.cpp212 …<< tcu::TestLog::Message << "Depth clear value: " << m_clearValue.depthStencil.depth << tcu::TestL… in iterate()
213 …<< tcu::TestLog::Message << "Stencil clear value: " << m_clearValue.depthStencil.stencil << tcu::T… in iterate()
DvktProtectedMemAttachmentClearTests.cpp270 …<< tcu::TestLog::Message << "Depth clear value: " << m_clearValue.depthStencil.depth << tcu::TestL… in iterate()
271 …<< tcu::TestLog::Message << "Stencil clear value: " << m_clearValue.depthStencil.stencil << tcu::T… in iterate()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c55 const GLbitfield depthStencil = (GL_DEPTH_BUFFER_BIT | in st_BlitFramebuffer() local
265 if (mask & depthStencil) { in st_BlitFramebuffer()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp1018 depthValue = m_params.clearValue[0].depthStencil.depth; in verifyResultImage()
1022 depthValue = m_params.initValue.depthStencil.depth; in verifyResultImage()
1047 stencilValue = m_params.clearValue[0].depthStencil.stencil; in verifyResultImage()
1051 stencilValue = m_params.initValue.depthStencil.stencil; in verifyResultImage()
1231 …_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &m_params.clearValue[0].depthStencil, 1, &subresourc… in iterate()
1234 …_image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &m_params.clearValue[0].depthStencil, 1, &steptwoRan… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp197 …void clearDepthWithClearAttachments (const VkClearDepthStencilValue& depthStencil, boo…
542 …stance::clearDepthWithClearAttachments (const VkClearDepthStencilValue& depthStencil, bool partial) in clearDepthWithClearAttachments() argument
548 …makeClearValueDepthStencil(depthStencil.depth, depthStencil.stencil) // VkClearValue clearValue; in clearDepthWithClearAttachments()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp1012 stream << "stencil: " << value.depthStencil.stencil; in clearValueToString()
1018 stream << "depth: " << value.depthStencil.depth; in clearValueToString()
1357 clearValue.depthStencil.depth = clearNan; in randomClearValue()
1358 clearValue.depthStencil.stencil = 0xCDu; in randomClearValue()
1361 clearValue.depthStencil.stencil = rng.getBool() in randomClearValue()
1366 clearValue.depthStencil.depth = rng.getBool() in randomClearValue()
2479 …epth = hasDepthComponent(format.order) ? clearValues[attachmentNdx]->depthStencil.depth : clearNa… in pushImageInitializationCommands()
2480 …cil = hasStencilComponent(format.order) ? clearValues[attachmentNdx]->depthStencil.stencil : 0xDEu; in pushImageInitializationCommands()
2481 const VkClearDepthStencilValue depthStencil = in pushImageInitializationCommands() local
2496 …ources[attachmentNdx]->getImage(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &depthStencil, 1, &range); in pushImageInitializationCommands()
[all …]

123