Fix GL Fence signaling status (#2500)

This commit is contained in:
alasram
2024-06-14 07:04:39 -07:00
committed by GitHub
parent 46f2fa1248
commit c509874f80
4 changed files with 37 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ public:
virtual void release(BufferRef* ref) noexcept = 0;
/// Defragment the allocator's underlying buffer pool.
virtual void defragment(const std::shared_ptr<gl::Fence>& fence) noexcept = 0;
virtual void defragment(const std::shared_ptr<gl::Fence>& fence) = 0;
/// Return the buffer page size used by the allocator. This is the maximum size a
/// single buffer can possible be.
@@ -164,7 +164,7 @@ public:
bool write(const void* data, size_t size, BufferRef*& ref) noexcept override;
void release(BufferRef* ref) noexcept override;
void defragment(const std::shared_ptr<gl::Fence>& fence) noexcept override;
void defragment(const std::shared_ptr<gl::Fence>& fence) override;
size_t pageSize() const noexcept override;
int32_t getBufferID(size_t bufferIndex) const noexcept override;