WIP: zink: cache surfaces and framebuffers
Store surfaces in a cache to avoid re-creating them on every frame.
-
Cache framebuffers and surfaces within batches -
Handle batches resources destruction -
Separate batch fence addition in its own commit -
Check whether surface reference count is correct
Edited by Antonio Caggiano