diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-11-24 11:15:15 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-11-24 11:15:15 +0300 |
commit | 31cc60e76bfa81783e61a7b01586de9547de0174 (patch) | |
tree | cd5406cef65829caf1fae8e1aecf355034e53549 /source/gameengine/Rasterizer/CMakeLists.txt | |
parent | c026aa6d5473ca0d103a8f92e35e341402a571bf (diff) |
BGE: Save screenshots in a different thread
This patch allows the game engine to keep running while performing things like PNG compression and disk I/O.
As an example, my crowd simulation rasterizer saves a screenshot for every frame. This now takes up 13 msec per frame, which was 31 msec before this patch. Effectively, it allows the simulation to save every frame and still run at 60 FPS.
Reviewers: lordloki, moguri, panzergame
Reviewed By: moguri, panzergame
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1507
Diffstat (limited to 'source/gameengine/Rasterizer/CMakeLists.txt')
-rw-r--r-- | source/gameengine/Rasterizer/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Rasterizer/CMakeLists.txt b/source/gameengine/Rasterizer/CMakeLists.txt index 5bc3f22e327..496a864244b 100644 --- a/source/gameengine/Rasterizer/CMakeLists.txt +++ b/source/gameengine/Rasterizer/CMakeLists.txt @@ -31,6 +31,7 @@ set(INC ../../blender/makesdna ../../blender/blenlib ../../blender/blenkernel + ../../blender/imbuf ../../../intern/container ../../../intern/glew-mx ../../../intern/guardedalloc @@ -53,6 +54,7 @@ set(SRC RAS_Polygon.cpp RAS_TexVert.cpp RAS_texmatrix.cpp + RAS_ICanvas.cpp RAS_2DFilterManager.h RAS_BucketManager.h |