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 /*****************************************************************************
18 AROS_LH8(void, BltPipeSurfaceRastPort
,
21 AROS_LHA(struct pipe_surface
* , srcPipeSurface
, A0
),
22 AROS_LHA(LONG
, xSrc
, D0
),
23 AROS_LHA(LONG
, ySrc
, D1
),
24 AROS_LHA(struct RastPort
* , destRP
, A1
),
25 AROS_LHA(LONG
, xDest
, D2
),
26 AROS_LHA(LONG
, yDest
, D3
),
27 AROS_LHA(LONG
, xSize
, D4
),
28 AROS_LHA(LONG
, ySize
, D5
),
31 struct Library
*, GalliumBase
, 7, Gallium
)
34 Copies part of pipe surface onto rast port. Clips output by using layers of
38 srcPipeSurface - Copy from this pipe surface.
39 xSrc, ySrc - This is the upper left corner of the area to copy.
40 destRP - Destination RastPort.
41 xDest, yDest - Upper left corner where to place the copy
42 xSize, ySize - The size of the area to copy
52 *****************************************************************************/
56 BltPipeResourceRastPort(srcPipeSurface
->texture
, xSrc
, ySrc
, destRP
, xDest
,