From: Rob Clark <[email protected]>
The newer snapdragon devices (at least, the one I have in nexus4) no
longer has a dedicated 2D core. For these devices, DDX needs to use
the 3D core. I've implemented support to use XA in the DDX, but it
requires some changes which break the current API in XA.
In particular, moving where pipe->flush() happens. But also the ref/
unref API.
I have a (compile-tested) patch for xf86-video-vmware to make it work
with the API changes.
History:
v1: original
v2: change xa_surface_unref() to return void, bump XA major version,
rename library for freedreno build so we don't have two conflicting
xatracker.pc/libxatracker..
Jerome Glisse (5):
xa: add handle type parameter to get handle
xa: export a common context flush function
xa: fix dma copy function
xa: let ddx handle flush
xa: move surface to ref/unref api
Rob Clark (3):
xa: add xa_surface_from_handle()
xa: bump major version
freedreno: add xa-freedreno target
configure.ac | 6 ++-
src/gallium/state_trackers/xa/xa_composite.c | 1 -
src/gallium/state_trackers/xa/xa_context.c | 24 +++++-----
src/gallium/state_trackers/xa/xa_context.h | 2 +
src/gallium/state_trackers/xa/xa_priv.h | 4 ++
src/gallium/state_trackers/xa/xa_tracker.c | 68 +++++++++++++++++++++++++---
src/gallium/state_trackers/xa/xa_tracker.h | 21 ++++++++-
src/gallium/targets/Makefile.am | 3 ++
src/gallium/targets/xa-freedreno/Makefile.am | 65 ++++++++++++++++++++++++++
src/gallium/targets/xa-freedreno/fd_target.c | 20 ++++++++
src/gallium/targets/xa-freedreno/xafd.pc.in | 9 ++++
11 files changed, 199 insertions(+), 24 deletions(-)
create mode 100644 src/gallium/targets/xa-freedreno/Makefile.am
create mode 100644 src/gallium/targets/xa-freedreno/fd_target.c
create mode 100644 src/gallium/targets/xa-freedreno/xafd.pc.in
--
1.8.1.4
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev