From 171b36683a774d70a8f25529858b9c002a2a317e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 7 Sep 2020 18:52:30 +0200 Subject: GPUExtensions: GL backend isolation This is part of the Vulkan task T68990. This commits changes a few things: - Rename extensions to capabilities (but left the file name untouched). - Cubemap mip render workaround detection is rewritten using gl commands to avoid using the GPU API before initialization. - Put all the capabilities that are only relevant for the GL backend inside GLContext as static variables. - Cleanup the names of the limit variables. - Separate all GL related workaround search inside the GL module. --- source/blender/gpu/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/CMakeLists.txt') diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index 47ce113230b..358bd045c2f 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -137,6 +137,7 @@ set(SRC intern/gpu_codegen.h intern/gpu_context_private.hh intern/gpu_drawlist_private.hh + intern/gpu_extensions_private.hh intern/gpu_framebuffer_private.hh intern/gpu_immediate_private.hh intern/gpu_index_buffer_private.hh -- cgit v1.2.3