[PATCH 1/2] Add RegionInitBoxes(), and fix some buggy callers of RegionInit().

Keith Packard keithp at keithp.com
Wed Mar 30 09:58:47 PDT 2011


On Wed, 30 Mar 2011 11:34:09 -0400, Søren Sandmann <sandmann at cs.au.dk> wrote:

> This patch adds a new function RegionInitBoxes() and fixes those
> instances to call that instead.

What's the memory allocation story here? Does RegionInitBoxes allocate
space and copy the provided boxes in (in which case a bit of error
detection is required)? Or does the region just end up pointing at the
provided boxes (in which case I'd like to see how the region gets
freed or resized)

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110330/ccda314e/attachment.pgp>


More information about the xorg-devel mailing list