Closed Bug 1575767 Opened 5 years ago Closed 5 years ago

Enable picture caching for the main UI slice.

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: gw, Assigned: gw)

References

(Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

No description provided.
Assignee: nobody → gwatson
Blocks: 1536360

This patch creates a second picture cache instance, which is used
for the main UI content. It also expands the way picture caches
handle opaque rects, such that subpixel AA is retained on the
cached UI slice.

Some of the patch is more hard-coded than ideal. For example, we
set the tile size for the UI slice to be smaller, to reduce
memory consumption. In future, we should make this based on either
an explicit API, or some kind of heuristic.

With this change, the draw call count is often reduced to only
2-3 draw calls when the content is all cached / static.

Priority: -- → P3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Attachment #9087295 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: