Blender Git Commit Log

Git Commits -> Revision 5fd823b

Revision 5fd823b by Jason Wilkins (soc-2012-swiss_cheese)
May 31, 2012, 09:18 (GMT)
WITH_GPU_SAFETY is an advanced CMake option for adding a lot of checks to help debug the graphics API.

Currently only covers usage of gpuImmediate. It is off by default. It interacts with WITH_ASSERT_ABORT in that if WITH_ASSERT_ABORT is enabled then errors cause the program to abort, otherwise they just print to the console.

BLI_utildefines.h implicitly relied on an upstream include for stdio.h, so I conditionally added it.

No scons option yet.

Commit Details:

Full Hash: 5fd823bfa091e60bf42250b2afffa7e7e81a047f
SVN Revision: 47262
Parent Commit: 2ea7042
Lines Changed: +468, -349

8 Modified Paths:

/CMakeLists.txt (+8, -2) (Diff)
/source/blender/blenlib/BLI_utildefines.h (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_deprecated.h (+65, -0) (Diff)
/source/blender/gpu/intern/gpu_immediate.c (+183, -237) (Diff)
/source/blender/gpu/intern/gpu_immediate.h (+88, -34) (Diff)
/source/blender/gpu/intern/gpu_immediate_gl11.c (+25, -27) (Diff)
/source/blender/gpu/intern/gpu_immediate_inline.h (+30, -46) (Diff)
/source/blender/gpu/intern/gpu_immediate_internal.h (+63, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021