Closed Bug 1157465 Opened 9 years ago Closed 9 years ago

Customize tile sizes on desktop platforms

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1182665
Tracking Status
firefox40 --- affected

People

(Reporter: mchang, Assigned: mchang)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 obsolete file)

Desktop platforms still have 256x256 tile sizes. We have test cases, such as bug 1157410, where an increased tile size helps with performance and checkerboarding. Safari uses tile sizes of 1024x1024 on retina displays. Increase the tile sizes on desktop to something better.
IE seems to be using "strips".  This bug can cover customization per platform, perhaps even run time decision, but should still assumes a single size tile for the lifetime of the application.
Summary: Increase tile sizes on desktop platforms → Customize tile sizes on desktop platforms
From the daily, the work required for this bug is to examine rendering performance vs memory usage on a couple of sites so we can analyze the right tile sizes.
As per Mason... I made a rough patch for tracking some useful tile usage statistics via the memory reporter facility for this purpose. It adds:

gfx-tile-count - tracks number of the validated tiles from recent updates to layers
gfx-tile-layers - tracks the number of said layers being updated
gfx-tile-memory - tracks the total amount of texture client memory reserved by tile clients

There is most likely a better way to track all this stuff than the way I did it, but I tried...
Comment on attachment 8596924 [details] [diff] [review]
memory reporter for tile usage statistics

After some conversation with others, it was decided this is probably more useful as just a simple info dump screen overlay controlled by a pref, and memory reporters are a tad awkward for this.
Attachment #8596924 - Attachment is obsolete: true
TIL that allocating a tile for a scrollbar has been fixed, but we still have the problem of allocating too many tiles for small layers.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: