quic/qbox
|
Qemu Display abstraction as a SystemC module. More...
#include <display.h>
Public Member Functions | |
bool | is_realized () const |
void | instantiate () |
void | realize () |
MainThreadQemuDisplay (QemuDevice *gpu) | |
MainThreadQemuDisplay (sc_core::sc_object *gpu) | |
Construct a MainThreadQemuDisplay. | |
MainThreadQemuDisplay (QemuVirtioGpu &gpu) | |
Construct a MainThreadQemuDisplay. | |
MainThreadQemuDisplay (QemuVirtioMMIOGpuGl &gpu) | |
Construct a MainThreadQemuDisplay. | |
void | before_end_of_elaboration () |
void | end_of_elaboration () |
void | start_of_simulation (void) |
QemuInstance & | get_qemu_inst () |
bool | is_instantiated () const |
const std::vector< qemu::SDL2Console > & | get_sdl2_consoles () const |
Static Public Member Functions | |
static void | gl_switch (DisplayChangeListener *dcl, DisplaySurface *new_surface) |
static void | gl_update (DisplayChangeListener *dcl, int x, int y, int w, int h) |
static void | gl_refresh (DisplayChangeListener *dcl) |
static void | window_create (DisplayChangeListener *dcl) |
static void | window_destroy (DisplayChangeListener *dcl) |
static void | window_resize (DisplayChangeListener *dcl) |
static void | poll_events (DisplayChangeListener *dcl) |
static bool | is_compatible_dcl (DisplayGLCtx *ctx, DisplayChangeListener *dcl) |
Qemu Display abstraction as a SystemC module.
This class abstracts a Qemu display as a SystemC module.
MainThreadQemuDisplay::MainThreadQemuDisplay | ( | sc_core::sc_object * | gpu | ) |
Construct a MainThreadQemuDisplay.
[in] | gpu | GPU module associated to this diplay. |
MainThreadQemuDisplay::MainThreadQemuDisplay | ( | QemuVirtioGpu & | gpu | ) |
Construct a MainThreadQemuDisplay.
[in] | name | SystemC module name |
[in] | gpu | GPU module associated to this diplay. |
MainThreadQemuDisplay::MainThreadQemuDisplay | ( | QemuVirtioMMIOGpuGl & | gpu | ) |
Construct a MainThreadQemuDisplay.
[in] | name | SystemC module name |
[in] | gpu | GPU module associated to this display |