mirror of
https://salsa.debian.org/xorg-team/lib/pixman
synced 2026-01-09 14:11:45 +00:00
Move fetch, fetchPixel, and store routines into pixman-access.c.
This commit is contained in:
parent
d6143b8634
commit
76febfcd20
@ -3,6 +3,8 @@ libpixman_1_la_LDFLAGS = -version-info $(LT_VERSION_INFO)
|
||||
libpixman_1_la_LIBADD = @DEP_LIBS@ -lm
|
||||
libpixman_1_la_SOURCES = \
|
||||
pixman.h \
|
||||
pixman-access.c \
|
||||
pixman-access-accessors.c \
|
||||
pixman-region.c \
|
||||
pixman-private.h \
|
||||
pixman-image.c \
|
||||
|
||||
@ -24,6 +24,8 @@ endif
|
||||
SOURCES = \
|
||||
pixman-region.c \
|
||||
pixman-image.c \
|
||||
pixman-access.c \
|
||||
pixman-access-accessors.c \
|
||||
pixman-combine.c \
|
||||
pixman-compose.c \
|
||||
pixman-compose-accessors.c \
|
||||
|
||||
3
pixman/pixman-access-accessors.c
Normal file
3
pixman/pixman-access-accessors.c
Normal file
@ -0,0 +1,3 @@
|
||||
#define PIXMAN_FB_ACCESSORS
|
||||
|
||||
#include "pixman-access.c"
|
||||
1686
pixman/pixman-access.c
Normal file
1686
pixman/pixman-access.c
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -146,6 +146,12 @@ typedef struct point point_t;
|
||||
typedef FASTCALL void (*CombineMaskU) (uint32_t *src, const uint32_t *mask, int width);
|
||||
typedef FASTCALL void (*CombineFuncU) (uint32_t *dest, const uint32_t *src, int width);
|
||||
typedef FASTCALL void (*CombineFuncC) (uint32_t *dest, uint32_t *src, uint32_t *mask, int width);
|
||||
typedef FASTCALL void (*fetchProc)(bits_image_t *pict, int x, int y, int width,
|
||||
uint32_t *buffer);
|
||||
typedef FASTCALL uint32_t (*fetchPixelProc)(bits_image_t *pict, int offset, int line);
|
||||
typedef FASTCALL void (*storeProc)(pixman_image_t *, uint32_t *bits,
|
||||
const uint32_t *values, int x, int width,
|
||||
const pixman_indexed_t *);
|
||||
|
||||
typedef struct _FbComposeData {
|
||||
uint8_t op;
|
||||
@ -175,6 +181,13 @@ void pixman_composite_rect_general_accessors (const FbComposeData *data,
|
||||
void pixman_composite_rect_general (const FbComposeData *data,
|
||||
uint32_t *scanline_buffer);
|
||||
|
||||
fetchProc pixman_fetchProcForPicture (bits_image_t *);
|
||||
fetchPixelProc pixman_fetchPixelProcForPicture (bits_image_t *);
|
||||
storeProc pixman_storeProcForPicture (bits_image_t *);
|
||||
fetchProc pixman_fetchProcForPicture_accessors (bits_image_t *);
|
||||
fetchPixelProc pixman_fetchPixelProcForPicture_accessors (bits_image_t *);
|
||||
storeProc pixman_storeProcForPicture_accessors (bits_image_t *);
|
||||
|
||||
/* end */
|
||||
|
||||
typedef enum
|
||||
|
||||
Loading…
Reference in New Issue
Block a user