Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2016-11-29 08:03:54 +0300
committerMike Erwin <significant.bit@gmail.com>2016-11-29 08:03:54 +0300
commit328a47fa2cc6f8e76ac83d6cba14b9bd24c0dd52 (patch)
tree1223d164ec263f203bc1af83c68dd0b22d85ff24 /source/blender/gpu/CMakeLists.txt
parente369b85e2f06c686398b737ac3fee696443ac9c8 (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.txt2
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