L4Re - L4 Runtime Environment
|
Goos server class. More...
Public Member Functions | |
L4::Cap< L4Re::Dataspace > | get_fb () const |
Return framebuffer memory dataspace. More... | |
L4Re::Video::Goos::Info const * | screen_info () const |
Goos information structure. More... | |
L4Re::Video::View::Info const * | view_info () const |
View information structure. More... | |
virtual int | refresh (int x, int y, int w, int h) |
Refresh area of the framebuffer. More... | |
void | init_infos () |
Initialize the view information structure of this object. More... | |
virtual | ~Goos_svr () |
Destructor. | |
Protected Attributes | |
L4::Cap< L4Re::Dataspace > | _fb_ds |
Goos memory dataspace. | |
L4Re::Video::Goos::Info | _screen_info |
Goos information. | |
L4Re::Video::View::Info | _view_info |
View information. | |
|
inline |
|
inline |
Initialize the view information structure of this object.
This function initializes the view info structure of this goos object based on the information in the goos information, i.e. the width, height and pixel_info of the goos information has to contain valid values before calling init_info().
Definition at line 89 of file goos_svr.
References L4Re::Video::View::Info::buffer_index, L4Re::Video::View::Info::flags, L4Re::Video::View::Info::height, L4Re::Video::Goos::Info::height, L4Re::Video::View::Info::pixel_info, L4Re::Video::Goos::Info::pixel_info, L4Re::Video::View::Info::view_index, L4Re::Video::View::Info::width, L4Re::Video::Goos::Info::width, L4Re::Video::View::Info::xpos, and L4Re::Video::View::Info::ypos.
|
inlinevirtual |
Refresh area of the framebuffer.
x | X coordinate (pixels) |
y | Y coordinate (pixels) |
w | Width of area in pixels |
h | Height of area in pixels |
Definition at line 77 of file goos_svr.
References L4_ENOSYS.
Referenced by ~Goos_svr().
|
inline |
Goos information structure.
Definition at line 59 of file goos_svr.
References _screen_info.
|
inline |
View information structure.
Definition at line 65 of file goos_svr.
References _view_info.