Closed
Bug 1527498
Opened 6 years ago
Closed 6 years ago
Avoid drawing each picture cache tile separately
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: kvark, Assigned: kvark)
References
Details
Attachments
(2 files, 1 obsolete file)
I noticed that currently when picture caching is used, every 1024x256 tile turns to be a separate draw call with a dedicated texture. This consumes a fair chunk of CPU time, given that we have roughly 100 draw calls in the budget.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dmalyshau
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•6 years ago
|
||
this change reduces the number of draw calls on a new page from 141 to 104.
Assignee | ||
Comment 2•6 years ago
|
||
This is a preparatory change that can be useful by itself:
- use match on EntryKind to allow safe expansion
- avoid code duplication in get()
- fix some comments
Assignee | ||
Updated•6 years ago
|
Keywords: leave-open
Assignee | ||
Comment 3•6 years ago
|
||
Manage the texture space for picture tiles separately inside the texture cache.
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/84d60f483f42
WR texture cache code cleanup r=jrmuizel
Updated•6 years ago
|
Attachment #9043452 -
Attachment is obsolete: true
Comment 5•6 years ago
|
||
bugherder |
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f2b5a9d987e8
Separate picture texture cache r=gw
Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bugherder |
Updated•6 years ago
|
status-firefox67:
--- → fixed
Target Milestone: --- → mozilla67
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•