From 8df99a5d8aa1f14715aaf37b889b05c195cf5c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sat, 26 May 2018 22:08:56 +0200 Subject: DRW: Add new DRW_debug API. This new API aim to provide simple function that can be called by the draw engines during any phase of the draw pipeline. All calls are saved and issued after all engines have finished rendering. This removes the need of setuping special passes and shading groups for some simple debug drawing. --- source/blender/draw/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/draw/CMakeLists.txt') diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt index c93035e5c6d..daea87bed54 100644 --- a/source/blender/draw/CMakeLists.txt +++ b/source/blender/draw/CMakeLists.txt @@ -62,6 +62,7 @@ set(SRC intern/draw_cache_impl_metaball.c intern/draw_cache_impl_particles.c intern/draw_common.c + intern/draw_debug.c intern/draw_instance_data.c intern/draw_manager.c intern/draw_manager_data.c @@ -120,6 +121,7 @@ set(SRC intern/draw_cache.h intern/draw_cache_impl.h intern/draw_common.h + intern/draw_debug.h intern/draw_instance_data.h intern/draw_manager.h intern/draw_manager_text.h -- cgit v1.2.3