/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 198 !vkGpu->vkCaps().supportsProtectedMemory()) { in Make() 325 (this->vkCaps().preferDiscardableMSAAAttachment() && vkRT->resolveAttachment() && in onGetOpsRenderPass() 345 if (useMSAASurface && this->vkCaps().preferDiscardableMSAAAttachment() && in onGetOpsRenderPass() 565 if (bufferColorType != this->vkCaps().transferColorType(format, surfaceColorType)) { in onTransferPixelsTo() 638 if (bufferColorType != this->vkCaps().transferColorType(format, surfaceColorType)) { in onTransferPixelsFrom() 722 if (this->vkCaps().preferDiscardableMSAAAttachment() && rt->resolveAttachment() && in onResolveRenderTarget() 864 SkASSERT(this->vkCaps().surfaceSupportsWritePixels(texAttachment)); in uploadTexDataOptimal() 866 SkASSERT(this->vkCaps().isVkFormatTexturable(texAttachment->imageFormat())); in uploadTexDataOptimal() 982 SkASSERT(this->vkCaps().isVkFormatTexturable(vkFormat)); in uploadTexDataCompressed() 1252 if (!check_image_info(this->vkCaps(), imageInfo, kAdopt_GrWrapOwnership == ownership, in onWrapBackendTexture() [all …]
|
D | GrVkPipelineStateBuilder.cpp | 207 settings.fRTHeightBinding = this->gpu()->vkCaps().getFragmentUniformBinding(); in finalize() 208 settings.fRTHeightSet = this->gpu()->vkCaps().getFragmentUniformSet(); in finalize() 326 pushConstantRange.stageFlags = fGpu->vkCaps().getPushConstantStageFlags(); in finalize() 353 fGpu->vkCaps().preferDiscardableMSAAAttachment())) { in finalize()
|
D | GrVkMemory.cpp | 24 bool shouldPersistentlyMapCpuToGpu = gpu->vkCaps().shouldPersistentlyMapCpuToGpuBuffers(); in AllocAndBindBufferMemory() 74 if (gpu->vkCaps().shouldAlwaysUseDedicatedImageMemory()) { in AllocAndBindImageMemory()
|
D | GrVkOpsRenderPass.cpp | 183 fGpu->vkCaps().mustLoadFullImageWithDiscardableMSAA(); in beginRenderPass() 247 if (!fGpu->vkCaps().preferPrimaryOverSecondaryCommandBuffers()) { in init() 575 if (!fGpu->vkCaps().preferPrimaryOverSecondaryCommandBuffers() || in addAdditionalRenderPass() 791 const GrVkCaps& caps = fGpu->vkCaps(); in onDrawIndirect() 816 const GrVkCaps& caps = fGpu->vkCaps(); in onDrawIndexedIndirect()
|
D | GrVkImageView.cpp | 24 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == ycbcrInfo.fFormat); in Make()
|
D | GrVkRenderTarget.cpp | 370 void GrVkRenderTarget::ReconstructAttachmentsDescriptor(const GrVkCaps& vkCaps, in ReconstructAttachmentsDescriptor() argument 382 if (programInfo.targetSupportsVkResolveLoad() && vkCaps.preferDiscardableMSAAAttachment()) { in ReconstructAttachmentsDescriptor() 391 VkFormat stencilFormat = vkCaps.preferredStencilFormat(); in ReconstructAttachmentsDescriptor()
|
D | GrVkBuffer.cpp | 80 !gpu->vkCaps().gpuOnlyBuffersMorePerformant(); in Make() 206 if ((size <= 65536) && (0 == (size & 0x3)) && !gpu->vkCaps().avoidUpdateBuffers()) { in copyCpuDataToGpuBuffer()
|
D | GrVkImage.cpp | 213 if ((imageDesc.fIsProtected == GrProtected::kYes) && !gpu->vkCaps().supportsProtectedMemory()) { in InitImageInfo() 295 if (gpu->vkCaps().supportsSwapchain()) { in prepareForPresent()
|
D | GrVkCommandPool.cpp | 48 gpu->vkCaps().maxPerPoolCachedSecondaryCommandBuffers()) { in GrVkCommandPool()
|
D | GrVkSamplerYcbcrConversion.cpp | 14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
|
D | GrVkDescriptorSetManager.cpp | 22 if (gpu->vkCaps().shaderCaps()->geometryShaderSupport()) { in CreateUniformManager() 90 (*descCountPerSet) += gpu->vkCaps().ycbcrCombinedImageSamplerDescriptorCount(); in get_layout_and_desc_count()
|
D | GrVkSampler.cpp | 82 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
|
D | GrVkRenderTarget.h | 120 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()
|
/external/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()
|
D | GrAHardwareBufferUtils.cpp | 111 if (!gpu->vkCaps().supportsAndroidHWBExternalMemory()) { in GetBackendFormat() 320 if (!gpu->vkCaps().supportsAndroidHWBExternalMemory()) { in make_vk_backend_texture()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 217 if (this->vkCaps().mustSleepOnTearDown()) { in destroyResources() 622 if (!this->vkCaps().configCanBeDstofBlit(kRGB_888_GrPixelConfig, tex->isLinearTiled()) && in uploadTexDataOptimal() 623 !this->vkCaps().maxRenderTargetSampleCount(kRGB_888_GrPixelConfig)) { in uploadTexDataOptimal() 716 if (!this->vkCaps().canCopyAsBlit(tex->config(), 1, false, in uploadTexDataOptimal() 718 !this->vkCaps().canCopyAsDraw(tex->config(), SkToBool(tex->asRenderTarget()), in uploadTexDataOptimal() 1060 if (!check_image_info(this->vkCaps(), imageInfo, backendTex.config())) { in onWrapBackendTexture() 1086 if (!check_image_info(this->vkCaps(), imageInfo, backendTex.config())) { in onWrapRenderableBackendTexture() 1209 const GrVkCaps& caps = this->vkCaps(); in onRegenerateMipMapLevels() 1295 const GrVkCaps::StencilFormat& sFmt = this->vkCaps().preferredStencilFormat(); in createStencilAttachmentForRenderTarget() 1823 SkASSERT(this->vkCaps().canCopyImage(dst->config(), dstSampleCnt, dstOrigin, in copySurfaceAsCopyImage() [all …]
|
D | GrVkImageView.cpp | 22 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == VK_FORMAT_UNDEFINED); in Create()
|
D | GrVkSamplerYcbcrConversion.cpp | 14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
|
D | GrVkSampler.cpp | 72 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
|
/external/skia/tests/ |
D | BackendAllocationTest.cpp | 909 const GrVkCaps* vkCaps = static_cast<const GrVkCaps*>(context->priv().caps()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local 959 if (!vkCaps->isVkFormatTexturable(combo.fFormat)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 966 if (GrMipmapped::kYes == mipMapped && !vkCaps->mipmapSupport()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 975 if (!vkCaps->isFormatAsColorTypeRenderable( in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
D | VkBackendSurfaceTest.cpp | 140 if (!vkGpu->vkCaps().supportsExternalMemory()) {
|
D | BackendSurfaceMutableStateTest.cpp | 140 if (gpu->vkCaps().supportsExternalMemory()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
/external/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.cpp | 49 return vkGpu->vkCaps().supportsYcbcrConversion(); in isYCbCrSupported()
|