Kernel/vfs - Better handling of -1 in handle list
[tpg/acess2.git] / Usermode / Applications / axwin3_src / include / framebuffer_messages.h
1 /*
2  * Acess2 Window Manager v3
3  * - By John Hodge (thePowersGang)
4  *
5  * framebuffer_messages.h
6  * - Drawing Surface / Framebuffer Window Type
7  */
8 #ifndef _AXWIN3__FRAMEBUFFER_MESSAGES_H_
9 #define _AXWIN3__FRAMEBUFFER_MESSAGES_H_
10
11 enum eFrameBuffer_IPCCalls
12 {
13         IPC_FB_COMMIT,
14         IPC_FB_NEWBUF,
15         IPC_FB_UPLOAD,
16         IPC_FB_DOWNLOAD,        // Replies with requested data
17         IPC_FB_BLIT,
18         IPC_FB_FILL,
19         N_IPC_FB
20 };
21
22 typedef struct
23 {
24         uint16_t        Buffer;
25         uint16_t        W, H;
26 } tFBIPC_NewBuf;
27
28 typedef struct
29 {
30         uint16_t        Buffer;
31         uint16_t        W, H;
32         uint16_t        X, Y;
33         uint32_t        ImageData[];
34 } tFBIPC_Transfer;
35
36 typedef struct
37 {
38         uint16_t        Source;
39         uint16_t        Dest;
40         uint16_t        SrcX, SrcY;
41         uint16_t        DstX, DstY;
42         uint16_t        W, H;
43 } tFBIPC_Blit;
44
45 typedef struct
46 {
47         uint16_t        Buffer;
48         uint16_t        X, Y;
49         uint16_t        W, H;
50         uint32_t        Colour;
51 } tFBIPC_Fill;
52
53 #endif
54

UCC git Repository :: git.ucc.asn.au