/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 198 !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 …]
|
D | GrVkRenderTarget.cpp | 230 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()
|
D | GrVkPipelineStateBuilder.cpp | 190 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()
|
D | GrVkMemory.cpp | 24 bool shouldPersistentlyMapCpuToGpu = gpu->vkCaps().shouldPersistentlyMapCpuToGpuBuffers(); in AllocAndBindBufferMemory() 73 if (gpu->vkCaps().shouldAlwaysUseDedicatedImageMemory()) { in AllocAndBindImageMemory()
|
D | GrVkImageView.cpp | 24 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == ycbcrInfo.fFormat); in Make()
|
D | GrVkOpsRenderPass.cpp | 184 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()
|
D | GrVkBuffer.cpp | 80 !gpu->vkCaps().gpuOnlyBuffersMorePerformant(); in Make() 206 if ((size <= 65536) && (0 == (size & 0x3)) && !gpu->vkCaps().avoidUpdateBuffers()) { in copyCpuDataToGpuBuffer()
|
D | GrVkCommandPool.cpp | 49 gpu->vkCaps().maxPerPoolCachedSecondaryCommandBuffers()) { in GrVkCommandPool()
|
D | GrVkSamplerYcbcrConversion.cpp | 14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
|
D | GrVkSampler.cpp | 82 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
|
D | GrVkRenderTarget.h | 111 static void ReconstructAttachmentsDescriptor(const GrVkCaps& vkCaps,
|
D | GrVkGpu.h | 55 const GrVkCaps& vkCaps() const { return *fVkCaps; } in vkCaps() function 115 return GrBackendFormat::MakeVk(this->vkCaps().preferredStencilFormat()); in getPreferredStencilFormat()
|
D | GrVkPipelineStateDataManager.cpp | 47 commandBuffer->pushConstants(gpu, layout, gpu->vkCaps().getPushConstantStageFlags(), in uploadUniforms()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 147 !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 …]
|
D | GrVkImageView.cpp | 22 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == ycbcrInfo.fFormat); in Create()
|
D | GrVkImage.cpp | 160 if ((imageDesc.fIsProtected == GrProtected::kYes) && !gpu->vkCaps().supportsProtectedMemory()) { in InitImageInfo() 236 if (gpu->vkCaps().supportsSwapchain()) { in prepareForPresent()
|
D | GrVkSamplerYcbcrConversion.cpp | 14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
|
D | GrVkSampler.cpp | 71 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
|
/third_party/flutter/skia/src/gpu/ |
D | GrContextThreadSafeProxy.cpp | 89 const GrVkCaps* vkCaps = (const GrVkCaps*) this->caps(); in createCharacterization() local 92 if (isProtected != GrProtected(vkCaps->supportsProtectedMemory())) { in createCharacterization()
|
/third_party/skia/tests/ |
D | VkBackendSurfaceTest.cpp | 36 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()) {
|
D | BackendAllocationTest.cpp | 904 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/ |
D | GrContextThreadSafeProxy.cpp | 118 const GrVkCaps* vkCaps = (const GrVkCaps*) fCaps.get(); in createCharacterization() local 121 if (isProtected != GrProtected(vkCaps->supportsProtectedMemory())) { in createCharacterization()
|
/third_party/flutter/skia/tests/ |
D | VkBackendSurfaceTest.cpp | 138 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()) {
|
D | DeferredDisplayListTest.cpp | 76 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()
|
D | BackendAllocationTest.cpp | 670 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()
|