Move shader feature negotiation into renderer backend

This commit is contained in:
2026-06-04 19:49:06 +02:00
parent 1057dd488a
commit f2cb0f2276
7 changed files with 171 additions and 35 deletions

View File

@@ -793,7 +793,11 @@ Known warnings after the current CMake app build:
so app shader startup asks the backend for desktop GL/GLES/WebGL policy
instead of carrying local platform branches. It also owns headless-tested
OpenGL extension enumeration through `query_opengl_extensions`, moving the
extension count/string query loop out of `app_shaders.cpp`.
extension count/string query loop out of `app_shaders.cpp`. Startup feature
negotiation now uses `query_opengl_capability_detection`, so extension
enumeration, runtime capability policy, and renderer-neutral feature
conversion are validated together before the retained `ShaderManager` static
flags are updated.
- `pp_legacy_ui_core` is an object-library containment boundary because the
retained base `Node` controls still depend on legacy renderer and app
headers. It should shrink as layout parsing, colors, generic controls, and