Home
last modified time | relevance | path

Searched refs:contextVk (Results 1 – 25 of 108) sorted by relevance

12345

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/renderer/vulkan/
H A DQueryVk.cpp33 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
47 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in stashQueryHelper()
67 ContextVk *contextVk = vk::GetImpl(context); in begin() local
81 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in begin()
96 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in begin()
98 contextVk->beginOcclusionQuery(this); in begin()
121 ContextVk *contextVk = vk::GetImpl(context); in end() local
140 contextVk->endOcclusionQuery(this); in end()
163 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in queryCounter()
187 if (mQueryHelper.hasPendingWork(contextVk)) in getResult()
[all …]
H A DTransformFeedbackVk.cpp82 ContextVk *contextVk = vk::GetImpl(context); in begin() local
88 initializeXFBBuffersDesc(contextVk, xfbBufferCount); in begin()
114 RendererVk *rendererVk = contextVk->getRenderer(); in begin()
148 ContextVk *contextVk = vk::GetImpl(context); in end() local
149 contextVk->onEndTransformFeedback(); in end()
155 ContextVk *contextVk = vk::GetImpl(context); in pause() local
172 return contextVk->onPauseTransformFeedback(); in pause()
184 initializeXFBBuffersDesc(contextVk, xfbBufferCount); in resume()
195 ContextVk *contextVk = vk::GetImpl(context); in bindIndexedBuffer() local
198 contextVk->invalidateCurrentTransformFeedbackBuffers(); in bindIndexedBuffer()
[all …]
H A DSemaphoreVk.cpp62 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
63 contextVk->addGarbage(&mSemaphore); in onDestroy()
68 ContextVk *contextVk = vk::GetImpl(context); in importFd() local
73 return importOpaqueFd(contextVk, fd); in importFd()
76 ANGLE_VK_UNREACHABLE(contextVk); in importFd()
85 ContextVk *contextVk = vk::GetImpl(context); in importZirconHandle() local
93 ANGLE_VK_UNREACHABLE(contextVk); in importZirconHandle()
102 ContextVk *contextVk = vk::GetImpl(context); in wait() local
107 ANGLE_TRY(contextVk->syncExternalMemory()); in wait()
160 ContextVk *contextVk = vk::GetImpl(context); in signal() local
[all …]
H A DBufferVk.cpp148 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
150 release(contextVk); in destroy()
153 void BufferVk::release(ContextVk *contextVk) in release() argument
248 ContextVk *contextVk = vk::GetImpl(context); in setDataWithMemoryType() local
255 release(contextVk); in setDataWithMemoryType()
305 ContextVk *contextVk = vk::GetImpl(context); in setSubData() local
330 contextVk, in copySubData()
441 mBuffer->unmap(contextVk->getRenderer()); in unmapImpl()
505 ContextVk *contextVk = vk::GetImpl(context); in getIndexRange() local
555 mBuffer->unmap(contextVk->getRenderer()); in directUpdate()
[all …]
H A DUtilsVk.cpp929 ANGLE_VK_TRY(contextVk, mPointSampler.init(contextVk->getDevice(), samplerInfo)); in ensureSamplersInitialized()
937 ANGLE_VK_TRY(contextVk, mLinearSampler.init(contextVk->getDevice(), samplerInfo)); in ensureSamplersInitialized()
993 contextVk, &contextVk->getRenderPassCache(), *pipelineCache, pipelineLayout.get(), in setupProgram()
1065 ANGLE_TRY(contextVk->getShaderLibrary().getConvertIndex_comp(contextVk, flags, &shader)); in convertIndexBuffer()
1132 ANGLE_TRY(contextVk->getShaderLibrary().getConvertIndex_comp(contextVk, flags, &shader)); in convertIndexIndirectBuffer()
1151 ContextVk *contextVk, in convertLineLoopIndexIndirectBuffer() argument
1212 ContextVk *contextVk, in convertLineLoopArrayIndirectBuffer() argument
1373 ANGLE_VK_TRY(contextVk, framebuffer.init(contextVk->getDevice(), framebufferInfo)); in startRenderPass()
2507 ANGLE_TRY(contextVk->getShaderLibrary().getOverlayCull_comp(contextVk, flags, &shader)); in cullOverlayWidgets()
2611 ANGLE_TRY(contextVk->getShaderLibrary().getOverlayDraw_comp(contextVk, flags, &shader)); in drawOverlay()
[all …]
H A DSyncVk.cpp64 contextVk->getRenderer()->waitForCommandProcessorIdle(contextVk); in initialize()
77 retain(&contextVk->getResourceUseList()); in initialize()
79 contextVk->onSyncHelperInitialize(); in initialize()
108 if (flushCommands && contextVk) in clientWait()
143 retain(&contextVk->getResourceUseList()); in serverWait()
240 ANGLE_TRY(renderer->queueSubmit(contextVk, contextVk->getPriority(), submitInfo, in initializeWithFd()
269 retain(&contextVk->getResourceUseList()); in initializeWithFd()
298 if (flushCommands && contextVk) in clientWait()
308 contextVk->getRenderer()->waitForCommandProcessorIdle(contextVk); in clientWait()
348 ANGLE_TRY(contextVk->flushImpl(nullptr)); in serverWait()
[all …]
H A DTextureVk.cpp236 ANGLE_VK_CHECK_MATH(contextVk, in CopyAndStageImageSubresource()
270 releaseAndDeleteImage(contextVk); in onDestroy()
1207 releaseImage(contextVk); in setStorageMultisample()
1226 releaseAndDeleteImage(contextVk); in setStorageExternalMemory()
1335 releaseImage(contextVk); in releaseAndDeleteImage()
1903 releaseImage(contextVk); in respecifyImageStorageAndLevels()
1927 releaseImage(contextVk); in respecifyImageStorageAndLevels()
1955 releaseImage(contextVk); in respecifyImageStorageAndLevels()
1988 releaseImage(contextVk); in releaseTexImage()
2191 releaseImage(contextVk); in prepareForGenerateMipmap()
[all …]
H A DVertexArrayVk.cpp52 angle::Result StreamVertexData(ContextVk *contextVk, in StreamVertexData() argument
90 ANGLE_TRY(dynamicBuffer->flush(contextVk)); in StreamVertexData()
121 mLineLoopHelper(contextVk->getRenderer()),
149 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
157 mLineLoopHelper.release(contextVk); in destroy()
184 return contextVk->getUtils().convertIndexBuffer(contextVk, dest, src, params); in convertIndexBufferGPU()
229 return contextVk->getUtils().convertIndexIndirectBuffer(contextVk, srcIndirectBuf, srcIndexBuf, in convertIndexBufferIndirectGPU()
255 ContextVk *contextVk = vk::GetImpl(context); in handleLineLoopIndirectDraw() local
338 return mDynamicIndexData.flush(contextVk); in convertIndexBufferCPU()
423 ANGLE_TRY(srcBuffer->unmapImpl(contextVk)); in convertVertexBufferCPU()
[all …]
H A DOverlayVk.cpp31 ContextVk *contextVk = vk::GetImpl(context); in init() local
32 RendererVk *rendererVk = contextVk->getRenderer(); in init()
64 ANGLE_TRY(createFont(contextVk)); in init()
68 return contextVk->flushImpl(nullptr); in init()
85 RendererVk *renderer = contextVk->getRenderer(); in createFont()
113 contextVk, gl::TextureType::_2D, in createFont()
148 RendererVk *renderer = contextVk->getRenderer(); in cullWidgets()
152 contextVk->addGarbage(&mCulledWidgetsView); in cullWidgets()
201 return contextVk->getUtils().cullOverlayWidgets(contextVk, &enabledWidgetsBuffer.get(), in cullWidgets()
235 ANGLE_TRY(cullWidgets(contextVk)); in onPresent()
[all …]
H A DProgramExecutableVk.cpp373 ContextVk *contextVk, in allocUniformAndXfbDescriptorSet() argument
418 ContextVk *contextVk, in allocateDescriptorSetAndGetInfo() argument
668 ContextVk *contextVk, in getGraphicsPipeline() argument
724 ContextVk *contextVk, in initDynamicDescriptorPools() argument
782 reset(contextVk); in createPipelineLayout()
944 ContextVk *contextVk) in updateDefaultUniformsDescriptorSet() argument
983 ContextVk *contextVk, in updateBuffersDescriptorSet() argument
1079 ContextVk *contextVk, in updateAtomicCounterBuffersDescriptorSet() argument
1184 ContextVk *contextVk) in updateImagesDescriptorSet() argument
1289 ContextVk *contextVk, in updateShaderResourcesDescriptorSet() argument
[all …]
H A DFramebufferVk.cpp325 tmpFB.release(contextVk); in clearCache()
335 clearCache(contextVk); in destroy()
534 ANGLE_TRY(clearWithCommand(contextVk, &contextVk->getStartedRenderPassCommands(), in clearImpl()
551 redeferClears(contextVk); in clearImpl()
1699 clearCache(contextVk); in syncState()
2026 ANGLE_TRY(contextVk->getUtils().clearFramebuffer(contextVk, this, params)); in clearWithDraw()
2037 ANGLE_TRY(contextVk->getUtils().clearFramebuffer(contextVk, this, params)); in clearWithDraw()
2128 contextVk->getStartedRenderPassCommands().growRenderArea(contextVk, scissoredRenderArea); in clearWithCommand()
2465 ANGLE_TRY(contextVk->getUtils().unresolve(contextVk, this, params)); in startNewRenderPass()
2468 contextVk->startNextSubpass(); in startNewRenderPass()
[all …]
H A DProgramPipelineVk.cpp28 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
29 reset(contextVk); in destroy()
32 void ProgramPipelineVk::reset(ContextVk *contextVk) in reset() argument
34 mExecutable.reset(contextVk); in reset()
40 const ContextVk *contextVk, in fillProgramStateMap() argument
99 ContextVk *contextVk, in calcUniformUpdateRequiredSpace() argument
142 setAllDefaultUniformsDirty(contextVk->getState()); in updateUniforms()
164 ANGLE_TRY(defaultUniformStorage->flush(contextVk)); in updateUniforms()
207 defaultUniformBuffer, contextVk); in updateUniforms()
243 void ProgramPipelineVk::onProgramBind(ContextVk *contextVk) in onProgramBind() argument
[all …]
H A DRenderTargetVk.cpp90 void RenderTargetVk::onColorDraw(ContextVk *contextVk) in onColorDraw() argument
101 retainImageViews(contextVk); in onColorDraw()
104 void RenderTargetVk::onDepthStencilDraw(ContextVk *contextVk) in onDepthStencilDraw() argument
110 retainImageViews(contextVk); in onDepthStencilDraw()
137 angle::Result RenderTargetVk::getImageViewImpl(ContextVk *contextVk, in getImageViewImpl() argument
148 angle::Result RenderTargetVk::getImageView(ContextVk *contextVk, in getImageView() argument
178 retainImageViews(contextVk); in getAndRetainCopyImageView()
271 void RenderTargetVk::retainImageViews(ContextVk *contextVk) const in retainImageViews()
273 mImageViews->retain(&contextVk->getResourceUseList()); in retainImageViews()
276 mResolveImageViews->retain(&contextVk->getResourceUseList()); in retainImageViews()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/
H A DQueryVk.cpp33 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
47 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in stashQueryHelper()
67 ContextVk *contextVk = vk::GetImpl(context); in begin() local
81 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in begin()
96 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in begin()
98 contextVk->beginOcclusionQuery(this); in begin()
121 ContextVk *contextVk = vk::GetImpl(context); in end() local
140 contextVk->endOcclusionQuery(this); in end()
157 ContextVk *contextVk = vk::GetImpl(context); in queryCounter() local
163 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in queryCounter()
[all …]
H A DOverlayVk.cpp31 ContextVk *contextVk = vk::GetImpl(context); in init() local
32 RendererVk *rendererVk = contextVk->getRenderer(); in init()
64 ANGLE_TRY(createFont(contextVk)); in init()
68 return contextVk->flushImpl(nullptr); in init()
84 RendererVk *renderer = contextVk->getRenderer(); in createFont()
147 RendererVk *renderer = contextVk->getRenderer(); in cullWidgets()
151 contextVk->addGarbage(&mCulledWidgetsView); in cullWidgets()
199 return contextVk->getUtils().cullOverlayWidgets(contextVk, &enabledWidgetsBuffer.get(), in cullWidgets()
212 RendererVk *renderer = contextVk->getRenderer(); in onPresent()
233 ANGLE_TRY(cullWidgets(contextVk)); in onPresent()
[all …]
H A DTransformFeedbackVk.cpp47 ContextVk *contextVk = vk::GetImpl(context); in begin() local
49 contextVk->onTransformFeedbackStateChanged(); in begin()
71 ContextVk *contextVk = vk::GetImpl(context); in end() local
72 contextVk->onTransformFeedbackStateChanged(); in end()
79 ContextVk *contextVk = vk::GetImpl(context); in pause() local
81 contextVk->onTransformFeedbackStateChanged(); in pause()
95 ContextVk *contextVk = vk::GetImpl(context); in resume() local
97 contextVk->onTransformFeedbackStateChanged(); in resume()
114 ContextVk *contextVk = vk::GetImpl(context); in bindIndexedBuffer() local
164 ContextVk *contextVk, in updateDescriptorSetLayout() argument
[all …]
H A DBufferVk.cpp150 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
152 release(contextVk); in destroy()
155 void BufferVk::release(ContextVk *contextVk) in release() argument
213 ContextVk *contextVk = vk::GetImpl(context); in setData() local
218 release(contextVk); in setData()
270 ContextVk *contextVk = vk::GetImpl(context); in setSubData() local
284 ContextVk *contextVk = vk::GetImpl(context); in copySubData() local
362 ANGLE_VK_TRY(contextVk, in mapRangeImpl()
430 ContextVk *contextVk = vk::GetImpl(context); in getIndexRange() local
455 ANGLE_VK_TRY(contextVk, mBuffer.getDeviceMemory().map(contextVk->getDevice(), offset, in getIndexRange()
[all …]
H A DUtilsVk.cpp697 ANGLE_VK_TRY(contextVk, mPointSampler.init(contextVk->getDevice(), samplerInfo)); in ensureSamplersInitialized()
705 ANGLE_VK_TRY(contextVk, mLinearSampler.init(contextVk->getDevice(), samplerInfo)); in ensureSamplersInitialized()
759 ANGLE_TRY(program->getGraphicsPipeline(contextVk, &contextVk->getRenderPassCache(), in setupProgram()
827 ANGLE_TRY(contextVk->getShaderLibrary().getBufferUtils_comp(contextVk, flags, &shader)); in clearBuffer()
882 ANGLE_TRY(contextVk->getShaderLibrary().getConvertIndex_comp(contextVk, flags, &shader)); in convertIndexBuffer()
949 ANGLE_TRY(contextVk->getShaderLibrary().getConvertIndex_comp(contextVk, flags, &shader)); in convertIndexIndirectBuffer()
968 ContextVk *contextVk, in convertLineLoopIndexIndirectBuffer() argument
1029 ContextVk *contextVk, in convertLineLoopArrayIndirectBuffer() argument
1186 ANGLE_VK_TRY(contextVk, framebuffer.init(contextVk->getDevice(), framebufferInfo)); in startRenderPass()
1838 ANGLE_TRY(contextVk->getShaderLibrary().getOverlayCull_comp(contextVk, flags, &shader)); in cullOverlayWidgets()
[all …]
H A DTextureVk.cpp127 releaseAndDeleteImage(contextVk); in onDestroy()
767 releaseImage(contextVk); in setStorageMultisample()
784 releaseAndDeleteImage(contextVk); in setStorageExternalMemory()
807 releaseAndDeleteImage(contextVk); in setEGLImageTarget()
876 releaseImage(contextVk); in releaseAndDeleteImage()
1156 releaseImage(contextVk); in generateMipmap()
1317 releaseImage(contextVk); in changeLevels()
1329 releaseAndDeleteImage(contextVk); in bindTexImage()
1348 releaseImage(contextVk); in releaseTexImage()
1537 ANGLE_VK_TRY(contextVk, mSampler.get().init(contextVk->getDevice(), samplerInfo)); in syncState()
[all …]
H A DVertexArrayVk.cpp52 angle::Result StreamVertexData(ContextVk *contextVk, in StreamVertexData() argument
90 ANGLE_TRY(dynamicBuffer->flush(contextVk)); in StreamVertexData()
121 mLineLoopHelper(contextVk->getRenderer()),
154 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
164 mLineLoopHelper.release(contextVk); in destroy()
191 return contextVk->getUtils().convertIndexBuffer(contextVk, dest, src, params); in convertIndexBufferGPU()
236 return contextVk->getUtils().convertIndexIndirectBuffer(contextVk, srcIndirectBuf, srcIndexBuf, in convertIndexBufferIndirectGPU()
262 ContextVk *contextVk = vk::GetImpl(context); in handleLineLoopIndirectDraw() local
345 return mDynamicIndexData.flush(contextVk); in convertIndexBufferCPU()
428 ANGLE_TRY(srcBuffer->unmapImpl(contextVk)); in convertVertexBufferCPU()
[all …]
H A DSemaphoreVk.cpp62 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
63 contextVk->addGarbage(&mSemaphore); in onDestroy()
68 ContextVk *contextVk = vk::GetImpl(context); in importFd() local
73 return importOpaqueFd(contextVk, fd); in importFd()
76 ANGLE_VK_UNREACHABLE(contextVk); in importFd()
85 ContextVk *contextVk = vk::GetImpl(context); in importZirconHandle() local
93 ANGLE_VK_UNREACHABLE(contextVk); in importZirconHandle()
102 ContextVk *contextVk = vk::GetImpl(context); in wait() local
151 contextVk->insertWaitSemaphore(&mSemaphore); in wait()
159 ContextVk *contextVk = vk::GetImpl(context); in signal() local
[all …]
H A DFramebufferVk.cpp132 tmpFB.release(contextVk); in clearCache()
142 clearCache(contextVk); in destroy()
1038 ANGLE_TRY(contextVk->endRenderPass()); in invalidateImpl()
1110 clearCache(contextVk); in syncState()
1126 contextVk)); in syncState()
1141 contextVk)); in syncState()
1165 ANGLE_TRY(contextVk->endRenderPass()); in syncState()
1231 iter->second.release(contextVk); in getFramebuffer()
1334 ANGLE_TRY(contextVk->getUtils().clearFramebuffer(contextVk, this, params)); in clearWithDraw()
1344 ANGLE_TRY(contextVk->getUtils().clearFramebuffer(contextVk, this, params)); in clearWithDraw()
[all …]
H A Dvk_helpers.cpp867 ANGLE_VK_TRY(contextVk, mDescriptorPool.allocateDescriptorSets(contextVk->getDevice(), in allocateSets()
922 ContextVk *contextVk, in allocateSetsAndGetInfo() argument
1126 ANGLE_VK_TRY(contextVk, queryPool.init(contextVk->getDevice(), queryPoolInfo)); in allocateNewPool()
1326 ANGLE_VK_TRY(contextVk, semaphore.init(contextVk->getDevice())); in allocateNewPool()
1658 if (contextVk->shouldFlush()) in init()
1677 ANGLE_VK_TRY(contextVk, mBuffer.init(contextVk->getDevice(), *createInfo)); in init()
1799 ANGLE_VK_TRY(contextVk, mBufferView.init(contextVk->getDevice(), viewCreateInfo)); in initBufferView()
1831 ANGLE_VK_TRY(contextVk, vkFlushMappedMemoryRanges(contextVk->getDevice(), 1, &range)); in flush()
1847 ANGLE_VK_TRY(contextVk, vkInvalidateMappedMemoryRanges(contextVk->getDevice(), 1, &range)); in invalidate()
2816 ANGLE_VK_CHECK_MATH(contextVk, in CalculateBufferInfo()
[all …]
H A DRenderTargetVk.cpp57 vk::AttachmentSerial RenderTargetVk::getAssignSerial(ContextVk *contextVk) in getAssignSerial() argument
63 Serial imageSerial = mImage->getAssignSerial(contextVk); in getAssignSerial()
71 angle::Result RenderTargetVk::onColorDraw(ContextVk *contextVk) in onColorDraw() argument
77 retainImageViews(contextVk); in onColorDraw()
82 angle::Result RenderTargetVk::onDepthStencilDraw(ContextVk *contextVk) in onDepthStencilDraw() argument
90 retainImageViews(contextVk); in onDepthStencilDraw()
107 angle::Result RenderTargetVk::getImageView(ContextVk *contextVk, in getImageView() argument
137 retainImageViews(contextVk); in getImageForWrite()
141 angle::Result RenderTargetVk::flushStagedUpdates(ContextVk *contextVk) in flushStagedUpdates() argument
153 void RenderTargetVk::retainImageViews(ContextVk *contextVk) const in retainImageViews()
[all …]
H A DRenderbufferVk.cpp28 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
29 releaseAndDeleteImage(contextVk); in onDestroy()
38 ContextVk *contextVk = vk::GetImpl(context); in setStorageImpl() local
44 releaseAndDeleteImage(contextVk); in setStorageImpl()
54 releaseImage(contextVk); in setStorageImpl()
110 ContextVk *contextVk = vk::GetImpl(context); in setStorageEGLImageTarget() local
113 releaseAndDeleteImage(contextVk); in setStorageEGLImageTarget()
169 ContextVk *contextVk = vk::GetImpl(context); in releaseOwnershipOfImage() local
172 releaseAndDeleteImage(contextVk); in releaseOwnershipOfImage()
177 releaseImage(contextVk); in releaseAndDeleteImage()
[all …]

12345