2 Copyright 2010, The AROS Development Team. All rights reserved.
6 #include "gallium_intern.h"
7 #include <graphics/rastport.h>
8 #include <proto/layers.h>
9 #include <proto/graphics.h>
10 #include <proto/gallium.h>
11 #include <gallium/pipe/p_state.h>
12 #include <aros/debug.h>
14 #define HIDD_BM_OBJ(bitmap) (*(OOP_Object **)&((bitmap)->Planes[0]))
16 /*****************************************************************************
20 AROS_LH8(void, BltPipeSurfaceRastPort
,
23 AROS_LHA(struct pipe_surface
* , srcPipeSurface
, A0
),
24 AROS_LHA(LONG
, xSrc
, D0
),
25 AROS_LHA(LONG
, ySrc
, D1
),
26 AROS_LHA(struct RastPort
* , destRP
, A1
),
27 AROS_LHA(LONG
, xDest
, D2
),
28 AROS_LHA(LONG
, yDest
, D3
),
29 AROS_LHA(LONG
, xSize
, D4
),
30 AROS_LHA(LONG
, ySize
, D5
),
33 struct Library
*, GalliumBase
, 7, Gallium
)
38 Copies part of pipe surface onto rast port. Clips output by using layers of
42 srcPipeSurface - Copy from this pipe surface.
43 xSrc, ySrc - This is the upper left corner of the area to copy.
44 destRP - Destination RastPort.
45 xDest, yDest - Upper left corner where to place the copy
46 xSize, ySize - The size of the area to copy
56 *****************************************************************************/
60 BltPipeResourceRastPort(srcPipeSurface
->texture
, xSrc
, ySrc
, destRP
, xDest
,