glamor: unexport glamor_fds_from_pixmap()
Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
8c79078c1c
commit
ea232c79ff
|
@ -153,23 +153,6 @@ extern _X_EXPORT struct gbm_device *glamor_egl_get_gbm_device(ScreenPtr screen);
|
||||||
* */
|
* */
|
||||||
extern _X_EXPORT Bool glamor_supports_pixmap_import_export(ScreenPtr screen);
|
extern _X_EXPORT Bool glamor_supports_pixmap_import_export(ScreenPtr screen);
|
||||||
|
|
||||||
/* @glamor_fds_from_pixmap: Get a dma-buf fd from a pixmap.
|
|
||||||
*
|
|
||||||
* @screen: Current screen pointer.
|
|
||||||
* @pixmap: The pixmap from which we want the fd.
|
|
||||||
* @fds, @strides, @offsets: Pointers to fill info of each plane.
|
|
||||||
* @modifier: Pointer to fill the modifier of the buffer.
|
|
||||||
*
|
|
||||||
* the pixmap and the buffer associated by the fds will share the same
|
|
||||||
* content. The caller is responsible to close the returned file descriptors.
|
|
||||||
* Returns the number of planes, -1 on error.
|
|
||||||
* */
|
|
||||||
extern _X_EXPORT int glamor_fds_from_pixmap(ScreenPtr screen,
|
|
||||||
PixmapPtr pixmap,
|
|
||||||
int *fds,
|
|
||||||
uint32_t *strides, uint32_t *offsets,
|
|
||||||
uint64_t *modifier);
|
|
||||||
|
|
||||||
/* @glamor_fd_from_pixmap: Get a dma-buf fd from a pixmap.
|
/* @glamor_fd_from_pixmap: Get a dma-buf fd from a pixmap.
|
||||||
*
|
*
|
||||||
* @screen: Current screen pointer.
|
* @screen: Current screen pointer.
|
||||||
|
|
|
@ -1002,6 +1002,21 @@ int glamor_egl_fd_name_from_pixmap(ScreenPtr pScreen, PixmapPtr pPixmap,
|
||||||
|
|
||||||
int glamor_egl_fd_from_pixmap(ScreenPtr, PixmapPtr, CARD16 *, CARD32 *);
|
int glamor_egl_fd_from_pixmap(ScreenPtr, PixmapPtr, CARD16 *, CARD32 *);
|
||||||
|
|
||||||
|
/* @glamor_fds_from_pixmap: Get a dma-buf fd from a pixmap.
|
||||||
|
*
|
||||||
|
* @screen: Current screen pointer.
|
||||||
|
* @pixmap: The pixmap from which we want the fd.
|
||||||
|
* @fds, @strides, @offsets: Pointers to fill info of each plane.
|
||||||
|
* @modifier: Pointer to fill the modifier of the buffer.
|
||||||
|
*
|
||||||
|
* the pixmap and the buffer associated by the fds will share the same
|
||||||
|
* content. The caller is responsible to close the returned file descriptors.
|
||||||
|
* Returns the number of planes, -1 on error.
|
||||||
|
* */
|
||||||
|
int glamor_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds,
|
||||||
|
uint32_t *strides, uint32_t *offsets,
|
||||||
|
uint64_t *modifier);
|
||||||
|
|
||||||
#include "glamor_utils.h"
|
#include "glamor_utils.h"
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in New Issue