/external/angle/src/tests/gl_tests/ |
D | WebGLFramebufferTest.cpp | 38 void testUsingIncompleteFramebuffer(GLenum depthFormat, GLenum depthAttachment); 491 GLenum *depthAttachment, in tryDepth() argument 495 if (*depthAttachment != GL_NONE) in tryDepth() 498 glFramebufferRenderbuffer(GL_FRAMEBUFFER, *depthAttachment, GL_RENDERBUFFER, 0); in tryDepth() 501 *depthAttachment = try_attachment; in tryDepth() 502 glFramebufferRenderbuffer(GL_FRAMEBUFFER, *depthAttachment, GL_RENDERBUFFER, *depthBuffer); in tryDepth() 508 bool checkValidColorDepthCombination(GLenum *depthFormat, GLenum *depthAttachment) in checkValidColorDepthCombination() argument 520 return tryDepth(&depthBuffer, depthFormat, depthAttachment, GL_DEPTH_COMPONENT16, in checkValidColorDepthCombination() 522 tryDepth(&depthBuffer, depthFormat, depthAttachment, GL_DEPTH_STENCIL, in checkValidColorDepthCombination() 568 GLenum depthAttachment) in testUsingIncompleteFramebuffer() argument [all …]
|
/external/angle/src/libANGLE/renderer/gl/ |
D | ClearMultiviewGL.cpp | 134 const gl::FramebufferAttachment *depthAttachment = state.getDepthAttachment(); in attachTextures() local 146 else if (depthAttachment != nullptr) in attachTextures() 148 const auto &imageIndex = depthAttachment->getTextureImageIndex(); in attachTextures() 151 const TextureGL *textureGL = GetImplAs<TextureGL>(depthAttachment->getTexture()); in attachTextures() 184 const gl::FramebufferAttachment *depthAttachment = state.getDepthAttachment(); in detachTextures() local 191 else if (depthAttachment != nullptr) in detachTextures()
|
D | FramebufferGL.cpp | 210 const FramebufferAttachment *depthAttachment = state.getDepthAttachment(); in RequiresMultiviewClear() local 211 if (depthAttachment) in RequiresMultiviewClear() 213 if (!depthAttachment->isMultiview()) in RequiresMultiviewClear() 217 attachment = depthAttachment; in RequiresMultiviewClear()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateInheritanceTests.cpp | 470 VkAttachmentDescription depthAttachment{}; local 471 depthAttachment.format = m_depthImageInfo.format; 472 depthAttachment.samples = VK_SAMPLE_COUNT_1_BIT; 473 depthAttachment.loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR; 474 depthAttachment.storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; 475 depthAttachment.stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; 476 depthAttachment.stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; 477 depthAttachment.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; 478 depthAttachment.finalLayout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; 502 VkAttachmentDescription attachments[2] = {colorAttachment, depthAttachment};
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_utils.mm | 458 rtMTL.toRenderPassAttachmentDesc(&rpDesc.depthAttachment); 463 rpDesc.depthAttachment.loadAction = MTLLoadActionClear; 464 rpDesc.depthAttachment.clearDepth = 1.0; 1322 if (descriptor.depthAttachment.texture.pixelFormat == 1325 bool isMsaa = descriptor.depthAttachment.texture.sampleCount > 1; 1326 if (descriptor.depthAttachment.texture.pixelFormat != MTLPixelFormatInvalid) 1329 descriptor.depthAttachment.texture.pixelFormat); 1336 if (descriptor.depthAttachment.texture.pixelFormat != MTLPixelFormatInvalid) 1338 bool isMsaa = descriptor.depthAttachment.texture.sampleCount > 1; 1340 descriptor.depthAttachment.texture.pixelFormat);
|
D | mtl_command_buffer.mm | 1113 objCRenderPassDesc.depthAttachment.storeAction = mRenderPassDesc.depthAttachment.storeAction; 1114 finalizeLoadStoreAction(objCRenderPassDesc.depthAttachment); 1197 if (mRenderPassDesc.depthAttachment.storeAction == MTLStoreActionDontCare) 1200 mRenderPassDesc.depthAttachment.loadAction = MTLLoadActionClear; 1201 mRenderPassDesc.depthAttachment.clearDepth = dis(gen); 1205 mRenderPassDesc.depthAttachment.loadAction = MTLLoadActionLoad; 1296 initAttachmentWriteDependencyAndScissorRect(mRenderPassDesc.depthAttachment); 1833 mRenderPassDesc.depthAttachment.storeAction = depthStoreAction; 1842 mRenderPassDesc.depthAttachment.storeAction = action; 1880 if (mCachedRenderPassDescObjC.get().depthAttachment.texture) [all …]
|
D | mtl_state_cache.mm | 782 auto depthTexture = this->depthAttachment.texture; 808 return depthAttachment.equalIgnoreLoadStoreOptions(other.depthAttachment) && 829 return depthAttachment == other.depthAttachment && stencilAttachment == other.stencilAttachment; 852 ToObjC(depthAttachment, objCDesc.depthAttachment);
|
D | FrameBufferMtl.mm | 740 mRenderPassDesc.depthAttachment.loadAction = MTLLoadActionLoad; 803 setLoadStoreActionOnRenderPassFirstStart(&mRenderPassDesc.depthAttachment, 851 mRenderPassDesc.depthAttachment.reset(); 1010 mDepthRenderTarget->toRenderPassAttachmentDesc(&desc.depthAttachment); 1015 desc.depthAttachment.reset(); 1086 tempDesc.depthAttachment.loadAction = MTLLoadActionClear; 1087 tempDesc.depthAttachment.clearDepth = clearOpts.clearDepth.value(); 1321 mRenderPassDesc.depthAttachment.storeAction = MTLStoreActionDontCare;
|
D | mtl_state_cache.h | 368 RenderPassDepthAttachmentDesc depthAttachment; member
|
D | SurfaceMtl.mm | 267 mDepthRenderTarget.toRenderPassAttachmentDesc(&rpDesc.depthAttachment); 268 rpDesc.depthAttachment.loadAction = MTLLoadActionClear;
|
D | ContextMtl.mm | 2232 if (!renderPassDesc.depthAttachment.texture)
|
D | mtl_render_utils.mm | 1395 if (!renderPassDesc.depthAttachment.texture)
|
/external/angle/src/libANGLE/ |
D | Framebuffer.cpp | 1318 const FramebufferAttachment &depthAttachment = mState.mDepthAttachment; in checkStatusWithGLFrontEnd() local 1319 if (depthAttachment.isAttached()) in checkStatusWithGLFrontEnd() 1322 CheckAttachmentCompleteness(context, depthAttachment); in checkStatusWithGLFrontEnd() 1328 const InternalFormat &format = *depthAttachment.getFormat().info; in checkStatusWithGLFrontEnd() 1337 CheckAttachmentSampleCompleteness(context, depthAttachment, false, &samples, in checkStatusWithGLFrontEnd() 1345 CheckMultiviewStateMatchesForCompleteness(firstAttachment, &depthAttachment); in checkStatusWithGLFrontEnd() 1351 hasRenderbuffer = hasRenderbuffer || (depthAttachment.type() == GL_RENDERBUFFER); in checkStatusWithGLFrontEnd() 1355 isLayered = depthAttachment.isLayered(); in checkStatusWithGLFrontEnd() 1364 if (isLayered.value() != depthAttachment.isLayered()) in checkStatusWithGLFrontEnd() 1429 if (state.getClientMajorVersion() >= 3 && depthAttachment.isAttached() && in checkStatusWithGLFrontEnd() [all …]
|
/external/angle/src/libANGLE/capture/ |
D | FrameCapture.cpp | 3079 const gl::FramebufferAttachment *depthAttachment = framebuffer->getDepthAttachment(); in CaptureMidExecutionSetup() local 3080 if (depthAttachment) in CaptureMidExecutionSetup() 3082 ASSERT(depthAttachment->getBinding() == GL_DEPTH_ATTACHMENT || in CaptureMidExecutionSetup() 3083 depthAttachment->getBinding() == GL_DEPTH_STENCIL_ATTACHMENT); in CaptureMidExecutionSetup() 3084 CaptureFramebufferAttachment(setupCalls, replayState, *depthAttachment); in CaptureMidExecutionSetup() 3091 depthAttachment->getBinding() == GL_DEPTH_STENCIL_ATTACHMENT); in CaptureMidExecutionSetup()
|