Commit f7c7bc0
perf(screenshot): Use RGB_565 for screenshot capture bitmaps
Screen content is always opaque so the alpha channel in ARGB_8888 is wasted.
RGB_565 halves the per-screenshot bitmap memory (~2B/px vs 4B/px).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 587630a commit f7c7bc0
2 files changed
Lines changed: 2 additions & 3 deletions
File tree
- sentry-android-core/src/main/java/io/sentry/android/core
- internal/util
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | | - | |
| 101 | + | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
0 commit comments