-
Notifications
You must be signed in to change notification settings - Fork 1
gpu.h
- Buffer buffer
- uint8_t ox
- uint8_t oy
- uint8_t foreground
- uint8_t background
- const char *text
Prints null-terminated char array with given foreground and background color to position (ox, oy) on given buffer.
- Buffer buffer
- uint8_t ox
- uint8_t oy
- uint8_t foreground
- const char *text
Prints null-terminated char array with given color to position (ox, oy) on given buffer.
- void
Swaps front- and backbuffer.
- Buffer buffer
- uint8_t ox
- uint8_t oy
- uint8_t sx
- uint8_t sy
- const uint8_t *buffer
Sends data from buffer of given width sx and height xy to position (ox, oy) on given buffer.
- Buffer buffer
- uint8_t ox
- uint8_t oy
- uint8_t sx
- uint8_t sy
- const uint8_t *buffer
Calls gpu_send_buf() and gpu_swap_buf() in order.
- Buffer buffer
- uint8_t ox
- uint8_t oy
- uint8_t sx
- uint8_t sy
- uint8_t alpha
- const uint8_t *buffer
Like gpu_send_buf() but pixels of color are excluded from rendering.
- Buffer buffer
- uint8_t blank_with
Sets every bit in the video buffer to <blank_with>, subsequently only color 0 or color 7 are possible
- void
Resets the GPU.
- const uint16_t *palette
Sets data at <palette> as new palette, where every color equals one uint16_t as gpio port configuration.
- void
Changes rendering mode to direct rendering (DRM).
- void
Waits for next rising edge of gpu_ready.
- uint32_t frames
Calls gpu_wait_for_ready() times.
- void
Wait until last gpu operation is concluded.