[Mesa-dev] [PATCH 4/6] gallium: Add a dumb drm/kms winsys backed swrast provider

Emil Velikov emil.l.velikov at gmail.com
Thu Jul 31 17:38:15 PDT 2014

On 31/07/14 17:53, Jon TURNEY wrote:
> On 24/07/2014 01:43, Emil Velikov wrote:
>> From: Giovanni Campagna <gcampagna at src.gnome.org>
>> Add a new winsys and target that can be used with a dri2 state tracker
>> and loader instead of drisw. This allows to use gbm as a dri2/image
>> loader and avoid the extra copy from the backbuffer to the shadow
>> frontbuffer.
>> The new driver is called "kms_swrast", and is loaded by gbm as a
>> fallback, because it is only useful with the gbm platform (as no buffer
>> sharing is possible)
>> To force select the driver set the environment variable
>> [Emil Velikov]
>>   - Rebase on top of gallium megadriver.
>>   - s/text/test/ in configure.ac (Spotted by Andreas Pokorny).
>>   - Add scons support for winsys/sw/kms-dri and fix the build.
>>   - Provide separate DriverAPI, due to different InitScreen hook.
> Unfortunately, this seems to break my build.
> I guess something like the attached is needed.
> [1] http://tinderbox.x.org/builds/2014-07-31-0006/logs/mesa-mesa/#build
Indeed it is. Thanks for the patch - reviewed and pushed to master.


More information about the mesa-dev mailing list