zircon/kernel/lib/gfxconsole/gfxconsole.cc
/**
 * @brief  Initialize graphics console on given drawing surface.
 *
 * The graphics console subsystem is initialized, and registered as
 * an output device for debug output.
 */
@brief  Initialize graphics console on given drawing surface.
The graphics console subsystem is initialized, and registered as
an output device for debug output.
@brief Initialize graphics console on given drawing surface . The graphics console subsystem is initialized and registered as an output device for debug output .
void gfxconsole_start(gfx_surface* surface, gfx_surface* hw_surface) {
  DEBUG_ASSERT(gfxconsole.surface == NULL);
  gfxconsole_setup(surface, hw_surface);
  gfxconsole_clear(false);
  register_print_callback(&cb);
}
void gfxconsole_start ( gfx_surface * surface , gfx_surface * hw_surface ) { DEBUG_ASSERT ( gfxconsole . surface == NULL ) ; gfxconsole_setup ( surface , hw_surface ) ; gfxconsole_clear ( false ) ; register_print_callback ( & cb ) ; }
@brief  Initialize graphics console on given drawing surface.
@brief Initialize graphics console on given drawing surface .
// register for debug callbacks