Metatarget for copying of testfile fixed.
[AROS.git] / workbench / libs / gallium / bltpipesurfacerastport.c
blob8ab9544d8a60b0dfaf8b34f5e6e7068275d58b57
1 /*
2 Copyright 2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
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 /*****************************************************************************
18 NAME */
20 AROS_LH8(void, BltPipeSurfaceRastPort,
22 /* SYNOPSIS */
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),
32 /* LOCATION */
33 struct Library *, GalliumBase, 7, Gallium)
35 /* NAME
37 FUNCTION
38 Copies part of pipe surface onto rast port. Clips output by using layers of
39 rastport.
41 INPUTS
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
48 RESULT
50 BUGS
52 INTERNALS
54 HISTORY
56 *****************************************************************************/
58 AROS_LIBFUNC_INIT
60 BltPipeResourceRastPort(srcPipeSurface->texture, xSrc, ySrc, destRP, xDest,
61 yDest, xSize, ySize);
63 AROS_LIBFUNC_EXIT