Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DQueryVk.cpp26 void operator()(vk::QueryHelper &&query) { queryPool->freeQuery(contextVk, &query); } in operator ()()
28 ContextVk *contextVk; member
32 bool IsRenderPassQuery(ContextVk *contextVk, gl::QueryType type) in IsRenderPassQuery() argument
41 return contextVk->getFeatures().supportsTransformFeedbackExtension.enabled; in IsRenderPassQuery()
47 bool IsEmulatedTransformFeedbackQuery(ContextVk *contextVk, gl::QueryType type) in IsEmulatedTransformFeedbackQuery() argument
50 contextVk->getFeatures().emulateTransformFeedback.enabled; in IsEmulatedTransformFeedbackQuery()
53 bool IsPrimitivesGeneratedQueryShared(ContextVk *contextVk) in IsPrimitivesGeneratedQueryShared() argument
55 return !contextVk->getFeatures().supportsPipelineStatisticsQuery.enabled; in IsPrimitivesGeneratedQueryShared()
58 QueryVk *GetShareQuery(ContextVk *contextVk, gl::QueryType type) in GetShareQuery() argument
63 if (!IsPrimitivesGeneratedQueryShared(contextVk)) in GetShareQuery()
[all …]
DSemaphoreVk.cpp26 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
27 contextVk->addGarbage(&mSemaphore); in onDestroy()
32 ContextVk *contextVk = vk::GetImpl(context); in importFd() local
37 return importOpaqueFd(contextVk, fd); in importFd()
40 ANGLE_VK_UNREACHABLE(contextVk); in importFd()
49 ContextVk *contextVk = vk::GetImpl(context); in importZirconHandle() local
54 return importZirconEvent(contextVk, handle); in importZirconHandle()
57 ANGLE_VK_UNREACHABLE(contextVk); in importZirconHandle()
66 ContextVk *contextVk = vk::GetImpl(context); in wait() local
71 ANGLE_TRY(contextVk->syncExternalMemory()); in wait()
[all …]
DBufferVk.cpp146 ANGLE_INLINE bool ShouldAllocateNewMemoryForUpdate(ContextVk *contextVk, in ShouldAllocateNewMemoryForUpdate() argument
152 return contextVk->getRenderer()->getFeatures().preferCPUForBufferSubData.enabled || in ShouldAllocateNewMemoryForUpdate()
156 ANGLE_INLINE bool ShouldUseCPUToCopyData(ContextVk *contextVk, size_t copySize, size_t bufferSize) in ShouldUseCPUToCopyData() argument
158 RendererVk *renderer = contextVk->getRenderer(); in ShouldUseCPUToCopyData()
226 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
228 release(contextVk); in destroy()
231 void BufferVk::release(ContextVk *contextVk) in release() argument
233 RendererVk *renderer = contextVk->getRenderer(); in release()
252 angle::Result BufferVk::initializeShadowBuffer(ContextVk *contextVk, in initializeShadowBuffer() argument
256 if (!contextVk->getRenderer()->getFeatures().shadowBuffers.enabled) in initializeShadowBuffer()
[all …]
DTransformFeedbackVk.cpp56 void TransformFeedbackVk::initializeXFBBuffersDesc(ContextVk *contextVk, size_t xfbBufferCount) in initializeXFBBuffersDesc() argument
76 vk::BufferHelper &nullBuffer = contextVk->getEmptyBuffer(); in initializeXFBBuffersDesc()
91 ContextVk *contextVk = vk::GetImpl(context); in begin() local
93 const gl::ProgramExecutable *executable = contextVk->getState().getProgramExecutable(); in begin()
97 initializeXFBBuffersDesc(contextVk, xfbBufferCount); in begin()
103 if (contextVk->getFeatures().supportsTransformFeedbackExtension.enabled) in begin()
115 bufferHelper.init(contextVk, createInfo, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)); in begin()
122 ASSERT(contextVk->getFeatures().emulateTransformFeedback.enabled); in begin()
123 RendererVk *rendererVk = contextVk->getRenderer(); in begin()
137 if (contextVk->getFeatures().supportsTransformFeedbackExtension.enabled) in begin()
[all …]
DTextureVk.cpp269 const vk::Format *AdjustStorageViewFormatPerWorkarounds(ContextVk *contextVk, in AdjustStorageViewFormatPerWorkarounds() argument
274 if (contextVk->getFeatures().emulateR32fImageAtomicExchange.enabled && in AdjustStorageViewFormatPerWorkarounds()
277 return &contextVk->getRenderer()->getFormat(angle::FormatID::R32_UINT); in AdjustStorageViewFormatPerWorkarounds()
307 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
309 releaseAndDeleteImageAndViews(contextVk); in onDestroy()
338 ContextVk *contextVk = vk::GetImpl(context); in setSubImage() local
341 contextVk->getRenderer()->getFormat(levelDesc.format.info->sizedInternalFormat); in setSubImage()
374 ContextVk *contextVk = vk::GetImpl(context); in setCompressedSubImage() local
377 contextVk->getRenderer()->getFormat(levelDesc.format.info->sizedInternalFormat); in setCompressedSubImage()
378 const gl::State &glState = contextVk->getState(); in setCompressedSubImage()
[all …]
DVertexArrayVk.cpp52 void WarnOnVertexFormatConversion(ContextVk *contextVk, in WarnOnVertexFormatConversion() argument
63 contextVk, GL_DEBUG_SEVERITY_LOW, in WarnOnVertexFormatConversion()
69 angle::Result StreamVertexData(ContextVk *contextVk, in StreamVertexData() argument
83 ANGLE_TRY(dynamicBuffer->allocate(contextVk, bytesToAllocate, &dst, nullptr, bufferOffsetOut, in StreamVertexData()
107 ANGLE_TRY(dynamicBuffer->flush(contextVk)); in StreamVertexData()
130 VertexArrayVk::VertexArrayVk(ContextVk *contextVk, const gl::VertexArrayState &state) in VertexArrayVk() argument
138 mLineLoopHelper(contextVk->getRenderer()),
141 RendererVk *renderer = contextVk->getRenderer();
142 vk::BufferHelper &emptyBuffer = contextVk->getEmptyBuffer();
167 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
[all …]
DUtilsVk.cpp272 uint32_t GetGenerateMipmapFlags(ContextVk *contextVk, const angle::Format &actualFormat) in GetGenerateMipmapFlags() argument
279 contextVk->getRenderer()->getFeatures().supportsShaderFloat16.enabled; in GetGenerateMipmapFlags()
296 flags |= UtilsVk::GetGenerateMipmapMaxLevels(contextVk) == UtilsVk::kGenerateMipmapMaxLevels in GetGenerateMipmapFlags()
395 void SetStencilForShaderExport(ContextVk *contextVk, vk::GraphicsPipelineDesc *desc) in SetStencilForShaderExport() argument
397 ASSERT(contextVk->getRenderer()->getFeatures().supportsShaderStencilExport.enabled); in SetStencilForShaderExport()
1005 uint32_t UtilsVk::GetGenerateMipmapMaxLevels(ContextVk *contextVk) in GetGenerateMipmapMaxLevels() argument
1007 RendererVk *renderer = contextVk->getRenderer(); in GetGenerateMipmapMaxLevels()
1107 angle::Result UtilsVk::ensureResourcesInitialized(ContextVk *contextVk, in ensureResourcesInitialized() argument
1126 ANGLE_TRY(contextVk->getDescriptorSetLayoutCache().getDescriptorSetLayout( in ensureResourcesInitialized()
1127 contextVk, descriptorSetDesc, in ensureResourcesInitialized()
[all …]
DOverlayVk.cpp35 ContextVk *contextVk = vk::GetImpl(context); in init() local
36 RendererVk *rendererVk = contextVk->getRenderer(); in init()
68 ANGLE_TRY(createFont(contextVk)); in init()
72 ANGLE_TRY(contextVk->flushImpl(nullptr, RenderPassClosureReason::OverlayFontCreation)); in init()
89 angle::Result OverlayVk::createFont(ContextVk *contextVk) in createFont() argument
91 RendererVk *renderer = contextVk->getRenderer(); in createFont()
103 ANGLE_TRY(fontDataBuffer.get().init(contextVk, bufferCreateInfo, in createFont()
107 ANGLE_TRY(fontDataBuffer.get().map(contextVk, &fontData)); in createFont()
119 mFontImage.init(contextVk, gl::TextureType::_2D, in createFont()
124 ANGLE_TRY(mFontImage.initMemory(contextVk, false, renderer->getMemoryProperties(), in createFont()
[all …]
DFramebufferVk.cpp355 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
356 RendererVk *rendererVk = contextVk->getRenderer(); in destroy()
359 mFramebufferCache.clear(contextVk); in destroy()
375 ContextVk *contextVk = vk::GetImpl(context); in invalidate() local
377 ANGLE_TRY(invalidateImpl(contextVk, count, attachments, false, in invalidate()
378 getRotatedCompleteRenderArea(contextVk))); in invalidate()
387 ContextVk *contextVk = vk::GetImpl(context); in invalidateSub() local
391 RotateRectangle(contextVk->getRotationDrawFramebuffer(), in invalidateSub()
392 contextVk->isViewportFlipEnabledForDrawFBO(), in invalidateSub()
398 const gl::Rectangle completeRenderArea = getRotatedCompleteRenderArea(contextVk); in invalidateSub()
[all …]
DShaderVk.cpp30 ContextVk *contextVk = vk::GetImpl(context); in compile() local
48 if (contextVk->getFeatures().clampPointSize.enabled) in compile()
53 if (contextVk->getFeatures().basicGLLineRasterization.enabled) in compile()
58 if (contextVk->emulateSeamfulCubeMapSampling()) in compile()
63 if (!contextVk->getFeatures().enablePrecisionQualifiers.enabled) in compile()
68 if (contextVk->getFeatures().forceFragmentShaderPrecisionHighpToMediump.enabled) in compile()
78 if (!contextVk->getFeatures().forceDriverUniformOverSpecConst.enabled) in compile()
83 if (contextVk->getFeatures().enablePreRotateSurfaces.enabled || in compile()
84 contextVk->getFeatures().emulatedPrerotation90.enabled || in compile()
85 contextVk->getFeatures().emulatedPrerotation180.enabled || in compile()
[all …]
DProgramExecutableVk.cpp152 void ShaderInfo::release(ContextVk *contextVk) in release() argument
194 angle::Result ProgramInfo::initProgram(ContextVk *contextVk, in initProgram() argument
211 options.removeDebugInfo = !contextVk->getRenderer()->getEnableValidationLayers(); in initProgram()
214 options.isTransformFeedbackEmulated = contextVk->getFeatures().emulateTransformFeedback.enabled; in initProgram()
215 options.negativeViewportSupported = contextVk->getFeatures().supportsNegativeViewport.enabled; in initProgram()
225 ANGLE_TRY(vk::InitShaderAndSerial(contextVk, &mShaders[shaderType].get(), in initProgram()
239 void ProgramInfo::release(ContextVk *contextVk) in release() argument
241 mProgramHelper.release(contextVk); in release()
245 shader.get().destroy(contextVk->getDevice()); in release()
265 void ProgramExecutableVk::reset(ContextVk *contextVk) in reset() argument
[all …]
DResourceVk.cpp20 angle::Result FinishRunningCommands(ContextVk *contextVk, Serial serial) in FinishRunningCommands() argument
22 return contextVk->finishToSerial(serial); in FinishRunningCommands()
26 angle::Result WaitForIdle(ContextVk *contextVk, in WaitForIdle() argument
34 ANGLE_TRY(contextVk->flushImpl(nullptr, reason)); in WaitForIdle()
38 if (resource->usedInRunningCommands(contextVk->getLastCompletedQueueSerial())) in WaitForIdle()
42 ANGLE_VK_PERF_WARNING(contextVk, GL_DEBUG_SEVERITY_HIGH, "%s", debugMessage); in WaitForIdle()
44 ANGLE_TRY(resource->finishRunningCommands(contextVk)); in WaitForIdle()
47 ASSERT(!resource->isCurrentlyInUse(contextVk->getLastCompletedQueueSerial())); in WaitForIdle()
75 angle::Result Resource::finishRunningCommands(ContextVk *contextVk) in finishRunningCommands() argument
77 return FinishRunningCommands(contextVk, mUse.getSerial()); in finishRunningCommands()
[all …]
DRenderTargetVk.cpp94 void RenderTargetVk::onColorDraw(ContextVk *contextVk, in onColorDraw() argument
101 contextVk->onColorDraw(mImage, mResolveImage, packedAttachmentIndex); in onColorDraw()
111 retainImageViews(contextVk); in onColorDraw()
114 void RenderTargetVk::onColorResolve(ContextVk *contextVk, uint32_t framebufferLayerCount) in onColorResolve() argument
120 contextVk->onImageRenderPassWrite(mLevelIndexGL, mLayerIndex, framebufferLayerCount, in onColorResolve()
123 retainImageViews(contextVk); in onColorResolve()
126 void RenderTargetVk::onDepthStencilDraw(ContextVk *contextVk, uint32_t framebufferLayerCount) in onDepthStencilDraw() argument
132 contextVk->onDepthStencilDraw(mLevelIndexGL, mLayerIndex, framebufferLayerCount, mImage, in onDepthStencilDraw()
134 retainImageViews(contextVk); in onDepthStencilDraw()
161 angle::Result RenderTargetVk::getImageViewImpl(ContextVk *contextVk, in getImageViewImpl() argument
[all …]
DSyncVk.cpp83 angle::Result SyncHelper::initialize(ContextVk *contextVk, bool isEglSyncObject) in initialize() argument
96 retain(&contextVk->getResourceUseList()); in initialize()
97 return contextVk->flushImpl(nullptr, RenderPassClosureReason::SyncObjectInit); in initialize()
101 ContextVk *contextVk, in clientWait() argument
141 angle::Result SyncHelper::serverWait(ContextVk *contextVk) in serverWait() argument
147 ANGLE_TRY(contextVk->getOutsideRenderPassCommandBuffer({}, &commandBuffer)); in serverWait()
182 angle::Result SyncHelperNativeFence::initializeWithFd(ContextVk *contextVk, int inFd) in initializeWithFd() argument
199 RendererVk *renderer = contextVk->getRenderer(); in initializeWithFd()
216 ANGLE_VK_TRY(contextVk, fence.get().init(device, fenceCreateInfo)); in initializeWithFd()
227 ANGLE_TRY(contextVk->flushImpl(nullptr, RenderPassClosureReason::SyncObjectWithFdInit)); in initializeWithFd()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DQueryVk.cpp33 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
36 vk::DynamicQueryPool *queryPool = contextVk->getQueryPool(getType()); in onDestroy()
37 queryPool->freeQuery(contextVk, &mQueryHelper); in onDestroy()
38 queryPool->freeQuery(contextVk, &mQueryHelperTimeElapsedBegin); in onDestroy()
44 ContextVk *contextVk = vk::GetImpl(context); in begin() local
52 contextVk->getCommandGraph()->beginTransformFeedbackEmulatedQuery(); in begin()
58 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery(contextVk, &mQueryHelper)); in begin()
66 ANGLE_TRY(contextVk->getQueryPool(getType())->allocateQuery( in begin()
67 contextVk, &mQueryHelperTimeElapsedBegin)); in begin()
70 mQueryHelperTimeElapsedBegin.writeTimestamp(contextVk); in begin()
[all …]
DBufferVk.cpp74 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
76 release(contextVk); in destroy()
79 void BufferVk::release(ContextVk *contextVk) in release() argument
81 mBuffer.release(contextVk); in release()
85 buffer.data.release(contextVk); in release()
95 ContextVk *contextVk = vk::GetImpl(context); in setData() local
100 release(contextVk); in setData()
123 ANGLE_TRY(mBuffer.init(contextVk, createInfo, memoryPropertyFlags)); in setData()
128 ANGLE_TRY(setDataImpl(contextVk, static_cast<const uint8_t *>(data), size, 0)); in setData()
142 ContextVk *contextVk = vk::GetImpl(context); in setSubData() local
[all …]
DTextureVk.cpp86 void TextureVk::TextureVkViews::release(ContextVk *contextVk, Serial currentSerial) in release() argument
88 contextVk->releaseObject(currentSerial, &mDrawBaseLevelImageView); in release()
89 contextVk->releaseObject(currentSerial, &mReadBaseLevelImageView); in release()
90 contextVk->releaseObject(currentSerial, &mReadMipmapImageView); in release()
91 contextVk->releaseObject(currentSerial, &mFetchBaseLevelImageView); in release()
92 contextVk->releaseObject(currentSerial, &mFetchMipmapImageView); in release()
95 angle::Result TextureVk::generateMipmapLevelsWithCPU(ContextVk *contextVk, in generateMipmapLevelsWithCPU() argument
124 contextVk, mipAllocationSize, in generateMipmapLevelsWithCPU()
159 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
161 releaseAndDeleteImage(contextVk); in onDestroy()
[all …]
DVertexArrayVk.cpp51 angle::Result StreamVertexData(ContextVk *contextVk, in StreamVertexData() argument
63 ANGLE_TRY(dynamicBuffer->allocate(contextVk, bytesToAllocate, &dst, nullptr, bufferOffsetOut, in StreamVertexData()
69 ANGLE_TRY(dynamicBuffer->flush(contextVk)); in StreamVertexData()
92 VertexArrayVk::VertexArrayVk(ContextVk *contextVk, const gl::VertexArrayState &state) in VertexArrayVk() argument
99 mLineLoopHelper(contextVk->getRenderer()),
102 RendererVk *renderer = contextVk->getRenderer();
108 (void)mTheNullBuffer.init(contextVk, createInfo, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT);
129 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
131 mTheNullBuffer.release(contextVk); in destroy()
133 mDynamicVertexData.release(contextVk); in destroy()
[all …]
Dvk_helpers.cpp303 angle::Result DynamicBuffer::allocateNewBuffer(ContextVk *contextVk) in allocateNewBuffer() argument
318 ANGLE_TRY(buffer->init(contextVk, createInfo, memoryProperty)); in allocateNewBuffer()
326 angle::Result DynamicBuffer::allocate(ContextVk *contextVk, in allocate() argument
342 ANGLE_TRY(flush(contextVk)); in allocate()
343 mBuffer->unmap(contextVk->getDevice()); in allocate()
344 mBuffer->updateQueueSerial(contextVk->getCurrentQueueSerial()); in allocate()
357 toFree->release(contextVk); in allocate()
364 if (mBufferFreeList.empty() || mBufferFreeList.front()->isResourceInUse(contextVk)) in allocate()
366 ANGLE_TRY(allocateNewBuffer(contextVk)); in allocate()
401 ANGLE_TRY(mBuffer->map(contextVk, &mappedMemory)); in allocate()
[all …]
DRenderbufferVk.cpp28 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() local
29 releaseAndDeleteImage(contextVk); in onDestroy()
38 ContextVk *contextVk = vk::GetImpl(context); in setStorageImpl() local
39 RendererVk *renderer = contextVk->getRenderer(); in setStorageImpl()
44 releaseAndDeleteImage(contextVk); in setStorageImpl()
54 releaseImage(contextVk); in setStorageImpl()
75 ANGLE_TRY(mImage->init(contextVk, gl::TextureType::_2D, extents, vkFormat, in setStorageImpl()
79 ANGLE_TRY(mImage->initMemory(contextVk, renderer->getMemoryProperties(), flags)); in setStorageImpl()
85 ANGLE_TRY(mImage->initImageView(contextVk, gl::TextureType::_2D, aspect, gl::SwizzleState(), in setStorageImpl()
147 ContextVk *contextVk = vk::GetImpl(context); in setStorageEGLImageTarget() local
[all …]
DUtilsVk.cpp351 angle::Result UtilsVk::ensureResourcesInitialized(ContextVk *contextVk, in ensureResourcesInitialized() argument
357 RendererVk *renderer = contextVk->getRenderer(); in ensureResourcesInitialized()
372 ANGLE_TRY(renderer->getDescriptorSetLayout(contextVk, descriptorSetDesc, in ensureResourcesInitialized()
385 ANGLE_TRY(renderer->getPipelineLayout(contextVk, pipelineLayoutDesc, in ensureResourcesInitialized()
391 ANGLE_TRY(mDescriptorPools[function].init(contextVk, setSizes, in ensureResourcesInitialized()
398 angle::Result UtilsVk::ensureBufferClearResourcesInitialized(ContextVk *contextVk) in ensureBufferClearResourcesInitialized() argument
409 return ensureResourcesInitialized(contextVk, Function::BufferClear, setSizes, in ensureBufferClearResourcesInitialized()
413 angle::Result UtilsVk::ensureConvertIndexResourcesInitialized(ContextVk *contextVk) in ensureConvertIndexResourcesInitialized() argument
425 return ensureResourcesInitialized(contextVk, Function::ConvertIndexBuffer, setSizes, in ensureConvertIndexResourcesInitialized()
429 angle::Result UtilsVk::ensureConvertVertexResourcesInitialized(ContextVk *contextVk) in ensureConvertVertexResourcesInitialized() argument
[all …]
Dvk_helpers.h71 angle::Result allocate(ContextVk *contextVk,
79 angle::Result flush(ContextVk *contextVk);
82 angle::Result invalidate(ContextVk *contextVk);
85 void release(ContextVk *contextVk);
89 void releaseInFlightBuffers(ContextVk *contextVk);
104 angle::Result allocateNewBuffer(ContextVk *contextVk);
105 void releaseBufferListToContext(ContextVk *contextVk, std::vector<BufferHelper *> *buffers);
146 void release(ContextVk *contextVk);
148 angle::Result allocateSets(ContextVk *contextVk,
175 angle::Result init(ContextVk *contextVk,
[all …]
DSyncVk.cpp24 void FenceSyncVk::onDestroy(ContextVk *contextVk) in onDestroy() argument
28 contextVk->releaseObject(contextVk->getCurrentQueueSerial(), &mEvent); in onDestroy()
31 mFence.reset(contextVk->getDevice()); in onDestroy()
42 angle::Result FenceSyncVk::initialize(ContextVk *contextVk) in initialize() argument
46 RendererVk *renderer = contextVk->getRenderer(); in initialize()
54 ANGLE_VK_TRY(contextVk, event.get().init(device, eventCreateInfo)); in initialize()
56 ANGLE_TRY(contextVk->getNextSubmitFence(&mFence)); in initialize()
60 contextVk->getCommandGraph()->setFenceSync(mEvent); in initialize()
65 ContextVk *contextVk, in clientWait() argument
88 if (flushCommands && contextVk) in clientWait()
[all …]
DProgramVk.h24 ANGLE_INLINE bool UseLineRaster(const ContextVk *contextVk, gl::PrimitiveMode mode) in UseLineRaster() argument
26 return contextVk->getFeatures().basicGLLineRasterization.enabled && gl::IsLineMode(mode); in UseLineRaster()
108 angle::Result updateUniforms(ContextVk *contextVk);
109 angle::Result updateTexturesDescriptorSet(ContextVk *contextVk);
110 angle::Result updateShaderResourcesDescriptorSet(ContextVk *contextVk,
112 angle::Result updateTransformFeedbackDescriptorSet(ContextVk *contextVk,
115 angle::Result updateDescriptorSets(ContextVk *contextVk, vk::CommandBuffer *commandBuffer);
133 angle::Result getGraphicsPipeline(ContextVk *contextVk, in getGraphicsPipeline() argument
141 ANGLE_TRY(initGraphicsShaders(contextVk, mode, &shaderProgram)); in getGraphicsPipeline()
143 RendererVk *renderer = contextVk->getRenderer(); in getGraphicsPipeline()
[all …]
DFramebufferVk.cpp180 ContextVk *contextVk = vk::GetImpl(context); in destroy() local
181 mFramebuffer.release(contextVk); in destroy()
183 mReadPixelBuffer.release(contextVk); in destroy()
227 ContextVk *contextVk = vk::GetImpl(context); in clear() local
238 const VkClearColorValue &clearColorValue = contextVk->getClearColorValue().color; in clear()
240 contextVk->getClearDepthStencilValue().depthStencil; in clear()
253 ContextVk *contextVk = vk::GetImpl(context); in clearImpl() local
255 const gl::Rectangle scissoredRenderArea = getScissoredRenderArea(contextVk); in clearImpl()
263 mFramebuffer.updateQueueSerial(contextVk->getCurrentQueueSerial()); in clearImpl()
271 VkColorComponentFlags colorMaskFlags = contextVk->getClearColorMask(); in clearImpl()
[all …]

12345