Home
last modified time | relevance | path

Searched refs:GetSampleCount (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DAttachmentState.cpp61 mSampleCount = attachment->GetTexture()->GetSampleCount(); in AttachmentStateBlueprint()
63 ASSERT(mSampleCount == attachment->GetTexture()->GetSampleCount()); in AttachmentStateBlueprint()
70 mSampleCount = attachment->GetTexture()->GetSampleCount(); in AttachmentStateBlueprint()
72 ASSERT(mSampleCount == attachment->GetTexture()->GetSampleCount()); in AttachmentStateBlueprint()
161 uint32_t AttachmentState::GetSampleCount() const { in GetSampleCount() function in dawn_native::AttachmentState
DCopyTextureForBrowserHelper.cpp264 source->texture->GetSampleCount() > 1 || destination->texture->GetSampleCount() > 1, in ValidateCopyTextureForBrowser()
267 source->texture->GetSampleCount(), destination->texture->GetSampleCount()); in ValidateCopyTextureForBrowser()
DExternalTexture.cpp46 DAWN_INVALID_IF(textureView->GetTexture()->GetSampleCount() != 1, in ValidateExternalTexturePlane()
48 textureView, textureView->GetTexture()->GetSampleCount()); in ValidateExternalTexturePlane()
DCommandValidation.cpp280 if (texture->GetSampleCount() > 1 || texture->GetFormat().HasDepthOrStencil()) { in ValidateImageCopyTexture()
291 texture->GetFormat().format, texture->GetSampleCount()); in ValidateImageCopyTexture()
395 const uint32_t srcSamples = src.texture->GetSampleCount(); in ValidateTextureToTextureCopyCommonRestrictions()
396 const uint32_t dstSamples = dst.texture->GetSampleCount(); in ValidateTextureToTextureCopyCommonRestrictions()
DCommandEncoder.cpp61 DAWN_INVALID_IF(texture->GetSampleCount() > 1, in ValidateTextureSampleCountInBufferCopyCommands()
63 texture, texture->GetSampleCount()); in ValidateTextureSampleCountInBufferCopyCommands()
148 *sampleCount = colorAttachment->GetTexture()->GetSampleCount(); in ValidateOrSetColorAttachmentSampleCount()
152 *sampleCount != colorAttachment->GetTexture()->GetSampleCount(), in ValidateOrSetColorAttachmentSampleCount()
155 colorAttachment, colorAttachment->GetTexture()->GetSampleCount(), *sampleCount); in ValidateOrSetColorAttachmentSampleCount()
181 resolveTarget, resolveTarget->GetTexture()->GetSampleCount()); in ValidateResolveTarget()
315 const uint32_t depthStencilSampleCount = attachment->GetTexture()->GetSampleCount(); in ValidateRenderPassDepthStencilAttachment()
DAttachmentState.h73 uint32_t GetSampleCount() const;
DRenderPipeline.h95 uint32_t GetSampleCount() const;
DTexture.h65 uint32_t GetSampleCount() const;
DQueue.cpp472 DAWN_INVALID_IF(destination->texture->GetSampleCount() > 1, in ValidateWriteTexture()
473 "Sample count (%u) of %s is not 1", destination->texture->GetSampleCount(), in ValidateWriteTexture()
DRenderPipeline.cpp848 uint32_t RenderPipelineBase::GetSampleCount() const { in GetSampleCount() function in dawn_native::RenderPipelineBase
850 return mAttachmentState->GetSampleCount(); in GetSampleCount()
DBindGroup.cpp153 texture->GetSampleCount(), texture, bindingInfo.texture.multisampled); in ValidateTextureBinding()
DTexture.cpp543 uint32_t TextureBase::GetSampleCount() const { in GetSampleCount() function in dawn_native::TextureBase
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPipelineD3D12.cpp386 descriptorD3D12.RasterizerState.MultisampleEnable = (GetSampleCount() > 1) ? TRUE : FALSE; in Initialize()
411 descriptorD3D12.SampleDesc.Count = GetSampleCount(); in Initialize()
DCommandBufferD3D12.cpp66 ASSERT(src.texture->GetSampleCount() == dst.texture->GetSampleCount()); in CanUseCopyResource()
1556 } else if (renderPass->attachmentState->GetSampleCount() > 1) { in RecordRenderPass()
DTextureD3D12.cpp608 resourceDescriptor.SampleDesc.Count = GetSampleCount(); in InitializeAsInternalTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp137 uint32_t sampleCount = GetSampleCount(); in Texture()
536 texture->GetSampleCount()); in TextureView()
DCommandBufferGL.cpp1280 if (renderPass->attachmentState->GetSampleCount() > 1) { in ExecuteRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp441 multisample.rasterizationSamples = VulkanSampleCount(GetSampleCount()); in Initialize()
518 query.SetSampleCount(GetSampleCount()); in Initialize()
DTextureVk.cpp194 info->samples = VulkanSampleCount(texture.GetSampleCount()); in FillVulkanCreateInfoSizesAndType()
DCommandBufferVk.cpp227 query.SetSampleCount(renderPass->attachmentState->GetSampleCount()); in RecordBeginRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.mm382 mtlDesc.sampleCount = GetSampleCount();
385 mtlDesc.usage = MetalTextureUsage(GetFormat(), GetInternalUsage(), GetSampleCount());
762 MetalTextureViewType(descriptor->dimension, texture->GetSampleCount());
DRenderPipelineMTL.mm386 descriptorMTL.sampleCount = GetSampleCount();
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp37 GLint GetSampleCount(const egl::Config *config) in GetSampleCount() function
361 GLint samples = GetSampleCount(mState.config); in initializeImpl()
1170 GLint samples = GetSampleCount(mState.config); in createSwapChain()
Dvk_utils.h1087 GLuint GetSampleCount(VkSampleCountFlags supportedCounts, GLuint requestedCount);
Dvk_utils.cpp1652 GLuint GetSampleCount(VkSampleCountFlags supportedCounts, GLuint requestedCount) in GetSampleCount() function

12