glamor: drop duplicate _X_EXPORT from .c source
These are already defined in glamor.h Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274>
This commit is contained in:
		
							parent
							
								
									86ea30733f
								
							
						
					
					
						commit
						e343a52fcf
					
				|  | @ -89,7 +89,7 @@ glamor_init_pixmap_private_small(PixmapPtr pixmap, glamor_pixmap_private *pixmap | ||||||
|     pixmap_priv->fbo_array = &pixmap_priv->fbo; |     pixmap_priv->fbo_array = &pixmap_priv->fbo; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT void | void | ||||||
| glamor_set_pixmap_type(PixmapPtr pixmap, glamor_pixmap_type_t type) | glamor_set_pixmap_type(PixmapPtr pixmap, glamor_pixmap_type_t type) | ||||||
| { | { | ||||||
|     glamor_pixmap_private *pixmap_priv; |     glamor_pixmap_private *pixmap_priv; | ||||||
|  | @ -99,7 +99,7 @@ glamor_set_pixmap_type(PixmapPtr pixmap, glamor_pixmap_type_t type) | ||||||
|     glamor_init_pixmap_private_small(pixmap, pixmap_priv); |     glamor_init_pixmap_private_small(pixmap, pixmap_priv); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT Bool | Bool | ||||||
| glamor_set_pixmap_texture(PixmapPtr pixmap, unsigned int tex) | glamor_set_pixmap_texture(PixmapPtr pixmap, unsigned int tex) | ||||||
| { | { | ||||||
|     ScreenPtr screen = pixmap->drawable.pScreen; |     ScreenPtr screen = pixmap->drawable.pScreen; | ||||||
|  | @ -129,7 +129,7 @@ glamor_set_pixmap_texture(PixmapPtr pixmap, unsigned int tex) | ||||||
|     return TRUE; |     return TRUE; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT void | void | ||||||
| glamor_clear_pixmap(PixmapPtr pixmap) | glamor_clear_pixmap(PixmapPtr pixmap) | ||||||
| { | { | ||||||
|     ScreenPtr screen = pixmap->drawable.pScreen; |     ScreenPtr screen = pixmap->drawable.pScreen; | ||||||
|  | @ -1007,7 +1007,7 @@ glamor_supports_pixmap_import_export(ScreenPtr screen) | ||||||
|     return glamor_priv->dri3_enabled; |     return glamor_priv->dri3_enabled; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT void | void | ||||||
| glamor_set_drawable_modifiers_func(ScreenPtr screen, | glamor_set_drawable_modifiers_func(ScreenPtr screen, | ||||||
|                                    GetDrawableModifiersFuncPtr func) |                                    GetDrawableModifiersFuncPtr func) | ||||||
| { | { | ||||||
|  | @ -1016,7 +1016,7 @@ glamor_set_drawable_modifiers_func(ScreenPtr screen, | ||||||
|     glamor_priv->get_drawable_modifiers = func; |     glamor_priv->get_drawable_modifiers = func; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT Bool | Bool | ||||||
| glamor_get_drawable_modifiers(DrawablePtr draw, uint32_t format, | glamor_get_drawable_modifiers(DrawablePtr draw, uint32_t format, | ||||||
|                               uint32_t *num_modifiers, uint64_t **modifiers) |                               uint32_t *num_modifiers, uint64_t **modifiers) | ||||||
| { | { | ||||||
|  | @ -1069,7 +1069,7 @@ _glamor_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, | ||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT int | int | ||||||
| glamor_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, | glamor_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, | ||||||
|                        uint32_t *strides, uint32_t *offsets, |                        uint32_t *strides, uint32_t *offsets, | ||||||
|                        uint64_t *modifier) |                        uint64_t *modifier) | ||||||
|  | @ -1078,7 +1078,7 @@ glamor_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, | ||||||
|                                    NULL, modifier); |                                    NULL, modifier); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT int | int | ||||||
| glamor_fd_from_pixmap(ScreenPtr screen, | glamor_fd_from_pixmap(ScreenPtr screen, | ||||||
|                       PixmapPtr pixmap, CARD16 *stride, CARD32 *size) |                       PixmapPtr pixmap, CARD16 *stride, CARD32 *size) | ||||||
| { | { | ||||||
|  | @ -1095,7 +1095,7 @@ glamor_fd_from_pixmap(ScreenPtr screen, | ||||||
|     return fd; |     return fd; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT int | int | ||||||
| glamor_shareable_fd_from_pixmap(ScreenPtr screen, | glamor_shareable_fd_from_pixmap(ScreenPtr screen, | ||||||
|                                 PixmapPtr pixmap, CARD16 *stride, CARD32 *size) |                                 PixmapPtr pixmap, CARD16 *stride, CARD32 *size) | ||||||
| { | { | ||||||
|  |  | ||||||
|  | @ -465,7 +465,7 @@ glamor_egl_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, | ||||||
| #endif | #endif | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT int | int | ||||||
| glamor_egl_fd_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, | glamor_egl_fd_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, | ||||||
|                           CARD16 *stride, CARD32 *size) |                           CARD16 *stride, CARD32 *size) | ||||||
| { | { | ||||||
|  | @ -520,7 +520,7 @@ glamor_egl_fd_name_from_pixmap(ScreenPtr screen, | ||||||
|     return fd; |     return fd; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT Bool | Bool | ||||||
| glamor_back_pixmap_from_fd(PixmapPtr pixmap, | glamor_back_pixmap_from_fd(PixmapPtr pixmap, | ||||||
|                            int fd, |                            int fd, | ||||||
|                            CARD16 width, |                            CARD16 width, | ||||||
|  | @ -575,7 +575,7 @@ gbm_format_for_depth(CARD8 depth) | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT PixmapPtr | PixmapPtr | ||||||
| glamor_pixmap_from_fds(ScreenPtr screen, | glamor_pixmap_from_fds(ScreenPtr screen, | ||||||
|                        CARD8 num_fds, const int *fds, |                        CARD8 num_fds, const int *fds, | ||||||
|                        CARD16 width, CARD16 height, |                        CARD16 width, CARD16 height, | ||||||
|  | @ -629,7 +629,7 @@ glamor_pixmap_from_fds(ScreenPtr screen, | ||||||
|     return pixmap; |     return pixmap; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT PixmapPtr | PixmapPtr | ||||||
| glamor_pixmap_from_fd(ScreenPtr screen, | glamor_pixmap_from_fd(ScreenPtr screen, | ||||||
|                       int fd, |                       int fd, | ||||||
|                       CARD16 width, |                       CARD16 width, | ||||||
|  | @ -651,7 +651,7 @@ glamor_pixmap_from_fd(ScreenPtr screen, | ||||||
|     return pixmap; |     return pixmap; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT Bool | Bool | ||||||
| glamor_get_formats(ScreenPtr screen, | glamor_get_formats(ScreenPtr screen, | ||||||
|                    CARD32 *num_formats, CARD32 **formats) |                    CARD32 *num_formats, CARD32 **formats) | ||||||
| { | { | ||||||
|  | @ -691,7 +691,7 @@ glamor_get_formats(ScreenPtr screen, | ||||||
| #endif | #endif | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT Bool | Bool | ||||||
| glamor_get_modifiers(ScreenPtr screen, uint32_t format, | glamor_get_modifiers(ScreenPtr screen, uint32_t format, | ||||||
|                      uint32_t *num_modifiers, uint64_t **modifiers) |                      uint32_t *num_modifiers, uint64_t **modifiers) | ||||||
| { | { | ||||||
|  | @ -732,7 +732,7 @@ glamor_get_modifiers(ScreenPtr screen, uint32_t format, | ||||||
| #endif | #endif | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT const char * | const char * | ||||||
| glamor_egl_get_driver_name(ScreenPtr screen) | glamor_egl_get_driver_name(ScreenPtr screen) | ||||||
| { | { | ||||||
| #ifdef GLAMOR_HAS_EGL_QUERY_DRIVER | #ifdef GLAMOR_HAS_EGL_QUERY_DRIVER | ||||||
|  | @ -773,7 +773,7 @@ glamor_egl_destroy_pixmap(PixmapPtr pixmap) | ||||||
|     return ret; |     return ret; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT void | void | ||||||
| glamor_egl_exchange_buffers(PixmapPtr front, PixmapPtr back) | glamor_egl_exchange_buffers(PixmapPtr front, PixmapPtr back) | ||||||
| { | { | ||||||
|     EGLImageKHR temp_img; |     EGLImageKHR temp_img; | ||||||
|  |  | ||||||
|  | @ -355,7 +355,7 @@ glamor_pixmap_ensure_fbo(PixmapPtr pixmap, int flag) | ||||||
|     return TRUE; |     return TRUE; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| _X_EXPORT void | void | ||||||
| glamor_pixmap_exchange_fbos(PixmapPtr front, PixmapPtr back) | glamor_pixmap_exchange_fbos(PixmapPtr front, PixmapPtr back) | ||||||
| { | { | ||||||
|     glamor_pixmap_private *front_priv, *back_priv; |     glamor_pixmap_private *front_priv, *back_priv; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue