Originally all hardware drivers duplicate the driver_name string
from an external source, while for the software rasterizer we set
it to "swrast". Follow the example set by hw drivers this way
we can free the string at dri2_terminate().
v2: Use strdup over strndup. Suggested by Ilia Mirkin.
v3: Ha
On 02/06/14 07:31, Chia-I Wu wrote:
> On Sun, Jun 1, 2014 at 11:53 PM, Emil Velikov
> wrote:
>> Originally all hardware drivers duplicate the driver_name string
>> from an external source, while for the software rasterizer we set
>> it to "swrast". Follow the example set by hw drivers this way
>>
On Sun, Jun 1, 2014 at 11:53 PM, Emil Velikov wrote:
> Originally all hardware drivers duplicate the driver_name string
> from an external source, while for the software rasterizer we set
> it to "swrast". Follow the example set by hw drivers this way
> we can free the string at dri2_terminate().
Originally all hardware drivers duplicate the driver_name string
from an external source, while for the software rasterizer we set
it to "swrast". Follow the example set by hw drivers this way
we can free the string at dri2_terminate().
v2: Use strdup over strndup. Suggested by Ilia Mirkin.
Cc: C