st/xa: Really support xa_surface_format. Bump minor.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
This commit is contained in:
Thomas Hellstrom 2011-06-21 00:10:16 +02:00
parent 642951fbca
commit 5f20fae40d
5 changed files with 11 additions and 4 deletions

View file

@ -4,7 +4,7 @@ include $(TOP)/configs/current
##### MACROS #####
XA_MAJOR = 0
XA_MINOR = 1
XA_MINOR = 2
XA_TINY = 0
XA_CFLAGS = -g -fPIC -Wall

View file

@ -7,6 +7,7 @@ xa_surface_redefine
xa_surface_dma
xa_surface_map
xa_surface_unmap
xa_surface_format
xa_copy_prepare
xa_copy
xa_copy_done

View file

@ -418,3 +418,9 @@ xa_surface_handle(struct xa_surface *srf,
return XA_ERR_NONE;
}
enum xa_formats
xa_surface_format(const struct xa_surface *srf)
{
return srf->fdesc.format;
}

View file

@ -37,7 +37,7 @@
#include <stdint.h>
#define XA_TRACKER_VERSION_MAJOR 0
#define XA_TRACKER_VERSION_MINOR 1
#define XA_TRACKER_VERSION_MINOR 2
#define XA_TRACKER_VERSION_PATCH 0
#define XA_FLAG_SHARED (1 << 0)
@ -155,7 +155,7 @@ extern struct xa_surface *xa_surface_create(struct xa_tracker *xa,
enum xa_formats pform,
unsigned int flags);
enum xa_formats xa_surface_pict_format(const struct xa_surface *srf);
enum xa_formats xa_surface_format(const struct xa_surface *srf);
extern void xa_surface_destroy(struct xa_surface *srf);

View file

@ -4,7 +4,7 @@ include $(TOP)/configs/current
##### MACROS #####
XA_MAJOR = 0
XA_MINOR = 1
XA_MINOR = 2
XA_TINY = 0
XA_CFLAGS = -g -fPIC