You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -243,6 +243,34 @@ Examples:
243
243
demo -r 2 0 # Clean roller effect, starfield only
244
244
```
245
245
246
+
## Performance Optimization
247
+
248
+
### Resolution Scaling
249
+
250
+
For lower-powered systems (like Raspberry Pi), you can improve performance by rendering at a lower resolution. SDL2 will automatically scale the output to fullscreen or window size:
251
+
252
+
```bash
253
+
# Render at half resolution (960x540) - ~75% performance gain
254
+
./demo -f -w 960x540
255
+
256
+
# Render at 720p instead of 1080p - ~50% performance gain
0 commit comments