|
libtransistor
A userland library for the Nintendo Switch
|
Functions for graphics blits. More...
#include <stdint.h>

Go to the source code of this file.
Functions | |
| void | gfx_slow_swizzling_blit (uint32_t *framebuffer, uint32_t *image, int w, int h, int tx, int ty) |
| Copies pixels from image to framebuffer, swizzling them into the format the GPU expects. More... | |
Functions for graphics blits.
| void gfx_slow_swizzling_blit | ( | uint32_t * | framebuffer, |
| uint32_t * | image, | ||
| int | w, | ||
| int | h, | ||
| int | tx, | ||
| int | ty | ||
| ) |
Copies pixels from image to framebuffer, swizzling them into the format the GPU expects.
| framebuffer | Pointer to the framebuffer, usually acquired from surface_dequeue_buffer |
| image | Image to copy pixels from |
| w | Width of image |
| h | Height of image |
| tx | Target X |
| ty | Target Y |
1.8.6