-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metal stats #1781
Metal stats #1781
Conversation
Collect stats from Metal buffers, textures, etc. Eliminate buffer copy constructors to make buffer copies explicit.
Fix buffer stats accounting on move assignment. Fix texture stats accounting on deallocate. Dump stats to log output in debug builds. Share dummy buffer for unused attributes.
# Conflicts: # include/mbgl/mtl/context.hpp # src/mbgl/mtl/context.cpp # src/mbgl/renderer/paint_parameters.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, those buffer updates.
Sorry, this should have been a draft. The GL config should work now... |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1781 +/- ##
==========================================
- Coverage 85.75% 85.74% -0.02%
==========================================
Files 566 566
Lines 27812 27863 +51
==========================================
+ Hits 23851 23891 +40
- Misses 3961 3972 +11
☔ View full report in Codecov by Sentry. |
Size test resultOld size: 8674624 bytes |
Bloaty Results 🐋Compared to main
Full report: bloaty-results/pr-1781-compared-to-main.txt
Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-1781-compared-to-legacy.txt |
Adds stats tracking for Metal and more stats.
Shares the attribute buffer bound when properties come from the uniforms (which is needed to avoid validation errors).
The result of a benchmark run: