path: root/src/gallium/winsys/
AgeCommit message (Collapse)AuthorFilesLines
2014-08-13automake: compact gallium/drivers and gallium/winsys makefilesEmil Velikov1-77/+0
Rather than having two separate almost empty and identical makefiles, compact them thus improving the configure and build time. Additionally this makes the automake build symmetrical to the scons and android one. v2: Rebase on top of vc4, compact drivers + winsys on a single line. Signed-off-by: Emil Velikov <> Reviewed-by: Matt Turner <>
2014-08-08vc4: Initial skeleton driver import.Eric Anholt1-0/+4
This mostly just takes every draw call and turns it into a sequence of commands that clear the FBO and draw a single shaded triangle to it, regardless of the actual input vertices or shaders. I copied the initial driver skeleton mostly from freedreno, and I've preserved Rob Clark's copyright for those. I also based my initial hardcoded shaders and command lists on Scott Mansell (phire)'s "hackdriver" project, though the bit patterns of the shaders emitted end up being different. v2: Rebase on gallium megadrivers changes. v3: Rebase on PIPE_SHADER_CAP_MAX_CONSTS change. v4: Rely on simpenrose actually being installed when building for simulation. v5: Add more header duplicate-include guards. v6: Apply Emil's review (protection against vc4 sim and ilo at the same time, and dropping the dricommon drm bits) and fix a copyright header (thanks, Roland)
2014-07-30gallium: Add a dumb drm/kms winsys backed swrast providerGiovanni Campagna1-0/+4
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 GBM_ALWAYS_SOFTWARE [Emil Velikov] - Rebase on top of gallium megadriver. - s/text/test/ in (Spotted by Andreas Pokorny). - Add scons support for winsys/sw/kms-dri and fix the build. - Provide separate DriverAPI, due to different InitScreen hook. Signed-off-by: Emil Velikov <>
2014-06-19automake: stop building i915-sw and drop explicit linking to softpipeEmil Velikov1-1/+1
Unused and possibly broken. Will be completely removed in upcomming commits. Signed-off-by: Emil Velikov <>
2014-05-23Make DRI dependencies and build depend on the targetJon TURNEY1-1/+1
- Don't require xcb-dri[23] etc. if we aren't building for a target with DRM, as we won't be using dri[23] - Enable a more fine-grained control of what DRI code is built, so that a libGL using direct swrast can be built on targets which don't have DRM. The HAVE_DRI automake conditional is retired in favour of a number of other conditionals: HAVE_DRI2 enables building of code using the DRI2 interface (and possibly DRI3 with HAVE_DRI3) HAVE_DRISW enables building of DRI swrast HAVE_DRICOMMON enables building of target-independent DRI code, and also enables some makefile cases where a more detailled decision is made at a lower level. HAVE_APPLEDRI enables building of an Apple-specific direct rendering interface, still which requires additional fixing up to build properly. v2: Place xfont.c and drisw_glx.c into correct categories. Update 'make check' as well Signed-off-by: Jon TURNEY <> Reviewed-by: Jeremy Huddleston Sequoia <> Reviewed-by: Emil Velikov <>
2013-04-26ilo: add the driver to the build systemChia-I Wu1-0/+4
Add ilo to targets/egl-static and add a new target dri-ilo. Update autoconf and automake rules.
2013-04-15build: Get rid of GALLIUM_WINSYS_DIRSMatt Turner1-1/+65
configure still uses it to print the enabled winsys. Tested-by: Emil Velikov <> Reviewed-and-Tested-by: Andreas Boll <> Reviewed-by: Jordan Justen <>
2013-01-10automake: Convert Gallium target and winsysMatt Turner1-0/+1