[Mesa-dev] [PATCH v5 0/7] etnaviv: update derived texture resources of (re)imported buffers

Philipp Zabel p.zabel at pengutronix.de
Thu Jan 19 14:05:35 UTC 2017


Hi,

this is a resend of the earlier series to get weston / wayland_egl
working on etnaviv, now using SCR_INIT to wrap resource_changed only
if it is implemented by the wrapped pipe_screen.

regards
Philipp

Changes since v4:
 - Added Christian's Reviewed-by tags
 - Use SCR_INIT to initialize the resource_changed wrapper only if
   resource_changed is implemented by the wrapped pipe_screen, add
   SCR_INIT macros to the rbug and trace wrappers.
 - Fix rbug_screen_resource_changed return value.

Philipp Zabel (7):
  gallium: add pipe_screen::resource_changed
  st/dri: ask the driver to update its internal copies on reimport
  etnaviv: initialize seqno of imported resources
  etnaviv: implement resource_changed to invalidate internal resources
    derived from imported buffers
  mesa: update external textures when (re-)binding
  st/mesa: ask pipe driver to recreate derived internal resources when
    (re-)binding external textures
  gallium: add pipe_screen::resource_changed callback wrappers

 src/gallium/docs/source/screen.rst             | 14 ++++++++++++++
 src/gallium/drivers/ddebug/dd_screen.c         | 10 ++++++++++
 src/gallium/drivers/etnaviv/etnaviv_resource.c | 15 +++++++++++++++
 src/gallium/drivers/rbug/rbug_screen.c         | 14 ++++++++++++++
 src/gallium/drivers/trace/tr_screen.c          | 23 +++++++++++++++++++++++
 src/gallium/include/pipe/p_screen.h            |  8 ++++++++
 src/gallium/state_trackers/dri/dri2.c          |  4 ++++
 src/mesa/main/texobj.c                         |  5 +++--
 src/mesa/state_tracker/st_atom_texture.c       |  4 ++++
 9 files changed, 95 insertions(+), 2 deletions(-)

-- 
2.1.4



More information about the mesa-dev mailing list