1 // Copyright 2016 The Fuchsia Authors 2 // Copyright (c) 2010 Travis Geiselbrecht 3 // 4 // Use of this source code is governed by a MIT-style 5 // license that can be found in the LICENSE file or at 6 // https://opensource.org/licenses/MIT 7 8 #pragma once 9 10 #include <lib/gfx.h> 11 #include <zircon/compiler.h> 12 #include <zircon/types.h> 13 14 __BEGIN_CDECLS 15 16 zx_status_t gfxconsole_display_get_info(struct display_info* info); 17 void gfxconsole_start(gfx_surface* surface, gfx_surface* hw_surface); 18 void gfxconsole_bind_display(struct display_info* info, void* raw_sw_fb); 19 void gfxconsole_putpixel(unsigned x, unsigned y, unsigned color); 20 void gfxconsole_flush(void); 21 22 __END_CDECLS 23