Home
last modified time | relevance | path

Searched refs:vkCaps (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp198 !vkGpu->vkCaps().supportsProtectedMemory()) { in Make()
325 (this->vkCaps().supportsDiscardableMSAAForDMSAA() && in onGetOpsRenderPass()
346 if (useMSAASurface && this->vkCaps().renderTargetSupportsDiscardableMSAA(vkRT)) { in onGetOpsRenderPass()
577 if (bufferColorType != this->vkCaps().transferColorType(format, surfaceColorType)) { in onTransferPixelsTo()
649 if (bufferColorType != this->vkCaps().transferColorType(format, surfaceColorType)) { in onTransferPixelsFrom()
733 if (this->vkCaps().renderTargetSupportsDiscardableMSAA(rt)) { in onResolveRenderTarget()
875 SkASSERT(this->vkCaps().surfaceSupportsWritePixels(texImage)); in uploadTexDataOptimal()
877 SkASSERT(this->vkCaps().isVkFormatTexturable(texImage->imageFormat())); in uploadTexDataOptimal()
989 SkASSERT(this->vkCaps().isVkFormatTexturable(vkFormat)); in uploadTexDataCompressed()
1273 if (!check_image_info(this->vkCaps(), imageInfo, kAdopt_GrWrapOwnership == ownership, in onWrapBackendTexture()
[all …]
DGrVkRenderTarget.cpp230 gpu->vkCaps().supportsMemorylessAttachments() ? GrMemoryless::kYes : GrMemoryless::kNo; in dynamicMSAAAttachment()
252 this->getVkGpu()->vkCaps().supportsDiscardableMSAAForDMSAA()); in canAttemptStencilAttachment()
259 (this->getVkGpu()->vkCaps().supportsDiscardableMSAAForDMSAA() && in canAttemptStencilAttachment()
271 this->getVkGpu()->vkCaps().supportsDiscardableMSAAForDMSAA()); in completeStencilAttachment()
409 void GrVkRenderTarget::ReconstructAttachmentsDescriptor(const GrVkCaps& vkCaps, in ReconstructAttachmentsDescriptor() argument
421 if (vkCaps.programInfoWillUseDiscardableMSAA(programInfo)) { in ReconstructAttachmentsDescriptor()
430 VkFormat stencilFormat = vkCaps.preferredStencilFormat(); in ReconstructAttachmentsDescriptor()
DGrVkPipelineStateBuilder.cpp190 settings.fRTFlipBinding = this->gpu()->vkCaps().getFragmentUniformBinding(); in finalize()
191 settings.fRTFlipSet = this->gpu()->vkCaps().getFragmentUniformSet(); in finalize()
296 pushConstantRange.stageFlags = fGpu->vkCaps().getPushConstantStageFlags(); in finalize()
322 fGpu->vkCaps().programInfoWillUseDiscardableMSAA(fProgramInfo))) { in finalize()
DGrVkMemory.cpp24 bool shouldPersistentlyMapCpuToGpu = gpu->vkCaps().shouldPersistentlyMapCpuToGpuBuffers(); in AllocAndBindBufferMemory()
73 if (gpu->vkCaps().shouldAlwaysUseDedicatedImageMemory()) { in AllocAndBindImageMemory()
DGrVkImageView.cpp24 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == ycbcrInfo.fFormat); in Make()
DGrVkOpsRenderPass.cpp184 fGpu->vkCaps().mustLoadFullImageWithDiscardableMSAA(); in beginRenderPass()
248 if (!fGpu->vkCaps().preferPrimaryOverSecondaryCommandBuffers()) { in init()
576 if (!fGpu->vkCaps().preferPrimaryOverSecondaryCommandBuffers() || in addAdditionalRenderPass()
791 const GrVkCaps& caps = fGpu->vkCaps(); in onDrawIndirect()
816 const GrVkCaps& caps = fGpu->vkCaps(); in onDrawIndexedIndirect()
DGrVkBuffer.cpp80 !gpu->vkCaps().gpuOnlyBuffersMorePerformant(); in Make()
206 if ((size <= 65536) && (0 == (size & 0x3)) && !gpu->vkCaps().avoidUpdateBuffers()) { in copyCpuDataToGpuBuffer()
DGrVkCommandPool.cpp49 gpu->vkCaps().maxPerPoolCachedSecondaryCommandBuffers()) { in GrVkCommandPool()
DGrVkSamplerYcbcrConversion.cpp14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
DGrVkSampler.cpp82 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
DGrVkRenderTarget.h111 static void ReconstructAttachmentsDescriptor(const GrVkCaps& vkCaps,
DGrVkGpu.h55 const GrVkCaps& vkCaps() const { return *fVkCaps; } in vkCaps() function
115 return GrBackendFormat::MakeVk(this->vkCaps().preferredStencilFormat()); in getPreferredStencilFormat()
DGrVkPipelineStateDataManager.cpp47 commandBuffer->pushConstants(gpu, layout, gpu->vkCaps().getPushConstantStageFlags(), in uploadUniforms()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp147 !vkGpu->vkCaps().supportsProtectedMemory()) { in Make()
244 if (this->vkCaps().mustSleepOnTearDown()) { in destroyResources()
716 if (!this->vkCaps().formatCanBeDstofBlit(VK_FORMAT_R8G8B8_UNORM, tex->isLinearTiled()) && in uploadTexDataOptimal()
717 !this->vkCaps().isFormatRenderable(VK_FORMAT_R8G8B8_UNORM, 1)) { in uploadTexDataOptimal()
723 SkASSERT(this->vkCaps().isVkFormatTexturable(tex->imageFormat())); in uploadTexDataOptimal()
783 if (!this->vkCaps().canCopyAsBlit(tex->imageFormat(), 1, false, dstHasYcbcr, in uploadTexDataOptimal()
901 SkASSERT(this->vkCaps().isVkFormatTexturable(tex->imageFormat())); in uploadTexDataCompressed()
1181 if (!check_image_info(this->vkCaps(), imageInfo, colorType, in onWrapBackendTexture()
1185 if (!check_tex_image_info(this->vkCaps(), imageInfo)) { in onWrapBackendTexture()
1218 if (!check_image_info(this->vkCaps(), imageInfo, colorType, in onWrapRenderableBackendTexture()
[all …]
DGrVkImageView.cpp22 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == ycbcrInfo.fFormat); in Create()
DGrVkImage.cpp160 if ((imageDesc.fIsProtected == GrProtected::kYes) && !gpu->vkCaps().supportsProtectedMemory()) { in InitImageInfo()
236 if (gpu->vkCaps().supportsSwapchain()) { in prepareForPresent()
DGrVkSamplerYcbcrConversion.cpp14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
DGrVkSampler.cpp71 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
/third_party/flutter/skia/src/gpu/
DGrContextThreadSafeProxy.cpp89 const GrVkCaps* vkCaps = (const GrVkCaps*) this->caps(); in createCharacterization() local
92 if (isProtected != GrProtected(vkCaps->supportsProtectedMemory())) { in createCharacterization()
/third_party/skia/tests/
DVkBackendSurfaceTest.cpp36 const GrVkCaps* vkCaps = static_cast<const GrVkCaps*>(dContext->priv().caps()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
37 if (!vkCaps->supportsDRMFormatModifiers()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
195 if (!vkGpu->vkCaps().supportsExternalMemory()) {
DBackendAllocationTest.cpp904 const GrVkCaps* vkCaps = static_cast<const GrVkCaps*>(context->priv().caps()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
954 if (!vkCaps->isVkFormatTexturable(combo.fFormat)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
961 if (GrMipmapped::kYes == mipMapped && !vkCaps->mipmapSupport()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
970 if (!vkCaps->isFormatAsColorTypeRenderable( in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/third_party/skia/src/gpu/
DGrContextThreadSafeProxy.cpp118 const GrVkCaps* vkCaps = (const GrVkCaps*) fCaps.get(); in createCharacterization() local
121 if (isProtected != GrProtected(vkCaps->supportsProtectedMemory())) { in createCharacterization()
/third_party/flutter/skia/tests/
DVkBackendSurfaceTest.cpp138 if (!vkGpu->vkCaps().supportsExternalMemory()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
219 if (!vkGpu->vkCaps().supportsExternalMemory()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
346 if (!vkGpu->vkCaps().supportsExternalMemory()) {
DDeferredDisplayListTest.cpp76 const GrVkCaps* vkCaps = (const GrVkCaps*) context->priv().caps(); in SurfaceParameters() local
78 fIsProtected = GrProtected(vkCaps->supportsProtectedMemory()); in SurfaceParameters()
358 const GrVkCaps* vkCaps = (const GrVkCaps*) context->priv().caps(); in DDLSurfaceCharacterizationTestImpl() local
361 if (!vkCaps->supportsProtectedMemory()) { in DDLSurfaceCharacterizationTestImpl()
633 const GrVkCaps* vkCaps = (const GrVkCaps*) context->priv().caps(); in DDLMakeRenderTargetTestImpl() local
636 if (!vkCaps->supportsProtectedMemory()) { in DDLMakeRenderTargetTestImpl()
DBackendAllocationTest.cpp670 const GrVkCaps* vkCaps = static_cast<const GrVkCaps*>(context->priv().caps()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
724 if (!vkCaps->isVkFormatTexturable(combo.fFormat)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
731 if (GrMipMapped::kYes == mipMapped && !vkCaps->mipMapSupport()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
740 if (!vkCaps->isFormatAsColorTypeRenderable( in DEF_GPUTEST_FOR_VULKAN_CONTEXT()

12