tornavis/source/blender/makesrna
Brecht Van Lommel c7f788b877 Subdiv: remove unused GPU device choice, fix crash with libepoxy on init
openSubdiv_init() would detect available evaluators before any OpenGL context
exists, causing a crash with libepoxy. This test however is redundant as we
already check the requirements on the Blender side through the GPU API.

To simplify things, completely remove the device detection in the opensubdiv
module and reduce the evaluators to just CPU and GPU. The plan here is to move
to the GPU module abstraction over OpenGL/Metal/Vulkan and so all these
different backends no longer make sense.

This also removes the user preference for OpenSubdiv compute device, which was
not used for the new GPU subdivision implementation.

Ref D15291

Differential Revision: https://developer.blender.org/D15470
2022-07-18 13:59:08 +02:00
..
intern Subdiv: remove unused GPU device choice, fix crash with libepoxy on init 2022-07-18 13:59:08 +02:00
rna_cleanup File headers: add missing copyright, add MIT to SPDX licenses 2022-02-11 14:56:03 +11:00
CMakeLists.txt File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
RNA_access.h Cleanup: colon after params, move text into public doc-strings, spelling 2022-06-30 23:48:22 +10:00
RNA_define.h UI support for showing candidates for string properties 2022-05-26 12:16:35 +10:00
RNA_documentation.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
RNA_enum_items.h Curves: Port set type node to new data-block 2022-06-08 15:37:46 +02:00
RNA_enum_types.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
RNA_types.h RNA: add macros for EnumPropertyItem layout elements 2022-05-31 14:19:06 +10:00