|TICKIT_RENDERBUFFER_BLIT(3)||Library Functions Manual||TICKIT_RENDERBUFFER_BLIT(3)|
NAME¶tickit_renderbuffer_blit - copies buffer contents to another buffer
#include <tickit.h> void tickit_renderbuffer_blit(TickitRenderBuffer *dst, TickitRenderBuffer *src);
Link with -ltickit.
DESCRIPTION¶tickit_renderbuffer_blit() copies the stored state in the src buffer to the dst buffer. The src buffer is not reset afterwards. Translation, clipping masks and current pen settings on the dst buffer are respected.
This function is intended for storing long-term screen state that rarely changes in an of-screen buffer stored by the application, allowing fast efficient rendering when required. Applications using this should be aware that memory allocated internally by the TickitRenderBuffer instance is only release by tickit_renderbuffer_reset(3).