Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/vk/
DGrVkGpu.cpp198 !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 …]
DGrVkPipelineStateBuilder.cpp207 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()
DGrVkMemory.cpp24 bool shouldPersistentlyMapCpuToGpu = gpu->vkCaps().shouldPersistentlyMapCpuToGpuBuffers(); in AllocAndBindBufferMemory()
74 if (gpu->vkCaps().shouldAlwaysUseDedicatedImageMemory()) { in AllocAndBindImageMemory()
DGrVkOpsRenderPass.cpp183 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()
DGrVkImageView.cpp24 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == ycbcrInfo.fFormat); in Make()
DGrVkRenderTarget.cpp370 void GrVkRenderTarget::ReconstructAttachmentsDescriptor(const GrVkCaps& vkCaps, in ReconstructAttachmentsDescriptor() argument
382 if (programInfo.targetSupportsVkResolveLoad() && vkCaps.preferDiscardableMSAAAttachment()) { in ReconstructAttachmentsDescriptor()
391 VkFormat stencilFormat = vkCaps.preferredStencilFormat(); in ReconstructAttachmentsDescriptor()
DGrVkBuffer.cpp80 !gpu->vkCaps().gpuOnlyBuffersMorePerformant(); in Make()
206 if ((size <= 65536) && (0 == (size & 0x3)) && !gpu->vkCaps().avoidUpdateBuffers()) { in copyCpuDataToGpuBuffer()
DGrVkImage.cpp213 if ((imageDesc.fIsProtected == GrProtected::kYes) && !gpu->vkCaps().supportsProtectedMemory()) { in InitImageInfo()
295 if (gpu->vkCaps().supportsSwapchain()) { in prepareForPresent()
DGrVkCommandPool.cpp48 gpu->vkCaps().maxPerPoolCachedSecondaryCommandBuffers()) { in GrVkCommandPool()
DGrVkSamplerYcbcrConversion.cpp14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
DGrVkDescriptorSetManager.cpp22 if (gpu->vkCaps().shaderCaps()->geometryShaderSupport()) { in CreateUniformManager()
90 (*descCountPerSet) += gpu->vkCaps().ycbcrCombinedImageSamplerDescriptorCount(); in get_layout_and_desc_count()
DGrVkSampler.cpp82 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
DGrVkRenderTarget.h120 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()
/external/skia/src/gpu/
DGrContextThreadSafeProxy.cpp118 const GrVkCaps* vkCaps = (const GrVkCaps*) fCaps.get(); in createCharacterization() local
121 if (isProtected != GrProtected(vkCaps->supportsProtectedMemory())) { in createCharacterization()
DGrAHardwareBufferUtils.cpp111 if (!gpu->vkCaps().supportsAndroidHWBExternalMemory()) { in GetBackendFormat()
320 if (!gpu->vkCaps().supportsAndroidHWBExternalMemory()) { in make_vk_backend_texture()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp217 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 …]
DGrVkImageView.cpp22 SkASSERT(gpu->vkCaps().supportsYcbcrConversion() && format == VK_FORMAT_UNDEFINED); in Create()
DGrVkSamplerYcbcrConversion.cpp14 if (!gpu->vkCaps().supportsYcbcrConversion()) { in Create()
DGrVkSampler.cpp72 SkASSERT(gpu->vkCaps().supportsYcbcrConversion()); in Create()
/external/skia/tests/
DBackendAllocationTest.cpp909 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()
DVkBackendSurfaceTest.cpp140 if (!vkGpu->vkCaps().supportsExternalMemory()) {
DBackendSurfaceMutableStateTest.cpp140 if (gpu->vkCaps().supportsExternalMemory()) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/external/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp49 return vkGpu->vkCaps().supportsYcbcrConversion(); in isYCbCrSupported()

12