unoplatform/uno

Expose the current render surface type

Open

#13,988 创建于 2023年10月17日

在 GitHub 查看
 (15 评论) (0 反应) (0 负责人)C# (837 fork)batch import
area/skia ✏️difficulty/starter 🚀good first issuekind/enhancementno-reproplatform/desktop 🖥️

仓库指标

Star
 (9,789 star)
PR 合并指标
 (平均合并 14天 8小时) (30 天内合并 130 个 PR)

描述

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

贡献者指南