unoplatform/uno

Expose the current render surface type

Open

#13.988 geöffnet am 17. Okt. 2023

Auf GitHub ansehen
 (15 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (837 Forks)batch import
area/skia ✏️difficulty/starter 🚀good first issuekind/enhancementno-reproplatform/desktop 🖥️

Repository-Metriken

Stars
 (9.789 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 8h) (130 gemergte PRs in 30 T)

Beschreibung

What would you like to be added

It would be great to have a property exposed that gets set to the current render surface type so a check can be made in the application if for some reason the environment has changed and software rendering is used, but not expected. I know it can be seen in the early log entries when set to trace, but for production it would be good with a check to make sure it doesn't revert to software rendering for some reason.

Why is this needed

Catch environment errors early

For which platform

Skia (GTK on Linux/macOS/Windows)

Anything else we need to know?

No response

Contributor Guide