[Refactor] (MG_Backend, MG_Backend/DirectVulkan, MG_Pipe, MG_Remote/Client, MG_State/GLState, MG_Test/Pipe, MG_Util/SelfTest, MG_Util/ShaderTranspiler, MobileGL, scripts): move the backend capability types into BackendCaps.h

- Config.h includes only BackendCaps.h, no longer both backends; pActiveBackendObject is declared with the interface
This commit is contained in:
2026-10-16 05:47:42 -04:00
parent cf1b7f6ed8
commit 778014c013
16 changed files with 443 additions and 420 deletions
+3 -2
View File
@@ -226,12 +226,13 @@ def parse_calls():
MEMCMP_FALLBACK_TYPES = set()
# Where the structs named in PipeFields.def are declared: the payload header, the value
# header, the host-span header and - for DynamicBackendParameters, the caps block - the
# backend object header.
# header, the host-span header, the backend capability header (DynamicBackendParameters, the
# caps block) and the backend object header.
FIELD_LIST_STRUCT_HEADERS = [
os.path.join(PIPE_DIR, "MGPipeTypes.h"),
os.path.join(PIPE_DIR, "MGPipeValueTypes.h"),
os.path.join(PIPE_DIR, "MGPipeHostSpan.h"),
os.path.join(REPO_ROOT, "MobileGL", "BackendCaps.h"),
FUNCTION_TABLE_HEADER,
]
BACKEND_DIR = os.path.join(REPO_ROOT, "MobileGL", "MG_Backend")