Home
last modified time | relevance | path

Searched refs:ExecutionSerial (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DFencedDeleter.h47 void Tick(ExecutionSerial completedSerial);
51 SerialQueue<ExecutionSerial, VkBuffer> mBuffersToDelete;
52 SerialQueue<ExecutionSerial, VkDescriptorPool> mDescriptorPoolsToDelete;
53 SerialQueue<ExecutionSerial, VkDeviceMemory> mMemoriesToDelete;
54 SerialQueue<ExecutionSerial, VkFramebuffer> mFramebuffersToDelete;
55 SerialQueue<ExecutionSerial, VkImage> mImagesToDelete;
56 SerialQueue<ExecutionSerial, VkImageView> mImageViewsToDelete;
57 SerialQueue<ExecutionSerial, VkPipeline> mPipelinesToDelete;
58 SerialQueue<ExecutionSerial, VkPipelineLayout> mPipelineLayoutsToDelete;
59 SerialQueue<ExecutionSerial, VkQueryPool> mQueryPoolsToDelete;
[all …]
DDescriptorSetAllocator.h43 void FinishDeallocation(ExecutionSerial completedSerial);
70 SerialQueue<ExecutionSerial, Deallocation> mPendingDeallocations;
71 ExecutionSerial mLastDeallocationSerial = ExecutionSerial(0);
DDeviceVk.h169 SerialQueue<ExecutionSerial, Ref<DescriptorSetAllocator>>
179 ResultOrError<ExecutionSerial> CheckAndUpdateCompletedSerials() override;
185 std::queue<std::pair<VkFence, ExecutionSerial>> mFencesInFlight;
196 SerialQueue<ExecutionSerial, CommandPoolAndBuffer> mCommandsInFlight;
DResourceMemoryAllocatorVk.h51 void Tick(ExecutionSerial completedSerial);
61 SerialQueue<ExecutionSerial, ResourceMemoryAllocation> mSubAllocationsToDelete;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRingBufferAllocatorTests.cpp34 ASSERT_EQ(allocator.Allocate(sizeInBytes + 1, ExecutionSerial(0)), in TEST()
38 ASSERT_EQ(allocator.Allocate(sizeInBytes / 2, ExecutionSerial(1)), 0u); in TEST()
39 ASSERT_EQ(allocator.Allocate(sizeInBytes / 2, ExecutionSerial(2)), 32000u); in TEST()
42 ASSERT_EQ(allocator.Allocate(1, ExecutionSerial(3)), RingBufferAllocator::kInvalidOffset); in TEST()
53 for (ExecutionSerial i(0); i < ExecutionSerial(maxNumOfFrames); ++i) { in TEST()
68 size_t offset = allocator.Allocate(frameSizeInBytes, ExecutionSerial(1)); in TEST()
73 offset = allocator.Allocate(frameSizeInBytes, ExecutionSerial(2)); in TEST()
78 offset = allocator.Allocate(frameSizeInBytes, ExecutionSerial(2)); in TEST()
83 allocator.Deallocate(ExecutionSerial(2)); in TEST()
97 ExecutionSerial serial(0); in TEST()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DPageableD3D12.h39 ExecutionSerial GetLastUsage() const;
40 void SetLastUsage(ExecutionSerial serial);
45 ExecutionSerial GetLastSubmission() const;
46 void SetLastSubmission(ExecutionSerial serial);
66 ExecutionSerial mLastUsage = ExecutionSerial(0);
73 ExecutionSerial mLastSubmission = ExecutionSerial(0);
DGPUDescriptorHeapAllocationD3D12.h29 ExecutionSerial lastUsageSerial,
33 ExecutionSerial GetLastUsageSerial() const;
38 ExecutionSerial mLastUsageSerial = ExecutionSerial(0);
DPageableD3D12.cpp37 ExecutionSerial Pageable::GetLastUsage() const { in GetLastUsage()
41 void Pageable::SetLastUsage(ExecutionSerial serial) { in SetLastUsage()
45 ExecutionSerial Pageable::GetLastSubmission() const { in GetLastSubmission()
49 void Pageable::SetLastSubmission(ExecutionSerial serial) { in SetLastSubmission()
DShaderVisibleDescriptorAllocatorD3D12.h58 ExecutionSerial pendingSerial,
62 void Tick(ExecutionSerial completedSerial);
78 ExecutionSerial heapSerial;
DGPUDescriptorHeapAllocationD3D12.cpp21 ExecutionSerial lastUsageSerial, in GPUDescriptorHeapAllocation()
32 ExecutionSerial GPUDescriptorHeapAllocation::GetLastUsageSerial() const { in GetLastUsageSerial()
DCommandAllocatorManager.h37 MaybeError Tick(ExecutionSerial lastCompletedSerial);
53 SerialQueue<ExecutionSerial, IndexedCommandAllocator> mInFlightCommandAllocators;
DDeviceD3D12.cpp316 ExecutionSerial completedSerial = GetCompletedCommandSerial(); in TickImpl()
344 MaybeError Device::WaitForSerial(ExecutionSerial serial) { in WaitForSerial()
355 ResultOrError<ExecutionSerial> Device::CheckAndUpdateCompletedSerials() { in CheckAndUpdateCompletedSerials()
356 ExecutionSerial completedSerial = ExecutionSerial(mFence->GetCompletedValue()); in CheckAndUpdateCompletedSerials()
357 if (DAWN_UNLIKELY(completedSerial == ExecutionSerial(UINT64_MAX))) { in CheckAndUpdateCompletedSerials()
367 return ExecutionSerial(0); in CheckAndUpdateCompletedSerials()
682 mUsedComObjectRefs.ClearUpTo(std::numeric_limits<ExecutionSerial>::max()); in DestroyImpl()
DStagingDescriptorAllocatorD3D12.h55 void Tick(ExecutionSerial completedSerial);
80 SerialQueue<ExecutionSerial, CPUDescriptorHeapAllocation> mAllocationsToDelete;
DCommandAllocatorManager.cpp33 const ExecutionSerial firstSerial = mInFlightCommandAllocators.FirstSerial(); in ReserveCommandAllocator()
62 MaybeError CommandAllocatorManager::Tick(ExecutionSerial lastCompletedSerial) { in Tick()
DResourceAllocatorManagerD3D12.h70 void Tick(ExecutionSerial lastCompletedSerial);
102 SerialQueue<ExecutionSerial, ResourceHeapAllocation> mAllocationsToDelete;
DBufferD3D12.h83 ExecutionSerial mLastUsedSerial = std::numeric_limits<ExecutionSerial>::max();
DDeviceD3D12.h83 MaybeError WaitForSerial(ExecutionSerial serial);
203 ResultOrError<ExecutionSerial> CheckAndUpdateCompletedSerials() override;
218 SerialQueue<ExecutionSerial, ComPtr<IUnknown>> mUsedComObjectRefs;
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDynamicUploader.h45 ExecutionSerial serial,
47 void Deallocate(ExecutionSerial lastCompletedSerial);
58 ExecutionSerial serial);
61 SerialQueue<ExecutionSerial, std::unique_ptr<StagingBufferBase>> mReleasedStagingBuffers;
DDevice.h145 ExecutionSerial GetCompletedCommandSerial() const;
146 ExecutionSerial GetLastSubmittedCommandSerial() const;
147 ExecutionSerial GetFutureSerial() const;
148 ExecutionSerial GetPendingCommandSerial() const;
335 void AddFutureSerial(ExecutionSerial serial);
452 virtual ResultOrError<ExecutionSerial> CheckAndUpdateCompletedSerials() = 0;
467 ExecutionSerial mCompletedSerial = ExecutionSerial(0);
468 ExecutionSerial mLastSubmittedSerial = ExecutionSerial(0);
469 ExecutionSerial mFutureSerial = ExecutionSerial(0);
DRingBufferAllocator.h35 uint64_t Allocate(uint64_t allocationSize, ExecutionSerial serial);
36 void Deallocate(ExecutionSerial lastCompletedSerial);
50 SerialQueue<ExecutionSerial, Request>
DIntegerTypes.h64 using ExecutionSerial = TypedInteger<struct QueueSerialT, uint64_t>; variable
65 constexpr ExecutionSerial kMaxExecutionSerial = ExecutionSerial(~uint64_t(0));
DQueue.h65 void TrackTask(std::unique_ptr<TaskInFlight> task, ExecutionSerial serial);
66 void Tick(ExecutionSerial finishedSerial);
106 SerialQueue<ExecutionSerial, std::unique_ptr<TaskInFlight>> mTasksInFlight;
DDynamicUploader.cpp32 ExecutionSerial serial) { in AllocateInternal()
98 void DynamicUploader::Deallocate(ExecutionSerial lastCompletedSerial) { in Deallocate()
116 ExecutionSerial serial, in Allocate()
DRingBufferAllocator.cpp34 void RingBufferAllocator::Deallocate(ExecutionSerial lastCompletedSerial) { in Deallocate()
64 uint64_t RingBufferAllocator::Allocate(uint64_t allocationSize, ExecutionSerial serial) { in Allocate()
DDevice.cpp597 ExecutionSerial DeviceBase::GetCompletedCommandSerial() const { in GetCompletedCommandSerial()
601 ExecutionSerial DeviceBase::GetLastSubmittedCommandSerial() const { in GetLastSubmittedCommandSerial()
605 ExecutionSerial DeviceBase::GetFutureSerial() const { in GetFutureSerial()
618 ExecutionSerial maxSerial = in AssumeCommandsComplete()
619 ExecutionSerial(std::max(mLastSubmittedSerial + ExecutionSerial(1), mFutureSerial)); in AssumeCommandsComplete()
629 ExecutionSerial maxSerial = std::max(mLastSubmittedSerial, mFutureSerial); in IsDeviceIdle()
636 ExecutionSerial DeviceBase::GetPendingCommandSerial() const { in GetPendingCommandSerial()
637 return mLastSubmittedSerial + ExecutionSerial(1); in GetPendingCommandSerial()
640 void DeviceBase::AddFutureSerial(ExecutionSerial serial) { in AddFutureSerial()
647 ExecutionSerial completedSerial; in CheckPassedSerials()
[all …]

12