24 #include <l4/re/video/goos> 28 #include <l4/sys/cxx/ipc_legacy> 30 namespace L4Re {
namespace Util {
namespace Video {
38 typedef L4Re::Video::Goos::Rights Rights;
77 virtual int refresh(
int x,
int y,
int w,
int h)
78 { (void)x; (void)y; (void)w; (void)h;
return -
L4_ENOSYS; }
93 _view_info.
flags = View::F_none;
124 long op_get_static_buffer(Rights,
unsigned idx,
134 long op_refresh(Rights,
int x,
int y,
int w,
int h)
135 {
return refresh(x, y, w, h); }
137 long op_view_refresh(Rights,
unsigned idx,
int x,
int y,
int w,
int h)
148 long op_view_stack(Rights,
unsigned,
unsigned,
bool)
151 long op_delete_view(Rights,
unsigned)
154 long op_create_view(Rights)
157 long op_create_buffer(Rights,
unsigned long,
161 long op_delete_buffer(Rights,
unsigned)
unsigned long width
Width of the view in pixels.
unsigned view_index
Index of the view.
Capability type for RPC interfaces (see L4::Cap<T>).
Read and interface specific 'W' right for capability flex-pages.
unsigned long ypos
Y position in pixels of the view in the goos.
Information structure of a view.
unsigned flags
Flags, see Flags and V_flags.
Goos protocol definition.
L4Re::Video::View::Info const * view_info() const
View information structure.
L4::Cap< L4Re::Dataspace > get_fb() const
Return framebuffer memory dataspace.
L4::Cap related definitions.
Pixel_info pixel_info
Pixel information.
unsigned long height
Height.
void init_infos()
Initialize the view information structure of this object.
virtual int refresh(int x, int y, int w, int h)
Refresh area of the framebuffer.
L4Re::Video::Goos::Info _screen_info
Goos information.
Information structure of a goos.
unsigned buffer_index
Number of the buffer used for this view.
L4::Cap< L4Re::Dataspace > _fb_ds
Goos memory dataspace.
unsigned long width
Width.
unsigned long xpos
X position in pixels of the view in the goos.
L4Re::Video::View::Info _view_info
View information.
Pixel_info pixel_info
Pixel information.
L4Re::Video::Goos::Info const * screen_info() const
Goos information structure.
unsigned long height
Height of the view in pixels.
virtual ~Goos_svr()
Destructor.