L4Re Operating System Framework
Interface and Usage Documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
goos.h
Go to the documentation of this file.
1
6/*
7 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
8 * economic rights: Technische Universität Dresden (Germany)
9 *
10 * License: see LICENSE.spdx (in this directory or the directories above)
11 */
12#pragma once
13
14#include <l4/sys/types.h>
15#include <l4/re/c/dataspace.h>
17#include <l4/re/c/video/view.h>
18
35
40typedef struct
41{
42 unsigned long width;
43 unsigned long height;
44 unsigned flags;
49
55
57
69L4_CV int
72
82L4_CV int
84 int h) L4_NOTHROW;
85
97L4_CV int
100
108L4_CV int
110
121L4_CV int
123 l4_cap_idx_t buffer) L4_NOTHROW;
124
131L4_CV int
134
142L4_CV int
145
146
158L4_CV int
161
Data space C interface.
l4re_video_goos_info_flags_t
Flags of information on the goos.
Definition goos.h:29
int l4re_video_goos_delete_buffer(l4re_video_goos_t goos, unsigned idx) L4_NOTHROW
Delete a pixel buffer.
int l4re_video_goos_info(l4re_video_goos_t goos, l4re_video_goos_info_t *ginfo) L4_NOTHROW
Get information on a goos.
int l4re_video_goos_refresh(l4re_video_goos_t goos, int x, int y, int w, int h) L4_NOTHROW
Flush a rectangle of pixels of the goos screen.
l4_cap_idx_t l4re_video_goos_t
Goos object type.
Definition goos.h:54
int l4re_video_goos_get_static_buffer(l4re_video_goos_t goos, unsigned idx, l4_cap_idx_t buffer) L4_NOTHROW
Get the data-space capability of the static pixel buffer.
int l4re_video_goos_get_view(l4re_video_goos_t goos, unsigned idx, l4re_video_view_t *view) L4_NOTHROW
Get a view for the given index.
int l4re_video_goos_create_view(l4re_video_goos_t goos, l4re_video_view_t *view) L4_NOTHROW
Create a new view (.
int l4re_video_goos_delete_view(l4re_video_goos_t goos, l4re_video_view_t *view) L4_NOTHROW
Delete a view.
int l4re_video_goos_create_buffer(l4re_video_goos_t goos, unsigned long size, l4_cap_idx_t buffer) L4_NOTHROW
Create a new buffer (memory buffer) for pixel data.
@ F_l4re_video_goos_pointer
We have a mouse pointer.
Definition goos.h:31
@ F_l4re_video_goos_dynamic_views
Supports dynamically allocated views.
Definition goos.h:32
@ F_l4re_video_goos_dynamic_buffers
Supports dynamically allocated buffers.
Definition goos.h:33
@ F_l4re_video_goos_auto_refresh
The graphics display is automatically refreshed.
Definition goos.h:30
unsigned long l4_cap_idx_t
Capability selector type.
Definition types.h:335
#define __END_DECLS
End section with C types and functions.
Definition compiler.h:167
#define L4_CV
Define calling convention.
Definition linkage.h:33
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
Definition compiler.h:159
#define __BEGIN_DECLS
Start section with C types and functions.
Definition compiler.h:164
Common L4 ABI Data Types.
Goos information structure.
Definition goos.h:41
l4re_video_pixel_info_t pixel_info
Pixel layout of the goos.
Definition goos.h:47
unsigned long height
Height of the goos.
Definition goos.h:43
unsigned long width
Width of the goos.
Definition goos.h:42
unsigned num_static_views
Number of static views.
Definition goos.h:45
unsigned flags
Flags of the framebuffer, see l4re_video_goos_info_flags_t.
Definition goos.h:44
unsigned num_static_buffers
Number of static buffers.
Definition goos.h:46
Pixel_info structure.
Definition colors.h:31
C representation of a goos view.
Definition view.h:68