diff options
author | Jacques Lucke <jacques@blender.org> | 2022-09-07 14:15:34 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-09-07 14:15:34 +0300 |
commit | 967664d1ee2f40a85301b1a8ccdb0ba3fe811d5d (patch) | |
tree | d7cf7195b8f7a855c20ca058613d5d8b211d18ee /source/blender/blenlib/CMakeLists.txt | |
parent | 13a7516f436597e7f60d0696afa16e8e6d6735fb (diff) |
BLI: new C++ BitVector data structure
This adds a new `blender::BitVector` data structure that was requested
a couple of times. It also replaces usages of `BLI_bitmap` in C++ code.
See the comment in `BLI_bit_vector.hh` for more details about the
advantages and disadvantages of using a bit-vector and how the new
data structure compares to `std::vector<bool>` and `BLI_bitmap`.
Differential Revision: https://developer.blender.org/D14006
Diffstat (limited to 'source/blender/blenlib/CMakeLists.txt')
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index ded4127a0d8..d87c60e6099 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -170,6 +170,7 @@ set(SRC BLI_astar.h BLI_bitmap.h BLI_bitmap_draw_2d.h + BLI_bit_vector.hh BLI_blenlib.h BLI_bounds.hh BLI_boxpack_2d.h @@ -429,6 +430,7 @@ if(WITH_GTESTS) tests/BLI_array_store_test.cc tests/BLI_array_test.cc tests/BLI_array_utils_test.cc + tests/BLI_bit_vector_test.cc tests/BLI_bitmap_test.cc tests/BLI_bounds_test.cc tests/BLI_color_test.cc |