diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-11-29 08:03:54 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-11-29 08:03:54 +0300 |
commit | 328a47fa2cc6f8e76ac83d6cba14b9bd24c0dd52 (patch) | |
tree | 1223d164ec263f203bc1af83c68dd0b22d85ff24 /source/blender/gpu/CMakeLists.txt | |
parent | e369b85e2f06c686398b737ac3fee696443ac9c8 (diff) |
Gawain: manage GL buffer IDs in a thread-safe way
Needed because deps graph can destroy objects from any thread. We ran into the same problem & solved it in GPU_buffers.
Implemented in C++11 since it provides the needed machinery. The interface is in C like the rest of Gawain.
Diffstat (limited to 'source/blender/gpu/CMakeLists.txt')
-rw-r--r-- | source/blender/gpu/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index b66085be6cf..5643400ac66 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -70,6 +70,8 @@ set(SRC gawain/attrib_binding.h gawain/batch.c gawain/batch.h + gawain/buffer_id.h + gawain/buffer_id.cpp gawain/common.h gawain/element.c gawain/element.h |