PEXAllocateAccumulationBuffer - Allocate Accumulation Buffer (5.2)


Synopsis

                                                                           
     void PEXAllocateAccumulationBuffer(                                 
             Display *display,                
             Drawable drawable               
         )                                                                      

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.

drawable
The accumulation buffer is associated with this drawable.

Returns

None.

Description

Invoke PEXAllocateAccumulationBuffer to allocate an accumulation buffer for the specified drawable.

The width and height of the accumulation buffer match that of the drawable. The depth of the buffer is implementation-dependent but must be at least as deep as the drawable. The initial contents of the buffer are undefined. The function PEXLoadAccumulationBuffer initializes the accumulation buffer.

Errors

BadAlloc
The implementation was unable to allocate the necessary resources.

BadMatch
drawable is invalid or does not specify a drawable capable of supporting an accumulation buffer.

See Also

See Accumulation Buffers for an overview.