Allow non-rectangular displayport (pixel cache)

NEW
Unassigned

Status

()

Core
Graphics
7 years ago
5 years ago

People

(Reporter: mbrubeck, Unassigned)

Tracking

(Blocks: 1 bug, {mobile, perf})

Trunk
mobile, perf
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Bug 629025 points out that Fennec displays noticeable checkerboards when scrolling horizontally, because our displayport is taller than it is wide (to optimize vertical scrolling).

We could improve this by making the displayport wider, but this would increase memory use.  And most of the added memory would be wasted, because it would be in regions that are reachable only by scrolling diagonally (which is not easy or common in Fennec).

The optimal displayport might be shaped more like this, covering mostly areas that are reachable by just horizontal or just vertical panning:

     +--------+
     |        |
+----+--------+----+
|    |viewport|    |
|    |        |    |
+----+--------+----+
     |        |
     |        |
     |        |
     |        |
     +--------+

It might also be useful to cache some disjoint areas, like the top and bottom of the page (which are reachable via gestures and keyboard commands).
(Reporter)

Updated

7 years ago
Duplicate of this bug: 642943
You need to log in before you can comment on or make changes to this bug.