summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-07-02gallivm: Check inputs/outputs in lp_build_conv()José Fonseca
2010-07-02util: Expose util_format_fits_8unorm().José Fonseca
2010-07-02softpipe: fix incorrect blend func index passed to blend_quad()Brian Paul
Need to pass the index indicating which blend terms to use, not which color buffer we're blending into. Rename the parameter to blend_quad() and add comments to be more clear about this.
2010-07-02softpipe: better assertionsBrian Paul
2010-07-02gallium/cso: check for set_vertex_sampler_views != NULL before calling itBrian Paul
Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889.
2010-07-02gallivm: Code generate YUV format unpacking.José Fonseca
2010-07-02gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca
Also fix the test.
2010-07-02r600: use gallium list macros instead of making our own.Dave Airlie
before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <airlied@redhat.com>
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-07-01gallium/cso: unbind sampler views in cso_release_all()Brian Paul
2010-07-01llvmpipe: silence pointer type warningsBrian Paul
2010-07-01gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca
Uses code and ideas from Brian Paul.
2010-07-01gallivm: Allow to conversions to/from registers of different sizes.José Fonseca
Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
2010-07-01gallivm: Support extended swizzles in lp_build_swizzle1_aos().José Fonseca
And rename to lp_build_swizzle_aos().
2010-07-01gallivm: Setup a global optimization pass.José Fonseca
Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary.
2010-07-01llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca
Unnecessary special case.
2010-06-30llvmpipe: another null pointer checkBrian Paul
2010-06-30llvmpipe: use dummy tile when out of memoryBrian Paul
2010-06-30llvmpipe: added new lp_memory.[ch] filesBrian Paul
Functions for using dummy tiles when we detect OOM conditions.
2010-06-30draw: fix out of memory handling in polygon stipple stageBrian Paul
2010-06-30st/egl: Manually free configs on terminate.Chia-I Wu
The configs should be FREE()ed, not free()ed. We cannot rely on _eglCleanupDisplay here.
2010-06-30egl: Store screens in a dynamic array.Chia-I Wu
2010-06-30egl: Store configs in a dynamic array.Chia-I Wu
2010-06-30st/vega: Match MALLOC/FREE for vg_shader.Chia-I Wu
A vg_shader is destroyed with FREE.
2010-06-30llvmpipe: Add a new scene state to describe scenes which only have state ↵José Fonseca
changes. It's a rare condition, but it may happen if all primitives are clipped/culled. For now we just do a no-op rasterization, but we could bypass it.
2010-06-30llvmpipe: Don't reset the bin when there's a zsbuf bound.José Fonseca
The previous rendering may have secondary effects on the zsbuf. Fixes the missing tiles on gearbox.
2010-06-30st/vega: s/free/FREE for matching MALLOC/CALLOCnobled
[Manually fix a conflict in vg_context.c by Chia-I Wu]
2010-06-30st/xorg: s/free/FREE for matching MALLOC/CALLOCnobled
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-30r300g: add workaround for multiple contextsMarek Olšák
2010-06-30r300g: move one flush from winsys to the contextMarek Olšák
This flush happens when changing the tiling flags, and it should really be done in the context. I hope this fixes FDO bug #28630.
2010-06-29llvmpipe: don't crash/assert on out of memoryBrian Paul
Check for null pointers and return early, etc.
2010-06-29llvmpipe: restore call to lp_setup_update_state()Brian Paul
This undoes part of commit 8be645d53a0d5d0ca50e4e9597043225e2231b6d and fixes fd.o bug 28822 as well as other regressions. The 'draw' module may issue additional state-change commands while we're inside the draw_arrays/elements() call so it's important to check for updated state at this point.
2010-06-29egl: Check for drm winsys not just the driver nameJakob Bornecrantz
Also fix pipe_radeon.so not building
2010-06-29draw: Add inline keyword to inline function.José Fonseca
Otherwise gcc will warn about unusued functions.
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-29egl: Remove st/egl probe code.Chia-I Wu
It is no longer needed.
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: Introduce native_platform.Chia-I Wu
Move native_get_name, native_create_probe, native_get_probe_result, and native_create_display into struct native_platform, and add native_get_platform to get a handle to the struct.
2010-06-29st/egl: Make api_OpenGL support OpenGL ES.Chia-I Wu
This allows api_OpenGL.so to support OpenGL ES.
2010-06-29st_api: Remove st_context::is_visual_supported.Chia-I Wu
The callback is used by st/vega to check if a visual specifies the depth/stencil format. It forces st/vega to be loaded by st/egl to perform the check. As noted in EGL spec, the depth/stencil format of a visual should not affect OpenVG. It should be better to ignore the field and always allocate the depth/stencil texture.
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-29util: reference surfaces and sampler views in blitter when saving themMarek Olšák
Ooops. This should possibly fix some bugs...
2010-06-28i915g: Add Galahad to targetsJakob Bornecrantz
2010-06-28r300g: Galahad for scons as wellJakob Bornecrantz