summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-01-22Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
2010-01-22gallium/draw: apply DRAW_PIPE_FLAG_MASK to all vertex elementsBrian Paul
Depending on first/last provoking vertex either the first or last element/index may have the extra DRAW_PIPE_x flags. Mask off those bits for all vertex elements to be safe (esp. for the quad case). This may be overly cautious, but it's a cheap operation. Fixes a segfault caused by large/bogus vertex indexes otherwise.
2010-01-22gallium/draw: added comments, whitespace fixesBrian Paul
2010-01-22gallium/draw: fix-up comments, whitespaceBrian Paul
2010-01-22gallium/draw: replace int with booleanBrian Paul
2010-01-22st/egl_g3d: Rename to st/egl.Chia-I Wu
Simply the name to egl.
2010-01-22winsys/drm: Update the options of mklib in Makefile.egl_g3d.Chia-I Wu
Pass -linker, -ldflags, and $(MKLIB_OPTIONS) to mklib.
2010-01-22egl: Remove egl_softpipe.Chia-I Wu
With the addition egl_x11_swrast, egl_softpipe is sort of deprecated. The new driver serves the same purpose as egl_softpipe does. It is based on egl_g3d and provides more features.
2010-01-22winsys/drm: Add swrast.Chia-I Wu
The swrast winsys always returns NULL when drm_api_create is called.
2010-01-22vmware/core: Update for pipebuffer changes.José Fonseca
In particular, delay patching GMR relocations until the buffers are validated, since the buffers relative offset can only be established then.
2010-01-22st/egl: Remove the egl state tracker.Chia-I Wu
The egl_g3d state tracker has support for KMS, and the support is based on the egl state tracker. As egl_g3d provides more features, it should be better to keep only egl_g3d to unify the efforts.
2010-01-21i915g: Remove unnecessary header.Vinson Lee
2010-01-21pipebuffer: Remove unnecessary header.Vinson Lee
2010-01-22st/egl_g3d: Use glxinit.c from egl_xdri.Chia-I Wu
It is used to fetch the GLX visuals/fbconfigs. Use egl_xdri's version to avoid duplication. It might be better to rewrite that part though.
2010-01-21draw: Remove unnecessary headers.Vinson Lee
2010-01-22winsys/drm: Update Makefile.template.Chia-I Wu
Mainly to respect LDFLAGS and remove unused target $(LIBNAME_EGL). This is based on the patch by Tomáš Chvátal <scarabeus@gentoo.org>.
2010-01-21svga: Remove unused variable.Vinson Lee
2010-01-21vmware/core: Flush preemptively the FIFO commands to keep the GMR working ↵José Fonseca
set within reasonable bounds.
2010-01-21vmware/core: Put GMR pool size in a define.José Fonseca
2010-01-21vmw/wgl: Update for pipebuffer changes.José Fonseca
This is a minimum change to keep things building and running minimally -- it might cause applications to fail to allocate buffers due to out of GMR memory. A proper update will be commited later.
2010-01-21svga: Remove duplicate code.José Fonseca
2010-01-21svga: Remove unused code.José Fonseca
2010-01-21svga: Don't swap buffers to system memory -- winsys' responsibility.José Fonseca
2010-01-21pipebuffer: Release the lock during map wait. Cleanups.José Fonseca
2010-01-21pipebuffer: Swap buffers out to system memory when running out of memory.José Fonseca
2010-01-21svga: Avoid synchronization issues when doing SW TNL.José Fonseca
2010-01-21util: Set DISCARD & UNSYNCHRONIZED when uploading vertices sequentially.José Fonseca
2010-01-21util: Use pipe_buffer_write_nooverlap in blits / mipmap generation.José Fonseca
2010-01-21gallium: New inline to write buffers which avoids synchronization.José Fonseca
2010-01-21gallium: Set PIPE_BUFFER_USAGE_DISCARD flag in pipe_buffer_write.José Fonseca
2010-01-21gallium: Remove temporary hack for the absence of a discard flag.José Fonseca
PIPE_BUFFER_USAGE_DISCARD flag now exists.
2010-01-21svga: Follow buffer usage semantics properly.José Fonseca
It's necessary to download buffers from the host always, except if the buffer is undefined, because: - just PIPE_BUFFER_USAGE_CPU_WRITE doesn't guarantee all data is written -- old contents may still pierce through - PIPE_BUFFER_USAGE_DISCARD refers to a range, not the whole buffer, so unless we track which parts have been modified and not we still need to download the data.
2010-01-21st/xorg: Remove unnecessary headers.Vinson Lee
2010-01-21llvmpipe: Remove unnecessary headers.Vinson Lee
2010-01-21svga: Remove unnecessary headers.Vinson Lee
2010-01-21gallium: fix conditional rendering commentBrian Paul
2010-01-21gallium/docs: document conditional renderingBrian Paul
2010-01-21gallium: updated comments, whitespace fixesBrian Paul
2010-01-21softpipe: added region assertions in softpipe_get_tex_transfer()Brian Paul
2010-01-21Do not include glapi/dispatch.h outside Mesa core.Chia-I Wu
Include the glapi*.h directly instead. glapi/dispatch.h became a Mesa core header since 22884db174b9fb0736cec1c6a192f8b9a97500c1.
2010-01-20gallium/i965: Make brw_batchbuffer prototypes match in source & headerAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20radeong: Fix EGL driver names.Corbin Simpson
Using "radeon" instead of "radeong" because we don't have classic EGL.
2010-01-20Fix touching live system during install.Tomas Chvatal
2010-01-20xlib/softpipe: fix buffer memory leakBrian Paul
Fixes leak caused by window resize.
2010-01-20st/xorg: Fic bug and close drm_api at proper placeJakob Bornecrantz
2010-01-20st/egl_g3d: Add support for driver probe.Chia-I Wu
Hook the drv->Probe callback to allow the drivers to probe displays. The loading of state trackers is delayed to avoid unnecessary loading.
2010-01-20st/egl_g3d: Add support for probe to native displays.Chia-I Wu
The functions can be used to check if a display is supported without creating a struct native_display. It uses a probe object that can be shared across drivers.
2010-01-20softpipe: Remove unnecessary headers.Vinson Lee
2010-01-19i915g: Remove unnecessary headers.Vinson Lee
2010-01-20st/egl_g3d: Do not reuse the pipe transfer in ximage.Chia-I Wu
A pipe transfer is supposed to be temporary. It should be created before X*PutImage and destroyed afterwards.