1 #include <hidd/compositing.h>
2 #include <hidd/graphics.h>
5 /* Inline stubs for calling the driver */
7 static inline OOP_Object
*composer_LoadViewPorts(OOP_Object
*o
, struct HIDD_ViewPortData
*Data
, BOOL
*Active
, struct GfxBase
*GfxBase
)
9 struct pHidd_Compositing_BitMapStackChanged bscmsg
=
11 mID
: PrivGBase(GfxBase
)->HiddCompositingMethodBase
+ moHidd_Compositing_BitMapStackChanged
,
16 return (OOP_Object
*)OOP_DoMethod(o
, &bscmsg
.mID
);
19 static inline BOOL
composer_ScrollBitMap(OOP_Object
*o
, OOP_Object
*bitmap
, SIPTR
*x
, SIPTR
*y
, struct GfxBase
*GfxBase
)
21 struct pHidd_Compositing_BitMapPositionChange msg
=
23 mID
: PrivGBase(GfxBase
)->HiddCompositingMethodBase
+ moHidd_Compositing_BitMapPositionChange
,
29 return OOP_DoMethod(o
, &msg
.mID
);
32 static inline void composer_UpdateBitMap(OOP_Object
*o
, OOP_Object
*bitmap
, UWORD x
, UWORD y
, UWORD w
, UWORD h
, struct GfxBase
*GfxBase
)
34 struct pHidd_Compositing_BitMapRectChanged msg
=
36 mID
: PrivGBase(GfxBase
)->HiddCompositingMethodBase
+ moHidd_Compositing_BitMapRectChanged
,
44 OOP_DoMethod(o
, &msg
.mID
);
47 /* Service functions defined in compositing_driver.c */
49 ULONG
composer_Install(OOP_Class
*cl
, struct GfxBase
*GfxBase
);
50 void composer_Setup(struct monitor_driverdata
*mdd
, struct GfxBase
*GfxBase
);