summaryrefslogtreecommitdiff
path: root/src/gallium/targets
AgeCommit message (Collapse)Author
2010-07-13targets: Link xorg drivers with LLVM if builtJakob Bornecrantz
2010-07-13targets: Clean up xorg make files a bitJakob Bornecrantz
2010-07-13libgl-xlib: add depend to make clean listBrian Paul
2010-07-01mesa: Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-06-30st/egl: Add egl-gdi target.Chia-I Wu
The target supports OpenVG on Windows with software rasterizer. The egl_g3d_loader defined by the target supports arbitrary client APIs and window systems. It is the SConscript that limits the support to OpenVG and GDI. This commit also fixes a typo in gdi backend.
2010-06-29egl: Check for drm winsys not just the driver nameJakob Bornecrantz
Also fix pipe_radeon.so not building
2010-06-29i915g: Fix copy pastoJakob Bornecrantz
2010-06-29egl: Fix gallium build when EGL is not installed on systemJakob Bornecrantz
2010-06-29i915g: Add missing egl pipe fileJakob Bornecrantz
2010-06-29st/egl: Build a single EGL driver.Chia-I Wu
This change makes st/egl build a single egl_gallium.so and multiple st_<API>.so and pipe_<HW>.so. When a display is initialized, the corresponding pipe driver will be loaded. When a context is created, the corresponding state tracker will be loaded. Unlike DRI drivers, no ABI compatibility is maintained. egl_gallium, pipe drivers and state trackers should always be distributed as a single package. As such, there is only a single src/gallium/targets/egl/ that builds everything for the package.
2010-06-29st/egl: Move module loading code to targets.Chia-I Wu
Several changes are made. libegl.a no longer defines _eglMain. It defines functions to create and destroy a _EGLDriver instead. The creation function is called by the targets. It takes an egl_g3d_loader as its argument. The loader is defined by the targets and is in charge of creating st_api and pipe_screen. This allows us to move the module loading code to targets. Lastly, the modules are now loaded as the respective contexts are created.
2010-06-29st/egl: Reorganize targets.Chia-I Wu
Merge all targets into targets/egl/. The target produces egl_gallium_<HW>.so for each pipe driver and st_<API>.so for each client APIs. This enables us to further merge egl_gallium_<HW>.so into egl_gallium.so later.
2010-06-29st/egl: One driver per hardware.Chia-I Wu
Merge multiple egl_<platform>_<pipe>.so into a single egl_gallium_<pipe>.so. The environment variable EGL_PLATFORM is now used to modify the return value of _eglGetNativePlatform.
2010-06-29st/egl: Make api_OpenGL support OpenGL ES.Chia-I Wu
This allows api_OpenGL.so to support OpenGL ES.
2010-06-28i915g: Add Galahad to targetsJakob Bornecrantz
2010-06-28r300g: Galahad for scons as wellJakob Bornecrantz
2010-06-28r300g: Add target defines for GalahadJakob Bornecrantz
2010-06-28Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz
Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c
2010-06-24swrastg: Use target-helpersJakob Bornecrantz
2010-06-24gallium: Use debugging helper in all drm targetsJakob Bornecrantz
2010-06-24gallium: Fix scons buildJakob Bornecrantz
2010-06-24gallium: Remove drm_api and all references to itJakob Bornecrantz
2010-06-24r600g: Move bootstrap code to targetJakob Bornecrantz
2010-06-23nouveau: Move bootstrap code to targetsJakob Bornecrantz
Well sorta, at least I removed the drm_api dependancy and the target can layer anything it wants to now.
2010-06-22targets, radeong: Add Galahad.Corbin Simpson
Currently unconditional and causes segfaults.
2010-06-23i965g: Move bootstrap code to targetsJakob Bornecrantz
2010-06-17egl: s/EGL_DISPLAY/EGL_PLATFORM/.Chia-I Wu
A platform is already used to mean a window system in EGL. No need to use a different term.
2010-06-14swrastg: Fix glue fileJakob Bornecrantz
2010-06-11st/egl: Do not build non-working driver combinations.Chia-I Wu
The KMS backend requires a hardware pipe driver. Do not build egl_kms_swrast. Also, only build egl_fbdev_swrast for fbdev backend. It is a pure software backend.
2010-06-11st/egl: Add fbdev backend.Chia-I Wu
The backend is pure software. It implements EGL_MESA_screen_surface extension, and is kept simple by only exporting the current mode.
2010-06-09xorg/vmwgfx: Disable 3D by default.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-06-07graw: add parse_geometry_shader helperKeith Whitwell
2010-06-06r300g: Move bootstrap code to targetsJakob Bornecrantz
2010-06-06i915g: Move bootstrap code to targetsJakob Bornecrantz
2010-06-06svga: Move bootstrap code to targetsJakob Bornecrantz
2010-06-06swrastg: Use new drm_driver interface in EGLJakob Bornecrantz
The EGL state tracker is really weird in how it does software, in the past we would just not return a drm_api struct but now, there is no callback to get a function so we just set the create_screen hock to NULL to make it switch to software.
2010-06-06gallium: Make all drm drivers use the new drm compat helperJakob Bornecrantz
2010-06-06i965g: Use Xorg template makefileJakob Bornecrantz
2010-06-06gallium: Convert state trackers to drm driver interfaceJakob Bornecrantz
2010-06-06nouveau: Use Xorg template makefileJakob Bornecrantz
2010-06-06r300g: Use Xorg template makefileJakob Bornecrantz
2010-06-07graw_xlib: build fixesKeith Whitwell
2010-06-07graw: update graw_null after interface changes and build graw tests againKeith Whitwell
2010-06-04i915g: Use template Xorg makefileJakob Bornecrantz
2010-06-04gallium: Use correct defines in Xorg template makefileJakob Bornecrantz
2010-06-04gallium: Add winsys to include path to Xorg template makefileJakob Bornecrantz
2010-06-01gallium: Don't depend directly on staging dir in Xorg template makefileJakob Bornecrantz
2010-06-01gallium: Don't always copy the dri driver to the staging dirJakob Bornecrantz
So something in the build keept updating the timestamp on the staging directory causing us to always copy the library to it.
2010-06-01gallium: Create a Xorg driver template MakefileJakob Bornecrantz
2010-05-31st/xorg, vmware: Make throttling configurable.Thomas Hellstrom
The xorg state tracker gets two new options to let the user choose whether to enable / disable dirty throttling and swapbuffer throttling. The default value of these options are enabled, unless the winsys supplies a customizer with other values. The customizer record has been extended to allow this, and also to set winsys-based throttling on a per- context basis. The vmware part of this patch disables the dirty throttling if the kernel supports command submission throttling, and also in that case sets kernel based throttling for everything but swapbuffers. The vmware winsys does not set throttling per context, even if it theoretically could, but instead sets throttling per screen. This should perhaps be changed, should the xorg state tracker start to use multiple rendering contexts. Kernel throttling is off by default for all new screens/contexts, so the dri state tracker is not affected. This significantly improves interactivity of the vmware xorg driver. Cherry-picked from commit a8f3b3f88acc1f0193fa740e76e9d815f07f32ab Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>