Feature #1789

Feature #1539: Graphics acceleration

Lower screen resolution to speed up graphics

Added by Wolfgang Wiedmeyer 15 days ago. Updated 12 days ago.

Status:New Start date:04/09/2017
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Graphics
Target version:Replicant 6.0
Resolution: Device:

Description

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.

History

Updated by Wolfgang Wiedmeyer 15 days ago

  • Parent task set to #1539

Updated by Wolfgang Wiedmeyer 15 days ago

  • Target version set to Replicant 6.0

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.

Also available in: Atom PDF