set the lock the task is waiting on, and re-add spinning tasks when a lock is released
[AROS.git] / workbench / hidds / softpipe / softpipe_intern.h
blob72e0b7e33fa605460c5d6f6bcf4645246086d4c5
1 #ifndef _SOFTPIPE_INTERN_H
2 #define _SOFTPIPE_INTERN_H
4 /*
5 Copyright 2010, The AROS Development Team. All rights reserved.
6 $Id$
7 */
10 #include LC_LIBDEFS_FILE
12 #define CLID_Hidd_Gallium_Softpipe "hidd.gallium.softpipe"
14 struct HIDDGalliumSoftpipeData
18 struct softpipestaticdata
20 OOP_Class *galliumclass;
21 OOP_AttrBase hiddGalliumAB;
22 struct Library *SoftpipeCyberGfxBase;
25 LIBBASETYPE
27 struct Library LibNode;
28 struct softpipestaticdata sd;
31 #define METHOD(base, id, name) \
32 base ## __ ## id ## __ ## name (OOP_Class *cl, OOP_Object *o, struct p ## id ## _ ## name *msg)
34 #define BASE(lib) ((LIBBASETYPEPTR)(lib))
36 #define SD(cl) (&BASE(cl->UserData)->sd)
38 #endif