Skip to content
  • Lucas Stach's avatar
    etnaviv: flush used render buffers on context flush when neccessary · 537c7a6e
    Lucas Stach authored
    
    
    Some resources like backbuffers are explicitly flushed by the frontend
    at the appropriate time, others however won't get flushed explicitly.
    Remember those resources when they get emitted as a render buffer and
    flush them on a context flush to make their content visible to other
    entities sharing the buffer.
    
    We still keep the optimized path for most resources where the frontend
    promises to do the flushing for us and only enable implicit flushing
    when a buffer handle is exported/imported without the
    PIPE_HANDLE_USAGE_EXPLICIT_FLUSH flag set.
    
    Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
    537c7a6e