diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-02 19:18:48 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-08-02 21:54:58 +0200 |
commit | cd98d94516dbd77b9090a39c3c7c5da8e4f96044 (patch) | |
tree | 6f861a0fdfda0c0bb97702232bf3d15ca13bfa88 /src/util/os_misc.h | |
parent | ed501c00cb6c723b13e10f10b02f9c675fc23d98 (diff) |
panfrost: Allocate polygon lists on-demand
Rather than alloacting a huge (64MB) polygon list on context creation
and sharing it across framebuffers, we instead allocate polygon lists as
BOs (which consistently hit the cache) sized appropriately; for about a
month, we've known how to calculate the polygon list size so this has
only recently become possible.
The good news is we can render to truly massive framebuffers without
crashing and, more importantly, we eliminate the 64MB upfront overhead.
If a list that size isn't actually needed, it's not allocated.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'src/util/os_misc.h')
0 files changed, 0 insertions, 0 deletions