mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
st/xa: Really support xa_surface_format. Bump minor.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
This commit is contained in:
parent
642951fbca
commit
5f20fae40d
5 changed files with 11 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue