Skip to content

lima: implement PLB PP stream cache

Vasily Khoruzhick requested to merge anarsoul/mesa:lima-pp-stream-cache into master

Generating PLB PP stream is expensive. PLB PP stream content depends on damage, and if damage consists of several rects it's impossible to come up with a simple key.

Simplify damage to a single bounding box so we have a simple key and cache it. Cache size is limited to 0.1% of system RAM and once limit is reached least recently used entry is dropped.

Depends on !3755 (merged)

Edited by Vasily Khoruzhick

Merge request reports