summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/SConscript
Commit message (Collapse)AuthorAgeFilesLines
* {st,targets}/dri: use static/dynamic pipe-loaderEmil Velikov2015-11-211-4/+0
| | | | | | | | | | Covert DRI to use only the pipe-loader interface. With drisw_create_screen and kms_swrast_create_screen replaced by their pipe-loader equivalent, we can now drop them. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Rob Clark <robclark@freedesktop.org>
* scons: don't build the kms-dri winsysEmil Velikov2015-07-221-1/+0
| | | | | | | | | Same as previous commit - unused (gbm is not a thing outside the autotools build). v2: Remove trailing HAVE_LIBDRM. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* st/dri: unwrap/remove __NOT_HAVE_DRM_H magicEmil Velikov2015-07-221-3/+0
| | | | | | | | | | | | | | | With the dri_interface.h clean of the macro, we can remove the final only st/dri specific use of the very same. Seemingly it was incorrectly used, as the build-time presence of dri2 is not libdrm specific. At run-time, the code is already limited to dri2 use-cases plus returning true, when the extension is not present (or too old) will likely lead to a crash as one tries to use it shortly after the dri_with_format() call. As a side effect this gives us a nice cleanup the builds. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* st/dri: remove unused include from the automake/scons buildEmil Velikov2015-03-161-1/+0
| | | | | | | st/dri/common hasn't been around for a while. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
* st/dri: define GALLIUM_SOFTPIPE when building kms_swrastEmil Velikov2014-08-121-1/+4
| | | | | | | | | | | | | | | To avoid unresolved symbols in the DRI modules with earlier commit we wrapped the innards of dri_kms_init_screen() in a DRI_TARGET/GALLIUM_SOFTPIPE ifdef. At the same time we forgot to adds the defines to the st/dri build systems, breaking kms_swrast and gnome-continuous. Drop the DRI_TARGET define, we're already in st/DRI. Reported-by: Jasper St. Pierre <jstpierre@mecheye.net> Reported-by: Vadim Rutkovsky <vrutkovs@redhat.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* util: Gather some common macrosJason Ekstrand2014-08-041-0/+1
| | | | | | | | | | This gathers macros that have been included across components into util so that the include chain can be more vertical. In particular, this makes util stand on its own without any dependence whatsoever on the rest of mesa. Signed-off-by: "Jason Ekstrand" <jason.ekstrand@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
* st/dri: merge dri/drm and dri/sw backendsEmil Velikov2014-07-101-3/+32
| | | | | | | | | | | | | | Move the driver_name to dri2/drisw and remove all the SPLIT_TAGETS mayhem. In the next step we'll unify the dri and dri-swrast targets, completing the gallium DRI megadriver. v2: Remove leftover st/dri Makefiles from CONFIG_FILES. Spotted by Thomas Helland. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Rob Clark <robclark@freedesktop.org> Tested-by: Thomas Helland <thomashelland90 at gmail.com> Acked-by: Tom Stellard <thomas.stellard@amd.com>
* scons: DetabifyJakob Bornecrantz2010-11-051-2/+2
| | | | Drivers scons files for a later time
* swrastg: Build with sconsJakob Bornecrantz2010-03-261-0/+1
|
* st/dri: Reshuffle files and make it obvious which files are sharedJakob Bornecrantz2010-03-261-25/+3
| | | | | | | | | | In short: git mv ../drisw/Makefile dri/sw git mv drisw.[c|h] sw git mv dri2.[c|h] dri1.[c|h] Makefile drm git rm ../drisw ln -s <common files> drm/* ln -s <common files> sw/*
* st/dri: export DRI1 surface / pipeGeorge Sapountzis2010-03-251-0/+1
| | | | They will be used by DRISW. Also, add destroy functions.
* st/dri: split out DRI2 codeGeorge Sapountzis2010-03-251-0/+1
|
* st/dri: Implement st_api.h callbacks.Chia-I Wu2010-03-181-0/+1
| | | | | This commit adds dri_st_api.c that implements st_api.h callbacks. A following commit will switch st/dri from st_public.h to st_api.h.
* st/dri: Move DRI1 bits in dri_screen.c to dri1.c.Chia-I Wu2010-03-181-0/+1
|
* gallium: Add SCons build support for the DRI state tracker.Michel Dänzer2009-04-301-0/+23