Home
last modified time | relevance | path

Searched refs:vkInfo (Results 1 – 25 of 29) sorted by relevance

12

/third_party/flutter/skia/tests/
DVkBackendSurfaceTest.cpp153 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 …]
DVkDrawableTest.cpp53 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()
DSurfaceSemaphoreTest.cpp177 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/
DVkDrawableTest.cpp56 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()
DVkBackendSurfaceTest.cpp204 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);
DDeferredDisplayListTest.cpp302 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/
DGrSurfaceInfo.h44 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()
DGrBackendSurface.h274 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/
DGrBackendSurface.cpp295 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 …]
DGrGpu.cpp324 const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
325 return this->onWrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
329 const GrVkDrawableInfo& vkInfo) { in onWrapVulkanSecondaryCBAsRenderTarget() argument
DGrContextPriv.cpp182 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo, const SkSurfaceProps* props) { in makeVulkanSecondaryCBRenderTargetContext() argument
185 this->proxyProvider()->wrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo)); in makeVulkanSecondaryCBRenderTargetContext()
DGrResourceProvider.cpp412 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
415 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
/third_party/skia/src/gpu/
DGrBackendSurface.cpp466 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 …]
DGrGpu.cpp373 const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
374 return this->onWrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
378 const GrVkDrawableInfo& vkInfo) { in onWrapVulkanSecondaryCBAsRenderTarget() argument
DGrProxyProvider.cpp670 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/
DGrBackendSurface.h193 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/
DGrVkRenderTarget.cpp211 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()
DGrVkGpuCommandBuffer.cpp890 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()
DGrVkSecondaryCBDrawContext.cpp23 const GrVkDrawableInfo& vkInfo, in Make() argument
34 ctx->priv().makeVulkanSecondaryCBRenderTargetContext(imageInfo, vkInfo, props)); in Make()
DGrVkRenderTarget.h41 const GrVkDrawableInfo& vkInfo);
/third_party/skia/src/core/
DSkSurfaceCharacterization.cpp154 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/
DGrVkRenderTarget.cpp155 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()
DGrVkOpsRenderPass.cpp856 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()
DGrVkSecondaryCBDrawContext.cpp26 const GrVkDrawableInfo& vkInfo, in Make() argument
38 vkInfo)); in Make()
DGrVkRenderTarget.h35 const GrVkDrawableInfo& vkInfo);

12