NetSurf
|
Screen buffering (interface). More...
#include "oslib/wimp.h"
Go to the source code of this file.
Functions | |
void | ro_gui_buffer_open (const wimp_draw *redraw) |
Opens a buffer for writing to. More... | |
void | ro_gui_buffer_close (void) |
Closes any open buffer and flushes the contents to screen. More... | |
Screen buffering (interface).
Definition in file buffer.h.
void ro_gui_buffer_close | ( | void | ) |
Closes any open buffer and flushes the contents to screen.
Definition at line 370 of file buffer.c.
References buffer, clipping, context0, context1, context2, context3, mode, nsoption_int, ro_gui_buffer_free(), ro_plot_origin_x, ro_plot_origin_y, save_area, Tinct_Plot, and tinct_SPRITE_MODE.
Referenced by ro_gui_buffer_open(), ro_gui_cleanup(), and ro_gui_window__redraw_rect().
void ro_gui_buffer_open | ( | const wimp_draw * | redraw | ) |
Opens a buffer for writing to.
The ro_plot_origin_ variables are updated to reflect the new screen origin, so the variables should be set before calling this function, and not changed until after ro_gui_buffer_close() has been called.
redraw | the current WIMP redraw area to buffer |
Definition at line 84 of file buffer.c.
References buffer, buffer_name, clipping, context0, context1, context2, context3, mode, NSLOG, osspriteop_TYPE16BPP4K, osspriteop_TYPEEXPANSION, PTR_OS_VDU_VAR_LIST, ro_convert_os_units_to_pixels(), ro_gui_buffer_close(), ro_gui_buffer_free(), ro_plot_origin_x, ro_plot_origin_y, save_area, tinct_SPRITE_MODE, and type.
Referenced by ro_gui_window__redraw_rect().