diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-31 23:41:04 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-01 01:30:36 +0300 |
commit | 82a197cc7f74be2e8f4fbe2d40fc2aec100c4276 (patch) | |
tree | ae24bb864c9e5570779979d21f1411efa3458947 /source/blender/gpu/intern/gpu_init_exit.c | |
parent | 058d29ed9a3e971049c0d9d99f1cf571bfb0efae (diff) |
GPUDebug: Reformat GL debug callbacks and move them to GL backend
Now the callbacks are setup for each debug context.
The formating has been reworked to be less verbose and make errors
and warnings stand out from the notifications.
Errors are most of the time sufficiently explicit in their message.
This also remove the support for AMD_debug_output which is 10 years old.
This is related to the Vulkan port T68990.
Diffstat (limited to 'source/blender/gpu/intern/gpu_init_exit.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_init_exit.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/gpu/intern/gpu_init_exit.c b/source/blender/gpu/intern/gpu_init_exit.c index 9ae13771842..4cb43db9bce 100644 --- a/source/blender/gpu/intern/gpu_init_exit.c +++ b/source/blender/gpu/intern/gpu_init_exit.c @@ -54,10 +54,6 @@ void GPU_init(void) gpu_codegen_init(); gpu_material_library_init(); - if (G.debug & G_DEBUG_GPU) { - gpu_debug_init(); - } - gpu_batch_init(); if (!G.background) { @@ -81,10 +77,6 @@ void GPU_exit(void) gpu_batch_exit(); - if (G.debug & G_DEBUG_GPU) { - gpu_debug_exit(); - } - gpu_material_library_exit(); gpu_codegen_exit(); |