Feature #1539: Graphics acceleration
Lower screen resolution to speed up graphics
|Target version:||Replicant 6.0|
Some Replicant-supported devices have a pretty high screen resolution which makes the devices slow with the software renderer. The display drivers usually don't allow to set a lower screen resolution.
Making the display drivers work with a lower screen resolution would lead to a smaller framebuffer which in turn would greatly improve graphics speed.
A possible approach could be to reduce the resolution in one or both dimensions by half and using the pixel values for one pixel in the framebuffer for two or four screen pixels. This way a simple scaling mechanism could be implemented.
Updated by Jeremy Rand 12 days ago
This is probably obvious to those in the know, but for the benefit of dumb people like me who just had to try it, the simpler method of "adb shell wm size 360x640; adb shell wm density 160" doesn't improve performance; it actually drops the framerate from 6 fps to 3 fps on the home screen on the Galaxy S3 with llvmpipe.