Feature #1539: Graphics acceleration
Lower screen resolution to speed up graphics
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 over 4 years 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.
Updated by Andrés D almost 2 years ago
- Status changed from New to Closed
This issue has not seen any progress for more than two years. Jeremy didn't get any performance improvement but a regression. Using libagl for surfaceflinger and llvmpipe for the rest of the processes makes Replicant 6 usable while having the more complete OpenGLES implementation of llvmpipe.