Add configurable tile size for WebRender
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox83 | --- | fixed |
People
(Reporter: solomon.chiu, Assigned: solomon.chiu)
Details
Attachments
(2 files)
|
4.88 KB,
patch
|
Details | Diff | Splinter Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Safari/537.36
Steps to reproduce:
The default tile size of WebRender is 1024*512, this value is pretty good for average desktop's screen. However, for those devices with small screen, big tile size will waste significant amount of memory. Hence I'd like to upload a patch to provide a configurable tile size for WebRender.
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
Comparing the GPU memory consumption of different tile size(1024x512 v.s. 256x256) on a KaiOS test phone with 480x1440 screen:
+------------------+----------------+---------------+
| | Tile: 1024x512 | Tile: 256x256 |
+------------------+----------------+---------------+
|boot ready | 54,548,070 | 40,539,648 |
+------------------+----------------+---------------+
|all apps; 2 times | 88,212,821 | 63,473,254 |
+---------------------------------------------------+
Comment 3•5 years ago
|
||
Many thanks for the patch Solomon!
Could you please phabricator to propose changes? We don't use bugzilla anymore for contributions.
See the tutorial : https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Updated•5 years ago
|
Comment 4•5 years ago
|
||
When you push it to phabricator, get gw to review it.
Comment 5•5 years ago
|
||
Comment 7•5 years ago
|
||
| bugherder | ||
Description
•