/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | UtilsVk.h | 204 static uint32_t GetGenerateMipmapMaxLevels(ContextVk *contextVk); 206 angle::Result convertIndexBuffer(ContextVk *contextVk, 210 angle::Result convertIndexIndirectBuffer(ContextVk *contextVk, 218 ContextVk *contextVk, 226 ContextVk *contextVk, 232 angle::Result convertVertexBuffer(ContextVk *contextVk, 237 angle::Result clearFramebuffer(ContextVk *contextVk, 242 angle::Result colorBlitResolve(ContextVk *contextVk, 247 angle::Result depthStencilBlitResolve(ContextVk *contextVk, 253 angle::Result stencilBlitResolveNoShaderExport(ContextVk *contextVk, [all …]
|
D | ContextVk.cpp | 143 bool CanMultiDrawIndirectUseCmd(ContextVk *contextVk, in CanMultiDrawIndirectUseCmd() 464 constexpr ContextVk::DirtyBits ContextVk::kIndexAndVertexDirtyBits; 465 constexpr ContextVk::DirtyBits ContextVk::kPipelineDescAndBindingDirtyBits; 466 constexpr ContextVk::DirtyBits ContextVk::kTexturesAndDescSetDirtyBits; 467 constexpr ContextVk::DirtyBits ContextVk::kResourcesAndDescSetDirtyBits; 468 constexpr ContextVk::DirtyBits ContextVk::kXfbBuffersAndDescSetDirtyBits; 469 constexpr ContextVk::DirtyBits ContextVk::kDriverUniformsAndBindingDirtyBits; 471 void ContextVk::flushDescriptorSetUpdates() in flushDescriptorSetUpdates() 487 ANGLE_INLINE void ContextVk::onRenderPassFinished(RenderPassClosureReason reason) in onRenderPassFinished() 506 ContextVk::DriverUniformsDescriptorSet::DriverUniformsDescriptorSet() in DriverUniformsDescriptorSet() [all …]
|
D | ProgramExecutableVk.h | 35 void release(ContextVk *contextVk); 69 angle::Result initProgram(ContextVk *contextVk, 76 void release(ContextVk *contextVk); 121 void reset(ContextVk *contextVk); 130 void fillProgramStateMap(const ContextVk *contextVk, 146 angle::Result getGraphicsPipeline(ContextVk *contextVk, 152 angle::Result getComputePipeline(ContextVk *contextVk, vk::PipelineHelper **pipelineOut); 155 angle::Result createPipelineLayout(ContextVk *contextVk, 159 angle::Result updateTexturesDescriptorSet(ContextVk *contextVk, 162 ContextVk *contextVk, [all …]
|
D | TextureVk.h | 213 const vk::ImageView &getReadImageViewAndRecordUse(ContextVk *contextVk, 219 const vk::ImageView &getFetchImageViewAndRecordUse(ContextVk *contextVk, 224 const vk::ImageView &getCopyImageViewAndRecordUse(ContextVk *contextVk) const; 225 angle::Result getStorageImageView(ContextVk *contextVk, 235 angle::Result getBufferViewAndRecordUse(ContextVk *contextVk, 241 angle::Result ensureImageInitialized(ContextVk *contextVk, ImageMipLevels mipLevels); 282 angle::Result ensureMutable(ContextVk *contextVk); 283 angle::Result ensureRenderable(ContextVk *contextVk); 302 void releaseAndDeleteImageAndViews(ContextVk *contextVk); 303 angle::Result ensureImageAllocated(ContextVk *contextVk, const vk::Format &format); [all …]
|
D | BufferVk.h | 119 bool isCurrentlyInUse(ContextVk *contextVk) const; 121 angle::Result mapImpl(ContextVk *contextVk, GLbitfield access, void **mapPtr); 122 angle::Result mapRangeImpl(ContextVk *contextVk, 127 angle::Result unmapImpl(ContextVk *contextVk); 128 angle::Result ghostMappedBuffer(ContextVk *contextVk, 141 angle::Result initializeShadowBuffer(ContextVk *contextVk, 144 void initializeHostVisibleBufferPool(ContextVk *contextVk); 157 angle::Result updateBuffer(ContextVk *contextVk, 161 angle::Result directUpdate(ContextVk *contextVk, 165 angle::Result stagedUpdate(ContextVk *contextVk, [all …]
|
D | vk_helpers.h | 111 angle::Result allocateWithAlignment(ContextVk *contextVk, 120 angle::Result allocate(ContextVk *contextVk, in allocate() 132 angle::Result flush(ContextVk *contextVk); 135 angle::Result invalidate(ContextVk *contextVk); 141 void releaseInFlightBuffers(ContextVk *contextVk); 144 void releaseInFlightBuffersToResourceUseList(ContextVk *contextVk); 170 angle::Result allocateNewBuffer(ContextVk *contextVk); 273 angle::Result init(ContextVk *contextVk, 277 void release(ContextVk *contextVk); 279 angle::Result allocateSets(ContextVk *contextVk, [all …]
|
D | RenderTargetVk.h | 29 class ContextVk; variable 69 void onColorDraw(ContextVk *contextVk, 72 void onColorResolve(ContextVk *contextVk, uint32_t framebufferLayerCount); 73 void onDepthStencilDraw(ContextVk *contextVk, uint32_t framebufferLayerCount); 85 angle::Result getImageView(ContextVk *contextVk, const vk::ImageView **imageViewOut) const; 86 angle::Result getImageViewWithColorspace(ContextVk *contextVk, 89 angle::Result getResolveImageView(ContextVk *contextVk, 94 angle::Result getAndRetainCopyImageView(ContextVk *contextVk, 117 angle::Result flushStagedUpdates(ContextVk *contextVk, 122 void retainImageViews(ContextVk *contextVk) const; [all …]
|
D | FramebufferVk.h | 37 bool get(ContextVk *contextVk, 41 void clear(ContextVk *contextVk); 123 angle::Result readPixelsImpl(ContextVk *contextVk, 132 gl::Rectangle getRotatedCompleteRenderArea(ContextVk *contextVk) const; 133 gl::Rectangle getRotatedScissoredRenderArea(ContextVk *contextVk) const; 139 angle::Result startNewRenderPass(ContextVk *contextVk, 148 angle::Result getFramebuffer(ContextVk *contextVk, 153 angle::Result flushDeferredClears(ContextVk *contextVk); 159 void updateRenderPassReadOnlyDepthMode(ContextVk *contextVk, 162 void onSwitchProgramFramebufferFetch(ContextVk *contextVk, bool programUsesFramebufferFetch); [all …]
|
D | VertexArrayVk.h | 25 VertexArrayVk(ContextVk *contextVk, const gl::VertexArrayState &state); 35 angle::Result updateActiveAttribInfo(ContextVk *contextVk); 37 angle::Result updateDefaultAttrib(ContextVk *contextVk, 50 angle::Result handleLineLoop(ContextVk *contextVk, 57 angle::Result handleLineLoopIndexIndirect(ContextVk *contextVk, 92 angle::Result convertIndexBufferGPU(ContextVk *contextVk, 96 angle::Result convertIndexBufferIndirectGPU(ContextVk *contextVk, 102 angle::Result convertIndexBufferCPU(ContextVk *contextVk, 113 angle::Result setDefaultPackedInput(ContextVk *contextVk, size_t attribIndex); 115 angle::Result convertVertexBufferGPU(ContextVk *contextVk, [all …]
|
D | QueryVk.h | 47 angle::Result onRenderPassStart(ContextVk *contextVk); 48 void onRenderPassEnd(ContextVk *contextVk); 55 angle::Result finishRunningCommands(ContextVk *contextVk); 57 uint32_t getQueryResultCount(ContextVk *contextVk) const; 58 angle::Result accumulateStashedQueryResult(ContextVk *contextVk, vk::QueryResult *result); 61 angle::Result allocateQuery(ContextVk *contextVk); 63 void releaseQueries(ContextVk *contextVk); 64 void releaseStashedQueries(ContextVk *contextVk); 68 angle::Result setupBegin(ContextVk *contextVk);
|
D | QueryVk.cpp | 28 ContextVk *contextVk; 32 bool IsRenderPassQuery(ContextVk *contextVk, gl::QueryType type) in IsRenderPassQuery() 47 bool IsEmulatedTransformFeedbackQuery(ContextVk *contextVk, gl::QueryType type) in IsEmulatedTransformFeedbackQuery() 53 bool IsPrimitivesGeneratedQueryShared(ContextVk *contextVk) in IsPrimitivesGeneratedQueryShared() 58 QueryVk *GetShareQuery(ContextVk *contextVk, gl::QueryType type) in GetShareQuery() 88 QueryVk *GetOnRenderPassStartEndShareQuery(ContextVk *contextVk, gl::QueryType type) in GetOnRenderPassStartEndShareQuery() 115 angle::Result QueryVk::allocateQuery(ContextVk *contextVk) in allocateQuery() 141 void QueryVk::releaseQueries(ContextVk *contextVk) in releaseQueries() 160 void QueryVk::releaseStashedQueries(ContextVk *contextVk) in releaseStashedQueries() 176 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() [all …]
|
D | RenderTargetVk.cpp | 94 void RenderTargetVk::onColorDraw(ContextVk *contextVk, in onColorDraw() 114 void RenderTargetVk::onColorResolve(ContextVk *contextVk, uint32_t framebufferLayerCount) in onColorResolve() 126 void RenderTargetVk::onDepthStencilDraw(ContextVk *contextVk, uint32_t framebufferLayerCount) in onDepthStencilDraw() 161 angle::Result RenderTargetVk::getImageViewImpl(ContextVk *contextVk, in getImageViewImpl() 180 angle::Result RenderTargetVk::getImageView(ContextVk *contextVk, in getImageView() 188 angle::Result RenderTargetVk::getImageViewWithColorspace(ContextVk *contextVk, in getImageViewWithColorspace() 196 angle::Result RenderTargetVk::getResolveImageView(ContextVk *contextVk, in getResolveImageView() 217 angle::Result RenderTargetVk::getAndRetainCopyImageView(ContextVk *contextVk, in getAndRetainCopyImageView() 302 angle::Result RenderTargetVk::flushStagedUpdates(ContextVk *contextVk, in flushStagedUpdates() 345 void RenderTargetVk::retainImageViews(ContextVk *contextVk) const in retainImageViews() [all …]
|
D | ResourceVk.cpp | 20 angle::Result FinishRunningCommands(ContextVk *contextVk, Serial serial) in FinishRunningCommands() 26 angle::Result WaitForIdle(ContextVk *contextVk, in WaitForIdle() 75 angle::Result Resource::finishRunningCommands(ContextVk *contextVk) in finishRunningCommands() 80 angle::Result Resource::waitForIdle(ContextVk *contextVk, in waitForIdle() 106 angle::Result ReadWriteResource::finishRunningCommands(ContextVk *contextVk) in finishRunningCommands() 112 angle::Result ReadWriteResource::finishGPUWriteCommands(ContextVk *contextVk) in finishGPUWriteCommands() 118 angle::Result ReadWriteResource::waitForIdle(ContextVk *contextVk, in waitForIdle()
|
D | BufferVk.cpp | 146 ANGLE_INLINE bool ShouldAllocateNewMemoryForUpdate(ContextVk *contextVk, in ShouldAllocateNewMemoryForUpdate() 156 ANGLE_INLINE bool ShouldUseCPUToCopyData(ContextVk *contextVk, size_t copySize, size_t bufferSize) in ShouldUseCPUToCopyData() 226 ContextVk *contextVk = vk::GetImpl(context); in destroy() 231 void BufferVk::release(ContextVk *contextVk) in release() 252 angle::Result BufferVk::initializeShadowBuffer(ContextVk *contextVk, in initializeShadowBuffer() 277 void BufferVk::initializeHostVisibleBufferPool(ContextVk *contextVk) in initializeHostVisibleBufferPool() 309 ContextVk *contextVk = vk::GetImpl(context); in setExternalBufferData() 416 ContextVk *contextVk = vk::GetImpl(context); in setDataWithMemoryType() 492 ContextVk *contextVk = vk::GetImpl(context); in setSubData() 507 ContextVk *contextVk = vk::GetImpl(context); in copySubData() [all …]
|
D | TransformFeedbackVk.h | 46 void updateDescriptorSetLayout(ContextVk *contextVk, 50 void initDescriptorSet(ContextVk *contextVk, 54 void updateDescriptorSet(ContextVk *contextVk, 58 void getBufferOffsets(ContextVk *contextVk, 103 void writeDescriptorSet(ContextVk *contextVk, 109 void initializeXFBBuffersDesc(ContextVk *contextVk, size_t xfbBufferCount);
|
D | TransformFeedbackVk.cpp | 56 void TransformFeedbackVk::initializeXFBBuffersDesc(ContextVk *contextVk, size_t xfbBufferCount) in initializeXFBBuffersDesc() 91 ContextVk *contextVk = vk::GetImpl(context); in begin() 148 ContextVk *contextVk = vk::GetImpl(context); in end() 169 ContextVk *contextVk = vk::GetImpl(context); in pause() 192 ContextVk *contextVk = vk::GetImpl(context); in resume() 211 ContextVk *contextVk = vk::GetImpl(context); in bindIndexedBuffer() 220 ContextVk *contextVk, in updateDescriptorSetLayout() 241 void TransformFeedbackVk::initDescriptorSet(ContextVk *contextVk, in initDescriptorSet() 266 void TransformFeedbackVk::updateDescriptorSet(ContextVk *contextVk, in updateDescriptorSet() 302 void TransformFeedbackVk::getBufferOffsets(ContextVk *contextVk, in getBufferOffsets() [all …]
|
D | ProgramVk.h | 26 ANGLE_INLINE bool UseLineRaster(const ContextVk *contextVk, gl::PrimitiveMode mode) in UseLineRaster() 106 angle::Result updateUniforms(ContextVk *contextVk); 131 size_t getDefaultUniformAlignedSize(ContextVk *contextVk, const gl::ShaderType shaderType) const in getDefaultUniformAlignedSize() 139 size_t calcUniformUpdateRequiredSpace(ContextVk *contextVk, 144 ContextVk *contextVk, in initGraphicsShaderProgram() 156 ContextVk *contextVk, in initComputeProgram() 177 void reset(ContextVk *contextVk); 182 angle::Result resizeUniformBlockMemory(ContextVk *contextVk, 192 ANGLE_INLINE angle::Result initProgram(ContextVk *contextVk, in initProgram()
|
D | SyncVk.h | 41 virtual angle::Result initialize(ContextVk *contextVk, bool isEglSyncObject); 43 ContextVk *contextVk, 47 virtual angle::Result serverWait(ContextVk *contextVk); 64 angle::Result initializeWithFd(ContextVk *contextVk, int inFd); 66 ContextVk *contextVk, 70 angle::Result serverWait(ContextVk *contextVk) override;
|
D | OverlayVk.h | 20 class ContextVk; variable 31 angle::Result onPresent(ContextVk *contextVk, 39 angle::Result createFont(ContextVk *contextVk); 40 angle::Result cullWidgets(ContextVk *contextVk);
|
D | SemaphoreVk.cpp | 26 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() 32 ContextVk *contextVk = vk::GetImpl(context); in importFd() 49 ContextVk *contextVk = vk::GetImpl(context); in importZirconHandle() 66 ContextVk *contextVk = vk::GetImpl(context); in wait() 126 ContextVk *contextVk = vk::GetImpl(context); in signal() 201 angle::Result SemaphoreVk::importOpaqueFd(ContextVk *contextVk, GLint fd) in importOpaqueFd() 224 angle::Result SemaphoreVk::importZirconEvent(ContextVk *contextVk, GLuint handle) in importZirconEvent()
|
D | SyncVk.cpp | 83 angle::Result SyncHelper::initialize(ContextVk *contextVk, bool isEglSyncObject) in initialize() 101 ContextVk *contextVk, in clientWait() 141 angle::Result SyncHelper::serverWait(ContextVk *contextVk) in serverWait() 182 angle::Result SyncHelperNativeFence::initializeWithFd(ContextVk *contextVk, int inFd) in initializeWithFd() 253 ContextVk *contextVk, in clientWait() 303 angle::Result SyncHelperNativeFence::serverWait(ContextVk *contextVk) in serverWait() 386 ContextVk *contextVk = vk::GetImpl(context); in clientWait() 422 ContextVk *contextVk = vk::GetImpl(context); in serverWait() 428 ContextVk *contextVk = vk::GetImpl(context); in getStatus() 493 ContextVk *contextVk = context ? vk::GetImpl(context) : nullptr; in clientWait() [all …]
|
D | SurfaceVk.h | 226 angle::Result getCurrentFramebuffer(ContextVk *context, 266 angle::Result recreateSwapchain(ContextVk *contextVk, const gl::Extents &extents); 270 angle::Result queryAndAdjustSurfaceCaps(ContextVk *contextVk, 272 angle::Result checkForOutOfDateSwapchain(ContextVk *contextVk, bool presentOutOfDate); 274 void releaseSwapchainImages(ContextVk *contextVk); 289 angle::Result present(ContextVk *contextVk, 295 void updateOverlay(ContextVk *contextVk) const; 296 bool overlayHasEnabledWidget(ContextVk *contextVk) const; 297 angle::Result drawOverlay(ContextVk *contextVk, impl::SwapchainImage *image) const;
|
D | TextureVk.cpp | 269 const vk::Format *AdjustStorageViewFormatPerWorkarounds(ContextVk *contextVk, in AdjustStorageViewFormatPerWorkarounds() 307 ContextVk *contextVk = vk::GetImpl(context); in onDestroy() 338 ContextVk *contextVk = vk::GetImpl(context); in setSubImage() 374 ContextVk *contextVk = vk::GetImpl(context); in setCompressedSubImage() 394 ContextVk *contextVk = vk::GetImpl(context); in setImageImpl() 475 ContextVk *contextVk = vk::GetImpl(context); in setSubImageImpl() 659 ContextVk *contextVk = vk::GetImpl(context); in copyRenderbufferSubData() 685 ContextVk *contextVk = vk::GetImpl(context); in copyTextureSubData() 700 ContextVk *contextVk = vk::GetImpl(context); in copyCompressedTexture() 739 ContextVk *contextVk = vk::GetImpl(context); in copySubImageImpl() [all …]
|
D | VertexArrayVk.cpp | 52 void WarnOnVertexFormatConversion(ContextVk *contextVk, in WarnOnVertexFormatConversion() 69 angle::Result StreamVertexData(ContextVk *contextVk, in StreamVertexData() 130 VertexArrayVk::VertexArrayVk(ContextVk *contextVk, const gl::VertexArrayState &state) in VertexArrayVk() 167 ContextVk *contextVk = vk::GetImpl(context); in destroy() 178 angle::Result VertexArrayVk::convertIndexBufferGPU(ContextVk *contextVk, in convertIndexBufferGPU() 206 angle::Result VertexArrayVk::convertIndexBufferIndirectGPU(ContextVk *contextVk, in convertIndexBufferIndirectGPU() 256 angle::Result VertexArrayVk::handleLineLoopIndexIndirect(ContextVk *contextVk, in handleLineLoopIndexIndirect() 278 ContextVk *contextVk = vk::GetImpl(context); in handleLineLoopIndirectDraw() 306 angle::Result VertexArrayVk::convertIndexBufferCPU(ContextVk *contextVk, in convertIndexBufferCPU() 368 angle::Result VertexArrayVk::convertVertexBufferGPU(ContextVk *contextVk, in convertVertexBufferGPU() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/doc/ |
D | Queries.md | 17 The rest of the queries are active only inside render passes. The context (`ContextVk`) keeps track 21 - On query `begin()`: `ContextVk::beginRenderPassQuery()` is called which: 24 - On query `end()`: `ContextVk::endRenderPassQuery()` is called which: 27 - On render pass start: `ContextVk::resumeRenderPassQueriesIfActive()` is called which starts all 29 - On render pass end: `ContextVk::pauseRenderPassQueriesIfActive()` is called which stops all 50 done by pausing (`ContextVk::pauseRenderPassQueriesIfActive`) the queries before the draw call and 51 resuming (`ContextVk::resumeRenderPassQueriesIfActive`) afterwards. 54 `ContextVk`, so queries will not be activated. In the future, if any `UtilsVk` functions use the 89 (`ContextVk::pauseRenderPassQueriesIfActive`), only one of the queries will close the shared Vulkan 93 (`ContextVk::resumeRenderPassQueriesIfActive`), only one of the queries will allocate and start a
|