[core/nvnflinger] Rewrite GetBufferHistory #484
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rewrite-GetBufferHistory"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This rewrite should improve performance with the buffer history by changing the complexity level to O(1).
Replace std::vector with std::array to ensure that elements are allocated on the stack rather than on the free store.
Avoid expensive resizing at runtime.
Adjust buffer states at the right locations.
Tightly pack the BufferHistoryInfo struct to ensure that it only occupies 28 bytes.
@ -468,3 +468,3 @@
find_package(ZLIB 1.2 REQUIRED)
find_package(zstd 1.5 REQUIRED MODULE)
find_package(Boost 1.79.0 REQUIRED headers context system fiber)
find_package(Boost 1.88.0 REQUIRED context system fiber)
Use 1.57.0
needs sync + drop cmake commits
950ef1669d
to9464083c72
Fixed in #528. Closing.
Pull request closed