search for: nv10_cursor_pixels

Displaying 1 result from an estimated 1 matches for "nv10_cursor_pixels".

2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...#define TO_ARGB8888(c) (0xff000000 | c) -/* nv04 cursor max dimensions of 32x32 (A1R5G5B5) */ -#define NV04_CURSOR_SIZE 32 -#define NV04_CURSOR_PIXELS (NV04_CURSOR_SIZE * NV04_CURSOR_SIZE) - -/* limit nv10 cursors to 64x64 (ARGB8) (we could go to 64x255) */ -#define NV10_CURSOR_SIZE 64 -#define NV10_CURSOR_PIXELS (NV10_CURSOR_SIZE * NV10_CURSOR_SIZE) - #define SOURCE_MASK_INTERLEAVE 32 #define TRANSPARENT_PIXEL 0 -static void -nv_cursor_convert_cursor(int px, uint32_t *src, uint16_t *dst, int bpp, uint32_t fg, uint32_t bg) +void +nv_cursor_convert_cursor(uint32_t *src, void *dst, int src_stride, int d...