Home
last modified time | relevance | path

Searched refs:stencilAttachment (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/src/gpu/vk/
DGrVkFramebuffer.cpp22 GrVkImage* stencilAttachment, in Make() argument
34 if (stencilAttachment) { in Make()
35 attachments[numAttachments++] = stencilAttachment->framebufferView()->imageView(); in Make()
59 sk_ref_sp(resolveAttachment), sk_ref_sp(stencilAttachment), in Make()
68 sk_sp<GrVkImage> stencilAttachment, in GrVkFramebuffer() argument
75 , fStencilAttachment(std::move(stencilAttachment)) in GrVkFramebuffer()
DGrVkFramebuffer.h30 GrVkImage* stencilAttachment,
75 GrVkImage* stencilAttachment() { return fStencilAttachment.get(); } in stencilAttachment() function
82 sk_sp<GrVkImage> stencilAttachment,
DGrVkOpsRenderPass.cpp114 auto* vkStencil = fFramebuffer->stencilAttachment(); in setAttachmentLayouts()
430 GrAttachment* sb = fFramebuffer->stencilAttachment(); in onClearStencilClip()
530 bool withStencil = fFramebuffer->stencilAttachment(); in addAdditionalRenderPass()
/third_party/skia/src/gpu/mtl/
DGrMtlFramebuffer.mm15 GrMtlAttachment* stencilAttachment) {
20 sk_ref_sp(stencilAttachment));
26 sk_sp<GrMtlAttachment> stencilAttachment)
29 , fStencilAttachment(std::move(stencilAttachment)) {
DGrMtlFramebuffer.h21 GrMtlAttachment* stencilAttachment);
25 GrMtlAttachment* stencilAttachment() { return fStencilAttachment.get(); } in stencilAttachment() function
30 sk_sp<GrMtlAttachment> stencilAttachment);
DGrMtlOpsRenderPass.mm168 GrAttachment* sb = fFramebuffer->stencilAttachment();
176 auto stencilAttachment = fRenderPassDesc.stencilAttachment;
178 stencilAttachment.clearStencil = (1 << (stencilBitCount - 1));
180 stencilAttachment.clearStencil = 0;
183 stencilAttachment.loadAction = MTLLoadActionClear;
200 auto mtlStencil = fRenderPassDesc.stencilAttachment;
270 auto stencil = fFramebuffer->stencilAttachment();
271 auto mtlStencil = fRenderPassDesc.stencilAttachment;
313 fRenderPassDesc.stencilAttachment);
DGrMtlCommandBuffer.mm145 compatible(fPreviousRenderPassDescriptor.stencilAttachment,
146 descriptor.stencilAttachment, pipelineState)) {
DGrMtlPipelineState.mm84 SkDEBUGCODE(const GrAttachment* stencil = framebuffer->stencilAttachment());
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DClearMultiviewGL.cpp135 const gl::FramebufferAttachment *stencilAttachment = state.getStencilAttachment(); in attachTextures() local
156 else if (stencilAttachment != nullptr) in attachTextures()
158 const auto &imageIndex = stencilAttachment->getTextureImageIndex(); in attachTextures()
161 const TextureGL *textureGL = GetImplAs<TextureGL>(stencilAttachment->getTexture()); in attachTextures()
185 const gl::FramebufferAttachment *stencilAttachment = state.getStencilAttachment(); in detachTextures() local
195 else if (stencilAttachment != nullptr) in detachTextures()
DFramebufferGL.cpp221 const FramebufferAttachment *stencilAttachment = state.getStencilAttachment(); in RequiresMultiviewClear() local
222 if (stencilAttachment) in RequiresMultiviewClear()
224 if (!stencilAttachment->isMultiview()) in RequiresMultiviewClear()
228 attachment = stencilAttachment; in RequiresMultiviewClear()
/third_party/skia/src/gpu/
DGrRenderTarget.cpp48 auto stencilAttachment = (useMSAASurface) ? &GrRenderTarget::fMSAAStencilAttachment in attachStencilAttachment() local
50 if (!stencil && !(this->*stencilAttachment)) { in attachStencilAttachment()
60 this->*stencilAttachment = std::move(stencil); in attachStencilAttachment()
/third_party/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp60 auto stencilAttachment = static_cast<GrDawnAttachment*>(fRenderTarget->getStencilAttachment()); in beginRenderPass() local
74 if (stencilAttachment) { in beginRenderPass()
76 depthStencilAttachment.view = stencilAttachment->view(); in beginRenderPass()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_command_buffer.mm1121 objCRenderPassDesc.stencilAttachment.storeAction =
1122 mRenderPassDesc.stencilAttachment.storeAction;
1123 finalizeLoadStoreAction(objCRenderPassDesc.stencilAttachment);
1212 if (mRenderPassDesc.stencilAttachment.storeAction == MTLStoreActionDontCare)
1215 mRenderPassDesc.stencilAttachment.loadAction = MTLLoadActionClear;
1216 mRenderPassDesc.stencilAttachment.clearStencil = rand();
1220 mRenderPassDesc.stencilAttachment.loadAction = MTLLoadActionLoad;
1302 initAttachmentWriteDependencyAndScissorRect(mRenderPassDesc.stencilAttachment);
1833 mRenderPassDesc.stencilAttachment.storeAction = stencilStoreAction;
1849 mRenderPassDesc.stencilAttachment.storeAction = action;
[all …]
Dmtl_state_cache.mm787 auto stencilTexture = this->stencilAttachment.texture;
810 stencilAttachment.equalIgnoreLoadStoreOptions(other.stencilAttachment);
830 return depthAttachment == other.depthAttachment && stencilAttachment == other.stencilAttachment;
854 ToObjC(stencilAttachment, objCDesc.stencilAttachment);
DFrameBufferMtl.mm798 mRenderPassDesc.stencilAttachment.loadAction = MTLLoadActionLoad;
864 setLoadStoreActionOnRenderPassFirstStart(&mRenderPassDesc.stencilAttachment,
915 mRenderPassDesc.stencilAttachment.reset();
1077 mStencilRenderTarget->toRenderPassAttachmentDesc(&desc.stencilAttachment);
1082 desc.stencilAttachment.reset();
1149 tempDesc.stencilAttachment.loadAction = MTLLoadActionClear;
1150 tempDesc.stencilAttachment.clearStencil = clearOpts.clearStencil.value();
1387 mRenderPassDesc.stencilAttachment.storeAction = MTLStoreActionDontCare;
Dmtl_utils.mm548 rtMTL.toRenderPassAttachmentDesc(&rpDesc.stencilAttachment);
549 rpDesc.stencilAttachment.loadAction = MTLLoadActionClear;
1401 descriptor.stencilAttachment.texture.pixelFormat)
1422 if (descriptor.stencilAttachment.texture.pixelFormat != MTLPixelFormatInvalid)
1424 bool isMsaa = descriptor.stencilAttachment.texture.sampleCount > 1;
1426 descriptor.stencilAttachment.texture.pixelFormat);
DSurfaceMtl.mm272 mStencilRenderTarget.toRenderPassAttachmentDesc(&rpDesc.stencilAttachment);
273 rpDesc.stencilAttachment.loadAction = MTLLoadActionClear;
Dmtl_state_cache.h386 RenderPassStencilAttachmentDesc stencilAttachment; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DFramebuffer.cpp1381 const FramebufferAttachment &stencilAttachment = mState.mStencilAttachment; in checkStatusWithGLFrontEnd() local
1382 if (stencilAttachment.isAttached()) in checkStatusWithGLFrontEnd()
1385 CheckAttachmentCompleteness(context, stencilAttachment); in checkStatusWithGLFrontEnd()
1391 const InternalFormat &format = *stencilAttachment.getFormat().info; in checkStatusWithGLFrontEnd()
1400 CheckAttachmentSampleCompleteness(context, stencilAttachment, false, &samples, in checkStatusWithGLFrontEnd()
1408 CheckMultiviewStateMatchesForCompleteness(firstAttachment, &stencilAttachment); in checkStatusWithGLFrontEnd()
1414 hasRenderbuffer = hasRenderbuffer || (stencilAttachment.type() == GL_RENDERBUFFER); in checkStatusWithGLFrontEnd()
1427 if (isLayered.value() != stencilAttachment.isLayered()) in checkStatusWithGLFrontEnd()
1438 stencilAttachment.isAttached() && stencilAttachment != depthAttachment) in checkStatusWithGLFrontEnd()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.mm564 descriptor.stencilAttachment.texture = GetMTLTexture();
565 descriptor.stencilAttachment.level = level;
566 descriptor.stencilAttachment.slice = arrayLayer;
567 descriptor.stencilAttachment.loadAction = MTLLoadActionClear;
568 descriptor.stencilAttachment.storeAction = MTLStoreActionStore;
569 descriptor.stencilAttachment.clearStencil =
DCommandBufferMTL.mm157 descriptor.stencilAttachment.texture = texture;
158 descriptor.stencilAttachment.level = attachmentInfo.view->GetBaseMipLevel();
159 descriptor.stencilAttachment.slice = attachmentInfo.view->GetBaseArrayLayer();
163 descriptor.stencilAttachment.storeAction = MTLStoreActionStore;
167 descriptor.stencilAttachment.storeAction = MTLStoreActionDontCare;
173 descriptor.stencilAttachment.loadAction = MTLLoadActionClear;
174 descriptor.stencilAttachment.clearStencil = attachmentInfo.clearStencil;
178 descriptor.stencilAttachment.loadAction = MTLLoadActionLoad;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilExportTests.cpp482 …Move<VkImageView> stencilAttachment = makeImageView (vk, device, *stencilImage, VK_IMAGE_VI… in testStencilExportReplace() local
501 *stencilAttachment, in testStencilExportReplace()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp579 const auto *stencilAttachment = fboData.getStencilAttachment(); in clearFramebuffer() local
582 (stencilAttachment != nullptr) ? (1 << nativeFormat.stencilBits) - 1 : 0; in clearFramebuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsOcclusionQueryTests.cpp187 const VkClearAttachment stencilAttachment = in commandClearStencilAttachment() local
201 vk.cmdClearAttachments(commandBuffer, 1u, &stencilAttachment, 1u, &rect); in commandClearStencilAttachment()
DvktFragmentOperationsEarlyFragmentTests.cpp162 const VkClearAttachment stencilAttachment = in commandClearStencilAttachment() local
176 vk.cmdClearAttachments(commandBuffer, 1u, &stencilAttachment, 1u, &rect); in commandClearStencilAttachment()

12