Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
#define XFixedToDouble(f) (((double) (f)) / 65536.)
struct xa_composite_blend {
- enum xa_composite_op op : 8;
+ unsigned op : 8;
unsigned alpha_dst : 4;
unsigned alpha_src : 4;
int to_surface, struct xa_box *boxes,
unsigned int num_boxes);
+extern void *xa_surface_map(struct xa_context *ctx,
+ struct xa_surface *srf, unsigned int usage);
+
+extern void xa_surface_unmap(struct xa_surface *srf);
+
extern int
xa_solid_prepare(struct xa_context *ctx, struct xa_surface *dst,
uint32_t fg);