summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo2010-07-011-3/+0
| | | | | Signed-off-by: Fernando Carrijo <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* st/egl: Add egl-gdi target.Chia-I Wu2010-06-303-17/+165
| | | | | | | | | 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.
* egl: Check for drm winsys not just the driver nameJakob Bornecrantz2010-06-291-5/+5
| | | | Also fix pipe_radeon.so not building
* i915g: Fix copy pastoJakob Bornecrantz2010-06-291-4/+4
|
* egl: Fix gallium build when EGL is not installed on systemJakob Bornecrantz2010-06-291-1/+2
|
* i915g: Add missing egl pipe fileJakob Bornecrantz2010-06-291-0/+28
|
* st/egl: Build a single EGL driver.Chia-I Wu2010-06-298-63/+205
| | | | | | | | | | | | 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.
* st/egl: Move module loading code to targets.Chia-I Wu2010-06-298-35/+343
| | | | | | | | | | 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.
* st/egl: Reorganize targets.Chia-I Wu2010-06-2921-340/+225
| | | | | | | 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.
* st/egl: One driver per hardware.Chia-I Wu2010-06-291-56/+34
| | | | | | 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.
* st/egl: Make api_OpenGL support OpenGL ES.Chia-I Wu2010-06-295-8/+31
| | | | This allows api_OpenGL.so to support OpenGL ES.
* i915g: Add Galahad to targetsJakob Bornecrantz2010-06-284-4/+8
|
* r300g: Galahad for scons as wellJakob Bornecrantz2010-06-281-1/+2
|
* r300g: Add target defines for GalahadJakob Bornecrantz2010-06-283-3/+3
|
* Merge branch 'gallium-drm-driver-drescriptor'Jakob Bornecrantz2010-06-2852-93/+534
|\ | | | | | | | | | | | | | | | | 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
| * swrastg: Use target-helpersJakob Bornecrantz2010-06-243-54/+13
| |
| * gallium: Use debugging helper in all drm targetsJakob Bornecrantz2010-06-2437-16/+167
| |
| * gallium: Fix scons buildJakob Bornecrantz2010-06-241-0/+1
| |
| * gallium: Remove drm_api and all references to itJakob Bornecrantz2010-06-241-1/+0
| |
| * r600g: Move bootstrap code to targetJakob Bornecrantz2010-06-241-2/+21
| |
| * nouveau: Move bootstrap code to targetsJakob Bornecrantz2010-06-233-6/+45
| | | | | | | | | | Well sorta, at least I removed the drm_api dependancy and the target can layer anything it wants to now.
| * i965g: Move bootstrap code to targetsJakob Bornecrantz2010-06-237-10/+85
| |
| * swrastg: Fix glue fileJakob Bornecrantz2010-06-141-3/+3
| |
| * r300g: Move bootstrap code to targetsJakob Bornecrantz2010-06-063-6/+45
| |
| * i915g: Move bootstrap code to targetsJakob Bornecrantz2010-06-063-6/+45
| |
| * svga: Move bootstrap code to targetsJakob Bornecrantz2010-06-063-6/+46
| |
| * swrastg: Use new drm_driver interface in EGLJakob Bornecrantz2010-06-061-6/+7
| | | | | | | | | | | | | | 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.
| * gallium: Make all drm drivers use the new drm compat helperJakob Bornecrantz2010-06-0642-13/+91
| |
| * gallium: Convert state trackers to drm driver interfaceJakob Bornecrantz2010-06-061-0/+1
| |
* | targets, radeong: Add Galahad.Corbin Simpson2010-06-223-1/+4
| | | | | | | | Currently unconditional and causes segfaults.
* | egl: s/EGL_DISPLAY/EGL_PLATFORM/.Chia-I Wu2010-06-171-9/+9
| | | | | | | | | | A platform is already used to mean a window system in EGL. No need to use a different term.
* | st/egl: Do not build non-working driver combinations.Chia-I Wu2010-06-111-0/+6
| | | | | | | | | | | | 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.
* | st/egl: Add fbdev backend.Chia-I Wu2010-06-111-3/+17
| | | | | | | | | | The backend is pure software. It implements EGL_MESA_screen_surface extension, and is kept simple by only exporting the current mode.
* | xorg/vmwgfx: Disable 3D by default.Thomas Hellstrom2010-06-091-0/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* | graw: add parse_geometry_shader helperKeith Whitwell2010-06-071-0/+13
|/
* i965g: Use Xorg template makefileJakob Bornecrantz2010-06-061-37/+10
|
* nouveau: Use Xorg template makefileJakob Bornecrantz2010-06-061-45/+10
|
* r300g: Use Xorg template makefileJakob Bornecrantz2010-06-061-42/+15
|
* graw_xlib: build fixesKeith Whitwell2010-06-071-0/+3
|
* graw: update graw_null after interface changes and build graw tests againKeith Whitwell2010-06-073-12/+27
|
* i915g: Use template Xorg makefileJakob Bornecrantz2010-06-041-46/+10
|
* gallium: Use correct defines in Xorg template makefileJakob Bornecrantz2010-06-041-4/+4
|
* gallium: Add winsys to include path to Xorg template makefileJakob Bornecrantz2010-06-041-0/+1
|
* gallium: Don't depend directly on staging dir in Xorg template makefileJakob Bornecrantz2010-06-011-2/+2
|
* gallium: Don't always copy the dri driver to the staging dirJakob Bornecrantz2010-06-011-2/+4
| | | | | So something in the build keept updating the timestamp on the staging directory causing us to always copy the library to it.
* gallium: Create a Xorg driver template MakefileJakob Bornecrantz2010-06-012-52/+82
|
* st/xorg, vmware: Make throttling configurable.Thomas Hellstrom2010-05-311-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* targets/egl: Add SConscript for egl-apis.Chia-I Wu2010-05-312-0/+34
| | | | It will build api_OpenVG.dll on Windows.
* targets/egl: Add SConscript for egl_gdi_swrast.Chia-I Wu2010-05-313-6/+35
| | | | | egl_gdi_swrast uses st/egl/gdi and winsys/sw/gdi to provide an EGL driver for Windows.
* egl: Use SConscript for Windows build.Chia-I Wu2010-05-311-8/+9
| | | | Fix several portability issues and add SConscript for Windows build.