wip prep commit in lieu of gfx subsystem update changes.
[AROS.git] / arch / m68k-amiga / hidd / amigavideo / amigavideo_bitmap.h
blobd61610b12f5e1fbd20177edb5af13553cfc3b276
1 /*
2 Copyright 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef _AMIGABITMAP_H
7 #define _AMIGABITMAP_H
9 #define IID_Hidd_BitMap_AmigaVideo "hidd.bitmap.amigavideo"
11 enum
13 aoHidd_BitMap_AmigaVideo_Drawable,
14 num_Hidd_BitMap_AmigaVideo_Attrs
17 #define aHidd_BitMap_AmigaVideo_Drawable (__IHidd_BitMap_AmigaVideo + aoHidd_BitMap_AmigaVideo_Drawable)
19 #define IS_BM_ATTR(attr, idx) ( ( (idx) = (attr) - __IHidd_Attr) < num_Hidd_BitMap_Attrs)
20 #define IS_AmigaVideoBM_ATTR(attr, idx) ( ( (idx) = (attr) - __IHidd_BitMap_AmigaVideo) < num_Hidd_BitMap_AmigaVideo_Attrs)
23 /* This structure is used as instance data for the bitmap class.
26 struct amigabm_data
28 struct MinNode node;
29 struct BitMap *pbm;
30 WORD width;
31 WORD height;
32 WORD bytesperrow;
33 UBYTE depth;
34 UBYTE planebuf_size;
35 WORD topedge, leftedge;
36 BOOL disp;
37 WORD align;
38 WORD displaywidth;
39 WORD displayheight;
40 /* pixel read/write cache */
41 ULONG pixelcacheoffset;
42 UBYTE pixelcache[32];
43 ULONG writemask;
46 #include "chipset.h"
48 #endif /* _AMIGABITMAP_H */