glamor: unexport glamor_pixmap_from_fds()
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
ea232c79ff
commit
81c1479ea9
|
@ -218,31 +218,6 @@ extern _X_EXPORT int glamor_name_from_pixmap(PixmapPtr pixmap,
|
||||||
extern _X_EXPORT struct gbm_bo *glamor_gbm_bo_from_pixmap(ScreenPtr screen,
|
extern _X_EXPORT struct gbm_bo *glamor_gbm_bo_from_pixmap(ScreenPtr screen,
|
||||||
PixmapPtr pixmap);
|
PixmapPtr pixmap);
|
||||||
|
|
||||||
/* @glamor_pixmap_from_fds: Creates a pixmap to wrap a dma-buf fds.
|
|
||||||
*
|
|
||||||
* @screen: Current screen pointer.
|
|
||||||
* @num_fds: Number of fds to import
|
|
||||||
* @fds: The dma-buf fds to import.
|
|
||||||
* @width: The width of the buffers.
|
|
||||||
* @height: The height of the buffers.
|
|
||||||
* @stride: The stride of the buffers.
|
|
||||||
* @depth: The depth of the buffers.
|
|
||||||
* @bpp: The bpp of the buffers.
|
|
||||||
* @modifier: The modifier of the buffers.
|
|
||||||
*
|
|
||||||
* Returns a valid pixmap if the import succeeded, else NULL.
|
|
||||||
* */
|
|
||||||
extern _X_EXPORT PixmapPtr glamor_pixmap_from_fds(ScreenPtr screen,
|
|
||||||
CARD8 num_fds,
|
|
||||||
const int *fds,
|
|
||||||
CARD16 width,
|
|
||||||
CARD16 height,
|
|
||||||
const CARD32 *strides,
|
|
||||||
const CARD32 *offsets,
|
|
||||||
CARD8 depth,
|
|
||||||
CARD8 bpp,
|
|
||||||
uint64_t modifier);
|
|
||||||
|
|
||||||
/* @glamor_pixmap_from_fd: Creates a pixmap to wrap a dma-buf fd.
|
/* @glamor_pixmap_from_fd: Creates a pixmap to wrap a dma-buf fd.
|
||||||
*
|
*
|
||||||
* @screen: Current screen pointer.
|
* @screen: Current screen pointer.
|
||||||
|
|
|
@ -1017,6 +1017,31 @@ int 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);
|
||||||
|
|
||||||
|
/* @glamor_pixmap_from_fds: Creates a pixmap to wrap a dma-buf fds.
|
||||||
|
*
|
||||||
|
* @screen: Current screen pointer.
|
||||||
|
* @num_fds: Number of fds to import
|
||||||
|
* @fds: The dma-buf fds to import.
|
||||||
|
* @width: The width of the buffers.
|
||||||
|
* @height: The height of the buffers.
|
||||||
|
* @stride: The stride of the buffers.
|
||||||
|
* @depth: The depth of the buffers.
|
||||||
|
* @bpp: The bpp of the buffers.
|
||||||
|
* @modifier: The modifier of the buffers.
|
||||||
|
*
|
||||||
|
* Returns a valid pixmap if the import succeeded, else NULL.
|
||||||
|
* */
|
||||||
|
PixmapPtr glamor_pixmap_from_fds(ScreenPtr screen,
|
||||||
|
CARD8 num_fds,
|
||||||
|
const int *fds,
|
||||||
|
CARD16 width,
|
||||||
|
CARD16 height,
|
||||||
|
const CARD32 *strides,
|
||||||
|
const CARD32 *offsets,
|
||||||
|
CARD8 depth,
|
||||||
|
CARD8 bpp,
|
||||||
|
uint64_t modifier);
|
||||||
|
|
||||||
#include "glamor_utils.h"
|
#include "glamor_utils.h"
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in New Issue