2 Copyright 1995-2019, The AROS Development Team. All rights reserved.
6 #ifndef _P96GFXBITMAP_H
7 #define _P96GFXBITMAP_H
9 #define IID_Hidd_BitMap_P96 "hidd.bitmap.p96"
11 #include "p96gfx_rtg.h"
13 /* This structure is used as instance data for the bitmap class. */
18 struct SignalSemaphore bmLock
;
19 OOP_Object
*pixfmtobj
; /* Cached pixelformat object */
20 OOP_Object
*gfxhidd
; /* Cached driver object */
25 WORD width
, height
, align
;
29 WORD topedge
, leftedge
;
33 #define LOCK_BITMAP(data) {ObtainSemaphore(&(data)->bmLock);}
34 #define TRYLOCK_BITMAP(data) (AttemptSemaphore(&(data)->bmLock))
35 #define UNLOCK_BITMAP(data) {ReleaseSemaphore(&(data)->bmLock);}