Home
last modified time | relevance | path

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

12

/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/skia/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()
DVkBackendSurfaceTest.cpp146 GrVkImageInfo vkInfo; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
147 if (!backendTex.getVkImageInfo(&vkInfo)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
150 vkInfo.fCurrentQueueFamily = VK_QUEUE_FAMILY_EXTERNAL; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
152 GrBackendTexture vkExtTex(1, 1, vkInfo); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
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/skia/src/gpu/
DGrBackendSurface.cpp182 const GrVkImageInfo& vkInfo) in GrBackendTexture() argument
184 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture()
185 sk_sp<GrVkImageLayout>(new GrVkImageLayout(vkInfo.fImageLayout))) {} in GrBackendTexture()
193 const GrVkImageInfo& vkInfo, in GrBackendTexture() argument
199 , fMipMapped(GrMipMapped(vkInfo.fLevelCount > 1)) in GrBackendTexture()
201 , fVkInfo(vkInfo, layout.release()) { in GrBackendTexture()
432 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument
433 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo) { in GrBackendRenderTarget()
441 const GrVkImageInfo& vkInfo) in GrBackendRenderTarget() argument
443 : GrBackendRenderTarget(width, height, sampleCnt, vkInfo, in GrBackendRenderTarget()
[all …]
DGrGpu.cpp209 const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
210 return this->onWrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
214 const GrVkDrawableInfo& vkInfo) { in onWrapVulkanSecondaryCBAsRenderTarget() argument
DGrResourceProvider.cpp247 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
250 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
DGrProxyProvider.cpp600 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo) { in wrapVulkanSecondaryCBAsRenderTarget() argument
614 vkInfo); in wrapVulkanSecondaryCBAsRenderTarget()
DGrContextPriv.cpp179 const SkImageInfo& imageInfo, const GrVkDrawableInfo& vkInfo, const SkSurfaceProps* props) { in makeVulkanSecondaryCBRenderTargetContext() argument
182 this->proxyProvider()->wrapVulkanSecondaryCBAsRenderTarget(imageInfo, vkInfo)); in makeVulkanSecondaryCBRenderTargetContext()
/external/skia/include/gpu/
DGrBackendSurface.h145 const GrVkImageInfo& vkInfo);
235 const GrVkImageInfo& vkInfo,
276 const GrVkImageInfo& vkInfo);
277 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo);
356 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo,
/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/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/gpu/vk/
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.cpp849 GrVkDrawableInfo vkInfo; in executeDrawable() local
850 vkInfo.fSecondaryCommandBuffer = cbInfo.currentCmdBuf()->vkCommandBuffer(); in executeDrawable()
851 vkInfo.fCompatibleRenderPass = cbInfo.fRenderPass->vkRenderPass(); in executeDrawable()
852 SkAssertResult(cbInfo.fRenderPass->colorAttachmentIndex(&vkInfo.fColorAttachmentIndex)); in executeDrawable()
853 vkInfo.fFormat = targetImage->imageFormat(); in executeDrawable()
854 vkInfo.fDrawBounds = &bounds; in executeDrawable()
856 vkInfo.fImage = targetImage->image(); in executeDrawable()
858 vkInfo.fImage = VK_NULL_HANDLE; in executeDrawable()
861 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);

12