Home
last modified time | relevance | path

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

12

/external/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.cpp149 GrVkImageInfo vkInfo;
150 if (!backendTex.getVkImageInfo(&vkInfo)) {
153 vkInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_EXTERNAL;
155 vkInfo.fImageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
157 GrBackendTexture vkExtTex(1, 1, vkInfo);
DDeferredDisplayListTest.cpp304 GrVkDrawableInfo vkInfo; in makeVkSCB() local
306 vkInfo.fSecondaryCommandBuffer = (VkCommandBuffer)1; in makeVkSCB()
307 vkInfo.fColorAttachmentIndex = 0; in makeVkSCB()
308 vkInfo.fCompatibleRenderPass = (VkRenderPass)1; in makeVkSCB()
309 vkInfo.fFormat = VK_FORMAT_R8G8B8A8_UNORM; in makeVkSCB()
310 vkInfo.fDrawBounds = nullptr; in makeVkSCB()
311 vkInfo.fImage = (VkImage)1; in makeVkSCB()
313 return GrVkSecondaryCBDrawContext::Make(dContext, imageInfo, vkInfo, &fSurfaceProps); in makeVkSCB()
/external/skqp/tests/
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.cpp162 GrVkImageInfo vkInfo; in surface_semaphore_test() local
163 SkAssertResult(backendTexture.getVkImageInfo(&vkInfo)); in surface_semaphore_test()
164 vkInfo.updateImageLayout(VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL); in surface_semaphore_test()
/external/skqp/src/gpu/
DGrBackendSurface.cpp172 const GrVkImageInfo& vkInfo) in GrBackendTexture() argument
174 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture()
175 sk_sp<GrVkImageLayout>(new GrVkImageLayout(vkInfo.fImageLayout))) {} in GrBackendTexture()
183 const GrVkImageInfo& vkInfo, in GrBackendTexture() argument
189 , fMipMapped(GrMipMapped(vkInfo.fLevelCount > 1)) in GrBackendTexture()
191 , fVkInfo(vkInfo, layout.release()) { in GrBackendTexture()
422 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument
423 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo) { in GrBackendRenderTarget()
431 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument
433 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo, in GrBackendRenderTarget()
[all …]
DGrGpu.cpp210 const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
211 return this->onWrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
215 const GrVkDrawableInfo& vkInfo) { in onWrapVulkanSecondaryCBAsRenderTarget() argument
DGrResourceProvider.cpp266 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
269 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
DGrProxyProvider.cpp566 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
577 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
DGrContext.cpp938 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo, const SkSurfaceProps* props) { in makeVulkanSecondaryCBRenderTargetContext() argument
941 this->proxyProvider()->wrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo)); in makeVulkanSecondaryCBRenderTargetContext()
/external/skqp/include/gpu/
DGrBackendSurface.h143 const GrVkImageInfo& vkInfo);
233 const GrVkImageInfo& vkInfo,
274 const GrVkImageInfo& vkInfo);
275 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo);
354 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo,
/external/skia/include/gpu/
DGrBackendSurface.h247 const GrVkImageInfo& vkInfo);
375 const GrVkImageInfo& vkInfo,
384 const GrD3DTextureResourceInfo& vkInfo,
442 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo);
444 GrBackendRenderTarget(int width, int height, const GrVkImageInfo& vkInfo);
551 const GrVkImageInfo& vkInfo,
/external/skia/src/gpu/
DGrBackendSurface.cpp428 GrBackendTexture::GrBackendTexture(int width, int height, const GrVkImageInfo& vkInfo) in GrBackendTexture() argument
429 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture()
432 vkInfo.fImageLayout, vkInfo.fCurrentQueueFamily))) {} in GrBackendTexture()
454 const GrVkImageInfo& vkInfo, in GrBackendTexture() argument
459 , fMipmapped(GrMipmapped(vkInfo.fLevelCount > 1)) in GrBackendTexture()
461 , fVkInfo(apply_default_usage_flags(vkInfo, kDefaultTexRTUsageFlags)) in GrBackendTexture()
890 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument
891 : GrBackendRenderTarget(width, height, resolve_vkii_sample_count(vkInfo, sampleCnt)) {} in GrBackendRenderTarget()
895 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument
896 : GrBackendRenderTarget(width, height, vkInfo, in GrBackendRenderTarget()
[all …]
DGrGpu.cpp346 const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
347 return this->onWrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
351 const GrVkDrawableInfo& vkInfo) { in onWrapVulkanSecondaryCBAsRenderTarget() argument
DGrProxyProvider.cpp635 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
649 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
662 colorType, GrBackendFormat::MakeVk(vkInfo.fFormat), /*sampleCount=*/1)) { in wrapVulkanSecondaryCBAsRenderTarget()
DGrResourceProvider.cpp331 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
334 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
/external/skqp/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp20 const GrVkDrawableInfo& vkInfo, in Make() argument
31 ctx->contextPriv().makeVulkanSecondaryCBRenderTargetContext(imageInfo, vkInfo, props)); in Make()
DGrVkRenderTarget.cpp206 GrVkGpu* gpu, const GrSurfaceDesc& desc, const GrVkDrawableInfo& vkInfo) { in MakeSecondaryCBRenderTarget() argument
211 info.fFormat = vkInfo.fFormat; in MakeSecondaryCBRenderTarget()
216 gpu->resourceProvider().findCompatibleExternalRenderPass(vkInfo.fCompatibleRenderPass, in MakeSecondaryCBRenderTarget()
217 vkInfo.fColorAttachmentIndex); in MakeSecondaryCBRenderTarget()
223 GrVkSecondaryCommandBuffer::Create(vkInfo.fSecondaryCommandBuffer); in MakeSecondaryCBRenderTarget()
DGrVkGpuCommandBuffer.cpp845 GrVkDrawableInfo vkInfo; in executeDrawable() local
846 vkInfo.fSecondaryCommandBuffer = cbInfo.currentCmdBuf()->vkCommandBuffer(); in executeDrawable()
847 vkInfo.fCompatibleRenderPass = cbInfo.fRenderPass->vkRenderPass(); in executeDrawable()
848 SkAssertResult(cbInfo.fRenderPass->colorAttachmentIndex(&vkInfo.fColorAttachmentIndex)); in executeDrawable()
849 vkInfo.fFormat = targetImage->imageFormat(); in executeDrawable()
850 vkInfo.fDrawBounds = &bounds; in executeDrawable()
852 GrBackendDrawableInfo info(vkInfo); in executeDrawable()
DGrVkRenderTarget.h41 const GrVkDrawableInfo& vkInfo);
/external/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()
/external/skia/src/gpu/vk/
DGrVkRenderTarget.cpp143 GrVkGpu* gpu, SkISize dimensions, const GrVkDrawableInfo& vkInfo) { in MakeSecondaryCBRenderTarget() argument
145 vkInfo.fCompatibleRenderPass, vkInfo.fColorAttachmentIndex); in MakeSecondaryCBRenderTarget()
150 if (vkInfo.fSecondaryCommandBuffer == VK_NULL_HANDLE) { in MakeSecondaryCBRenderTarget()
158 info.fFormat = vkInfo.fFormat; in MakeSecondaryCBRenderTarget()
171 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.cpp24 const GrVkDrawableInfo& vkInfo, in Make() argument
34 auto rtc = GrSurfaceDrawContext::MakeFromVulkanSecondaryCB(ctx, imageInfo, vkInfo, in Make()
DGrVkRenderTarget.h36 const GrVkDrawableInfo& vkInfo);

12