xa: add xa_surface_from_handle()
authorRob Clark <robclark@freedesktop.org>
Sun, 12 May 2013 20:00:35 +0000 (16:00 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 25 Jul 2013 17:59:54 +0000 (13:59 -0400)
commit984da462190af5946e49462805d1e741a00d0688
tree722f220a987856b17502303041fbcc030e1bb9b1
parent60c248c3aff1d6a23d60afeaed78c50e4af00b8c
xa: add xa_surface_from_handle()

For freedreno DDX, we have to create the scanout GEM bo in a special way
(until we have our own KMS/DRM kernel driver.. and even then for
phones/tablets you probably need to use the android drivers if you don't
want to port the lcd panel driver support).  The easiest way to handle
this is let the DDX create the scanout bo, and then create the xa
surface from that.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/state_trackers/xa/xa_tracker.c
src/gallium/state_trackers/xa/xa_tracker.h