Per-context fences signal in creation order only within a context. Two per-context fences in two contexts might signal in any order. When a per-context fence is created, a fence cookie can be specified. The cookie will be passed to write_context_fence callback. This replaces fence_id that is used in ctx0 fencing. write_context_fence is called on each fence unless the fence has VIRGL_RENDERER_FENCE_FLAG_MERGEABLE set. When the bit is set, write_context_fence might be skipped. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Acked-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>macos/master
parent
3a2a537c69
commit
d470a2df58
Loading…
Reference in new issue