gallium
Index
void BltPipeResourceRastPort(
PipeHandle_t pipe,
struct pipe_resource * srcPipeResource,
LONG xSrc,
LONG ySrc,
struct RastPort * destRP,
LONG xDest,
LONG yDest,
LONG xSize,
LONG ySize );
Copies part of pipe resource onto rast port. Clips output by using layers of
rastport.
srcPipeResource - Copy from this pipe resource.
xSrc, ySrc - This is the upper left corner of the area to copy.
destRP - Destination RastPort.
xDest, yDest - Upper left corner where to place the copy
xSize, ySize - The size of the area to copy
PipeHandle_t CreatePipe(
struct TagItem * tags );
PipeHandle_t CreatePipeTags(
TAG tag, ... );
Instantiates a gallium pipe.
tags - a pointer to tags to be used during creation.
CPS_PipeFriendBitmap - a bitmap our pipe screen will target.
CPS_PipeScreenDriver * - where to store the driver.
CPS_GalliumInterfaceVersion - Indicates a version of gallium interface
that a client is expected to receive. The client expected version
must ideally match with the version that the driver provides,
because gallium interface is not backwards compatible. This tag is
required. Unless otherwise needed, the value
GALLIUM_INTERFACE_VERSION should be passed.
See also CreatePipeV.
A valid pipe instance or NULL if creation was not successful.
struct pipe_screen * CreatePipeScreen(
PipeHandle_t pipe );
Creates a gallium pipe screen.
pipe - a pipe handle created using CreatePipe().
A valid pipe screen instance or NULL if creation was not successful.
void DestroyPipe(
PipeHandle_t pipe );
Destroys a peviously created pipe.
pipe - a pipe handle created using CreatePipe().
void DestroyPipeScreen(
PipeHandle_t pipe,
struct pipe_screen * pscreen );
handle - a pointer to pipe screen structure. A NULL pointer will be
ignored.
The pipe screen is freed. Don't use it anymore.
|
|