google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.36k stars 1.84k forks source link

Add option to define a backend debug flag #7798

Closed poweifeng closed 2 months ago

poweifeng commented 2 months ago

To allow easy enabling/disabling of debug options like vulkan validation, android systrace, debug printing, and others, we introduce an option to add a preprocessor flag so that a backend can (optionally) use it to manage debug options.

github-actions[bot] commented 2 months ago

Please add a release note line to NEW_RELEASE_NOTES.md. If this PR does not warrant a release note, add the 'internal' label to this PR.