/third_party/flutter/skia/tests/ |
D | VkBackendSurfaceTest.cpp | 153 GrVkImageInfo vkInfo; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local 154 if (!backendTex.getVkImageInfo(&vkInfo)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 157 vkInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_EXTERNAL; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 159 GrBackendTexture vkExtTex(1, 1, vkInfo); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 236 GrVkImageInfo vkInfo; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local 237 if (!backendTex.getVkImageInfo(&vkInfo)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 246 vkInfo.fCurrentQueueFamily = vkGpu->queueIndex(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 248 vkInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_EXTERNAL; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 251 GrBackendTexture vkExtTex(1, 1, vkInfo); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 355 GrVkImageInfo vkInfo; [all …]
|
D | VkDrawableTest.cpp | 53 GrVkDrawableInfo vkInfo; in draw() local 54 SkAssertResult(info.getVkDrawableInfo(&vkInfo)); in draw() 72 attachment.colorAttachment = vkInfo.fColorAttachmentIndex; in draw() 75 GR_VK_CALL(fInterface, CmdClearAttachments(vkInfo.fSecondaryCommandBuffer, in draw() 80 vkInfo.fDrawBounds->offset = { fWidth / 2, 0 }; in draw() 81 vkInfo.fDrawBounds->extent = { (uint32_t)fWidth / 2, (uint32_t)fHeight }; in draw() 116 GrVkDrawableInfo vkInfo; in draw() local 117 SkAssertResult(info.getVkDrawableInfo(&vkInfo)); in draw() 119 fDrawProc(fTestDrawable, fMatrix, fClipBounds, fBufferInfo, vkInfo); in draw()
|
D | SurfaceSemaphoreTest.cpp | 177 GrVkImageInfo vkInfo; in surface_semaphore_test() local 178 SkAssertResult(backendTexture.getVkImageInfo(&vkInfo)); in surface_semaphore_test() 179 vkInfo.updateImageLayout(VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in surface_semaphore_test()
|
/third_party/skia/tests/ |
D | VkDrawableTest.cpp | 56 GrVkDrawableInfo vkInfo; in draw() local 57 SkAssertResult(info.getVkDrawableInfo(&vkInfo)); in draw() 75 attachment.colorAttachment = vkInfo.fColorAttachmentIndex; in draw() 78 GR_VK_CALL(fInterface, CmdClearAttachments(vkInfo.fSecondaryCommandBuffer, in draw() 83 vkInfo.fDrawBounds->offset = { fWidth / 2, 0 }; in draw() 84 vkInfo.fDrawBounds->extent = { (uint32_t)fWidth / 2, (uint32_t)fHeight }; in draw() 119 GrVkDrawableInfo vkInfo; in draw() local 120 SkAssertResult(info.getVkDrawableInfo(&vkInfo)); in draw() 122 fDrawProc(fTestDrawable, fMatrix, fClipBounds, fBufferInfo, vkInfo); in draw()
|
D | VkBackendSurfaceTest.cpp | 204 GrVkImageInfo vkInfo; 205 if (!backendTex.getVkImageInfo(&vkInfo)) { 208 vkInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_EXTERNAL; 210 vkInfo.fImageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; 212 GrBackendTexture vkExtTex(1, 1, vkInfo);
|
D | DeferredDisplayListTest.cpp | 302 GrVkDrawableInfo vkInfo; in makeVkSCB() local 304 vkInfo.fSecondaryCommandBuffer = (VkCommandBuffer)1; in makeVkSCB() 305 vkInfo.fColorAttachmentIndex = 0; in makeVkSCB() 306 vkInfo.fCompatibleRenderPass = (VkRenderPass)1; in makeVkSCB() 307 vkInfo.fFormat = VK_FORMAT_R8G8B8A8_UNORM; in makeVkSCB() 308 vkInfo.fDrawBounds = nullptr; in makeVkSCB() 309 vkInfo.fImage = (VkImage)1; in makeVkSCB() 311 return GrVkSecondaryCBDrawContext::Make(dContext, imageInfo, vkInfo, &fSurfaceProps); in makeVkSCB()
|
/third_party/skia/include/gpu/ |
D | GrSurfaceInfo.h | 44 GrSurfaceInfo(const GrVkSurfaceInfo& vkInfo) in GrSurfaceInfo() argument 47 , fSampleCount(vkInfo.fSampleCount) in GrSurfaceInfo() 48 , fLevelCount(vkInfo.fLevelCount) in GrSurfaceInfo() 49 , fProtected(vkInfo.fProtected) in GrSurfaceInfo() 50 , fVkSpec(vkInfo) {} in GrSurfaceInfo()
|
D | GrBackendSurface.h | 274 const GrVkImageInfo& vkInfo); 407 const GrVkImageInfo& vkInfo, 416 const GrD3DTextureResourceInfo& vkInfo, 479 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo); 481 GrBackendRenderTarget(int width, int height, const GrVkImageInfo& vkInfo); 592 const GrVkImageInfo& vkInfo,
|
/third_party/flutter/skia/src/gpu/ |
D | GrBackendSurface.cpp | 295 GrBackendTexture::GrBackendTexture(int width, int height, const GrVkImageInfo& vkInfo) in GrBackendTexture() argument 297 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture() 298 sk_sp<GrVkImageLayout>(new GrVkImageLayout(vkInfo.fImageLayout))) {} in GrBackendTexture() 327 const GrVkImageInfo& vkInfo, in GrBackendTexture() argument 332 , fMipMapped(GrMipMapped(vkInfo.fLevelCount > 1)) in GrBackendTexture() 334 , fVkInfo(vkInfo, layout.release()) {} in GrBackendTexture() 648 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument 649 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo) { in GrBackendRenderTarget() 657 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument 659 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo, in GrBackendRenderTarget() [all …]
|
D | GrGpu.cpp | 324 const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument 325 return this->onWrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo); in wrapVulkanSecondaryCBAsRenderTarget() 329 const GrVkDrawableInfo& vkInfo) { in onWrapVulkanSecondaryCBAsRenderTarget() argument
|
D | GrContextPriv.cpp | 182 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo, const SkSurfaceProps* props) { in makeVulkanSecondaryCBRenderTargetContext() argument 185 this->proxyProvider()->wrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo)); in makeVulkanSecondaryCBRenderTargetContext()
|
D | GrResourceProvider.cpp | 412 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument 415 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
|
/third_party/skia/src/gpu/ |
D | GrBackendSurface.cpp | 466 GrBackendTexture::GrBackendTexture(int width, int height, const GrVkImageInfo& vkInfo) in GrBackendTexture() argument 467 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture() 470 vkInfo.fImageLayout, vkInfo.fCurrentQueueFamily))) {} in GrBackendTexture() 500 const GrVkImageInfo& vkInfo, in GrBackendTexture() argument 505 , fMipmapped(GrMipmapped(vkInfo.fLevelCount > 1)) in GrBackendTexture() 507 , fTextureType(vk_image_info_to_texture_type(vkInfo)) in GrBackendTexture() 508 , fVkInfo(apply_default_usage_flags(vkInfo, kDefaultTexRTUsageFlags)) in GrBackendTexture() 945 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument 946 : GrBackendRenderTarget(width, height, resolve_vkii_sample_count(vkInfo, sampleCnt)) {} in GrBackendRenderTarget() 950 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument [all …]
|
D | GrGpu.cpp | 373 const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument 374 return this->onWrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo); in wrapVulkanSecondaryCBAsRenderTarget() 378 const GrVkDrawableInfo& vkInfo) { in onWrapVulkanSecondaryCBAsRenderTarget() argument
|
D | GrProxyProvider.cpp | 670 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument 684 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget() 697 colorType, GrBackendFormat::MakeVk(vkInfo.fFormat), /*sampleCount=*/1)) { in wrapVulkanSecondaryCBAsRenderTarget()
|
/third_party/flutter/skia/include/gpu/ |
D | GrBackendSurface.h | 193 const GrVkImageInfo& vkInfo); 291 const GrVkImageInfo& vkInfo, 345 const GrVkImageInfo& vkInfo); 346 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo); 420 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo,
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkRenderTarget.cpp | 211 GrVkGpu* gpu, const GrSurfaceDesc& desc, const GrVkDrawableInfo& vkInfo) { in MakeSecondaryCBRenderTarget() argument 216 info.fFormat = vkInfo.fFormat; in MakeSecondaryCBRenderTarget() 221 gpu->resourceProvider().findCompatibleExternalRenderPass(vkInfo.fCompatibleRenderPass, in MakeSecondaryCBRenderTarget() 222 vkInfo.fColorAttachmentIndex); in MakeSecondaryCBRenderTarget() 227 if (vkInfo.fSecondaryCommandBuffer == VK_NULL_HANDLE) { in MakeSecondaryCBRenderTarget() 232 vkInfo.fSecondaryCommandBuffer); in MakeSecondaryCBRenderTarget()
|
D | GrVkGpuCommandBuffer.cpp | 890 GrVkDrawableInfo vkInfo; in executeDrawable() local 891 vkInfo.fSecondaryCommandBuffer = cbInfo.currentCmdBuf()->vkCommandBuffer(); in executeDrawable() 892 vkInfo.fCompatibleRenderPass = cbInfo.fRenderPass->vkRenderPass(); in executeDrawable() 893 SkAssertResult(cbInfo.fRenderPass->colorAttachmentIndex(&vkInfo.fColorAttachmentIndex)); in executeDrawable() 894 vkInfo.fFormat = targetImage->imageFormat(); in executeDrawable() 895 vkInfo.fDrawBounds = &bounds; in executeDrawable() 897 vkInfo.fImage = targetImage->image(); in executeDrawable() 899 vkInfo.fImage = VK_NULL_HANDLE; in executeDrawable() 902 GrBackendDrawableInfo info(vkInfo); in executeDrawable()
|
D | GrVkSecondaryCBDrawContext.cpp | 23 const GrVkDrawableInfo& vkInfo, in Make() argument 34 ctx->priv().makeVulkanSecondaryCBRenderTargetContext(imageInfo, vkInfo, props)); in Make()
|
D | GrVkRenderTarget.h | 41 const GrVkDrawableInfo& vkInfo);
|
/third_party/skia/src/core/ |
D | SkSurfaceCharacterization.cpp | 154 GrVkImageInfo vkInfo; in isCompatible() local 155 if (!backendTex.getVkImageInfo(&vkInfo)) { in isCompatible() 158 if (!SkToBool(vkInfo.fImageUsageFlags & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT)) { in isCompatible()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkRenderTarget.cpp | 155 GrVkGpu* gpu, SkISize dimensions, const GrVkDrawableInfo& vkInfo) { in MakeSecondaryCBRenderTarget() argument 157 vkInfo.fCompatibleRenderPass, vkInfo.fColorAttachmentIndex); in MakeSecondaryCBRenderTarget() 162 if (vkInfo.fSecondaryCommandBuffer == VK_NULL_HANDLE) { in MakeSecondaryCBRenderTarget() 170 info.fFormat = vkInfo.fFormat; in MakeSecondaryCBRenderTarget() 188 GrVkSecondaryCommandBuffer::Create(vkInfo.fSecondaryCommandBuffer, rp)); in MakeSecondaryCBRenderTarget()
|
D | GrVkOpsRenderPass.cpp | 856 GrVkDrawableInfo vkInfo; in onExecuteDrawable() local 857 vkInfo.fSecondaryCommandBuffer = fCurrentSecondaryCommandBuffer->vkCommandBuffer(); in onExecuteDrawable() 858 vkInfo.fCompatibleRenderPass = fCurrentRenderPass->vkRenderPass(); in onExecuteDrawable() 859 SkAssertResult(fCurrentRenderPass->colorAttachmentIndex(&vkInfo.fColorAttachmentIndex)); in onExecuteDrawable() 860 vkInfo.fFormat = fFramebuffer->colorAttachment()->imageFormat(); in onExecuteDrawable() 861 vkInfo.fDrawBounds = &bounds; in onExecuteDrawable() 863 vkInfo.fImage = fFramebuffer->colorAttachment()->image(); in onExecuteDrawable() 865 vkInfo.fImage = VK_NULL_HANDLE; in onExecuteDrawable() 868 GrBackendDrawableInfo info(vkInfo); in onExecuteDrawable()
|
D | GrVkSecondaryCBDrawContext.cpp | 26 const GrVkDrawableInfo& vkInfo, in Make() argument 38 vkInfo)); in Make()
|
D | GrVkRenderTarget.h | 35 const GrVkDrawableInfo& vkInfo);
|