diff --git a/vmwgfx/vmwgfx_saa_priv.h b/vmwgfx/vmwgfx_saa_priv.h index 6ec32e9..b066d17 100644 --- a/vmwgfx/vmwgfx_saa_priv.h +++ b/vmwgfx/vmwgfx_saa_priv.h @@ -85,8 +85,7 @@ vmwgfx_create_hw(struct vmwgfx_saa *vsaa, * vmwgfx_xa_surface.c */ -enum xa_formats -vmwgfx_xa_format(enum _PictFormatShort format); +enum xa_formats vmwgfx_xa_format(PictFormatShort format); Bool vmwgfx_hw_validate(PixmapPtr pixmap, RegionPtr region); Bool @@ -94,12 +93,8 @@ vmwgfx_hw_dri2_stage(PixmapPtr pixmap, unsigned int depth); Bool vmwgfx_hw_accel_stage(PixmapPtr pixmap, unsigned int depth, uint32_t add_flags, uint32_t remove_flags); -Bool -vmwgfx_hw_composite_src_stage(PixmapPtr pixmap, - enum _PictFormatShort pict_format); -Bool -vmwgfx_hw_composite_dst_stage(PixmapPtr pixmap, - enum _PictFormatShort pict_format); +Bool vmwgfx_hw_composite_src_stage(PixmapPtr pixmap, PictFormatShort pict_format); +Bool vmwgfx_hw_composite_dst_stage(PixmapPtr pixmap, PictFormatShort pict_format); Bool vmwgfx_hw_commit(PixmapPtr pixmap); diff --git a/vmwgfx/vmwgfx_xa_surface.c b/vmwgfx/vmwgfx_xa_surface.c index 38f7473..6ae39c0 100644 --- a/vmwgfx/vmwgfx_xa_surface.c +++ b/vmwgfx/vmwgfx_xa_surface.c @@ -93,8 +93,7 @@ vmwgfx_xa_surface_redefine(struct vmwgfx_saa_pixmap *vpix, /* * Create an xa format from a PICT format. */ -enum xa_formats -vmwgfx_xa_format(enum _PictFormatShort format) +enum xa_formats vmwgfx_xa_format(PictFormatShort format) { uint32_t ptype = PICT_FORMAT_TYPE(format); @@ -167,9 +166,7 @@ vmwgfx_old_format_compatible(enum xa_formats format, /* * Choose format and flags for a composite dst surface. */ -Bool -vmwgfx_hw_composite_dst_stage(PixmapPtr pixmap, - enum _PictFormatShort pict_format) +Bool vmwgfx_hw_composite_dst_stage(PixmapPtr pixmap, PictFormatShort pict_format) { struct vmwgfx_saa *vsaa = to_vmwgfx_saa(saa_get_driver(pixmap->drawable.pScreen)); @@ -202,9 +199,7 @@ vmwgfx_hw_composite_dst_stage(PixmapPtr pixmap, /* * Choose format and flags for a composite src surface. */ -Bool -vmwgfx_hw_composite_src_stage(PixmapPtr pixmap, - enum _PictFormatShort pict_format) +Bool vmwgfx_hw_composite_src_stage(PixmapPtr pixmap, PictFormatShort pict_format) { struct vmwgfx_saa *vsaa = to_vmwgfx_saa(saa_get_driver(pixmap->drawable.pScreen));