Project

General

Profile

Feature #1789

Feature #1539: Graphics acceleration

Lower screen resolution to speed up graphics

Added by Wolfgang Wiedmeyer 8 months ago. Updated 8 months ago.

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

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

#1 Updated by Wolfgang Wiedmeyer 8 months ago

  • Parent task set to #1539

#2 Updated by Wolfgang Wiedmeyer 8 months ago

  • Target version set to Replicant 6.0

#3 Updated by Jeremy Rand 8 months 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