Python: Remove deprecated BGL API

The API was in a deprecation state for many years now.
This API was not compatible with Metal nor Vulkan.

This also remove `Image.bindcode`.

Pull Request: https://projects.blender.org/blender/blender/pulls/140370
This commit is contained in:
Clément Foucault
2025-06-16 12:50:50 +02:00
committed by Clément Foucault
parent 9ddc67166f
commit decd88f67e
26 changed files with 3 additions and 4499 deletions

View File

@@ -267,7 +267,6 @@ else:
EXCLUDE_INFO_DOCS = True
EXCLUDE_MODULES = [
"aud",
"bgl",
"blf",
"bl_math",
"imbuf",
@@ -2033,7 +2032,6 @@ def write_rst_index(basepath):
standalone_modules = (
# Sub-modules are added in parent page.
"aud",
"bgl",
"bl_math",
"blf",
"bmesh",
@@ -2364,7 +2362,6 @@ def copy_handwritten_rsts(basepath):
# TODO: put this docs in Blender's code and use import as per modules above.
handwritten_modules = [
"bgl", # "Blender OpenGl wrapper"
"bmesh.ops", # Generated by `rst_from_bmesh_opdefines.py`.
# Includes.