/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | FencedDeleter.h | 47 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 …]
|
D | DescriptorSetAllocator.h | 43 void FinishDeallocation(ExecutionSerial completedSerial); 70 SerialQueue<ExecutionSerial, Deallocation> mPendingDeallocations; 71 ExecutionSerial mLastDeallocationSerial = ExecutionSerial(0);
|
D | DeviceVk.h | 169 SerialQueue<ExecutionSerial, Ref<DescriptorSetAllocator>> 179 ResultOrError<ExecutionSerial> CheckAndUpdateCompletedSerials() override; 185 std::queue<std::pair<VkFence, ExecutionSerial>> mFencesInFlight; 196 SerialQueue<ExecutionSerial, CommandPoolAndBuffer> mCommandsInFlight;
|
D | ResourceMemoryAllocatorVk.h | 51 void Tick(ExecutionSerial completedSerial); 61 SerialQueue<ExecutionSerial, ResourceMemoryAllocation> mSubAllocationsToDelete;
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | RingBufferAllocatorTests.cpp | 34 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/ |
D | PageableD3D12.h | 39 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);
|
D | GPUDescriptorHeapAllocationD3D12.h | 29 ExecutionSerial lastUsageSerial, 33 ExecutionSerial GetLastUsageSerial() const; 38 ExecutionSerial mLastUsageSerial = ExecutionSerial(0);
|
D | PageableD3D12.cpp | 37 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()
|
D | ShaderVisibleDescriptorAllocatorD3D12.h | 58 ExecutionSerial pendingSerial, 62 void Tick(ExecutionSerial completedSerial); 78 ExecutionSerial heapSerial;
|
D | GPUDescriptorHeapAllocationD3D12.cpp | 21 ExecutionSerial lastUsageSerial, in GPUDescriptorHeapAllocation() 32 ExecutionSerial GPUDescriptorHeapAllocation::GetLastUsageSerial() const { in GetLastUsageSerial()
|
D | CommandAllocatorManager.h | 37 MaybeError Tick(ExecutionSerial lastCompletedSerial); 53 SerialQueue<ExecutionSerial, IndexedCommandAllocator> mInFlightCommandAllocators;
|
D | DeviceD3D12.cpp | 316 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()
|
D | StagingDescriptorAllocatorD3D12.h | 55 void Tick(ExecutionSerial completedSerial); 80 SerialQueue<ExecutionSerial, CPUDescriptorHeapAllocation> mAllocationsToDelete;
|
D | CommandAllocatorManager.cpp | 33 const ExecutionSerial firstSerial = mInFlightCommandAllocators.FirstSerial(); in ReserveCommandAllocator() 62 MaybeError CommandAllocatorManager::Tick(ExecutionSerial lastCompletedSerial) { in Tick()
|
D | ResourceAllocatorManagerD3D12.h | 70 void Tick(ExecutionSerial lastCompletedSerial); 102 SerialQueue<ExecutionSerial, ResourceHeapAllocation> mAllocationsToDelete;
|
D | BufferD3D12.h | 83 ExecutionSerial mLastUsedSerial = std::numeric_limits<ExecutionSerial>::max();
|
D | DeviceD3D12.h | 83 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/ |
D | DynamicUploader.h | 45 ExecutionSerial serial, 47 void Deallocate(ExecutionSerial lastCompletedSerial); 58 ExecutionSerial serial); 61 SerialQueue<ExecutionSerial, std::unique_ptr<StagingBufferBase>> mReleasedStagingBuffers;
|
D | Device.h | 145 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);
|
D | RingBufferAllocator.h | 35 uint64_t Allocate(uint64_t allocationSize, ExecutionSerial serial); 36 void Deallocate(ExecutionSerial lastCompletedSerial); 50 SerialQueue<ExecutionSerial, Request>
|
D | IntegerTypes.h | 64 using ExecutionSerial = TypedInteger<struct QueueSerialT, uint64_t>; variable 65 constexpr ExecutionSerial kMaxExecutionSerial = ExecutionSerial(~uint64_t(0));
|
D | Queue.h | 65 void TrackTask(std::unique_ptr<TaskInFlight> task, ExecutionSerial serial); 66 void Tick(ExecutionSerial finishedSerial); 106 SerialQueue<ExecutionSerial, std::unique_ptr<TaskInFlight>> mTasksInFlight;
|
D | DynamicUploader.cpp | 32 ExecutionSerial serial) { in AllocateInternal() 98 void DynamicUploader::Deallocate(ExecutionSerial lastCompletedSerial) { in Deallocate() 116 ExecutionSerial serial, in Allocate()
|
D | RingBufferAllocator.cpp | 34 void RingBufferAllocator::Deallocate(ExecutionSerial lastCompletedSerial) { in Deallocate() 64 uint64_t RingBufferAllocator::Allocate(uint64_t allocationSize, ExecutionSerial serial) { in Allocate()
|
D | Device.cpp | 597 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 …]
|