summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-03-11gallivm: include tgsi_dump.h to silence warningBrian Paul
2010-03-11gallivm: move declarations to silence unused var warningsBrian Paul
2010-03-11gallium/util: use memset() to initialize vars to avoid warningsBrian Paul
2010-03-11svga: use memset() to initialize u to avoid warningsBrian Paul
2010-03-11gallivm: Use bitmasks for scalar masks.José Fonseca
We could use single 1 bit conditions for scalar masks, but a lot of code expects masks. The compiler easily optimzes away masks extensions/truncations so consistency is preferable. We can revisit this when LLVM backends have more support for vector conditions.
2010-03-11gallivm: Handle scalar types in lp_build_*_type.José Fonseca
2010-03-11softpipe: Dummy fence functions.José Fonseca
2010-03-11st/dri: move extension initilization to st/mesa completelyMarek Olšák
Extensions were enabled in both st/mesa and st/dri, with st/dri completely overriding the decisions of st/mesa and exposing even the extensions claimed to be unsupported by a pipe driver. This commit moves the differences between the two to st/mesa and removes the responsibilty of advertising extensions from st/dri.
2010-03-11Merge remote branch 'origin/7.8'Michel Dänzer
2010-03-11winsys/xlib: Fix memory leak.Vinson Lee
Memory for xm_dt was allocated twice.
2010-03-10gallivm: overhaul of texture sampling codeBrian Paul
The new lp_build_sample_general() function will handle all sampling modes for all texture types. Still incomplete, but a few additional sampling modes are now supported. 1D textures should work and most of the code for 3D textures is in place. No support for cube maps yet. No support for different min/mag filters.
2010-03-10gallivm: handle scalar floats in lp_build_floor() and lp_build_iround()Brian Paul
2010-03-10gallivm: constant building for scalar zeroBrian Paul
2010-03-10gallivm: implement bilinear sampling with nearest mipmappingBrian Paul
Time to start consolidating some code...
2010-03-10gallivm: remove debug code. nearest minification works now.Brian Paul
2010-03-10llvmpipe: fix loop over mipmap levelsBrian Paul
2010-03-11st/xorg: Include cursorstr.hJakob Bornecrantz
2010-03-10gallivm: simplify conditional branchingJose Fonseca
Instead of testing each component individually, we can test the entire vector at once.
2010-03-10gallivm: properly test the if condition and branch to the proper labelZack Rusin
makes loops work
2010-03-10gallivm: implement loopsZack Rusin
2010-03-10llvmpipe: Finally found a way to do vector comparisons without using intrinsics.José Fonseca
Only works well with LLVM >= 2.7
2010-03-10softpipe: fix memcpy params to avoid static analysis warningsBrian Paul
See fd.o bug 26970. Also added sanity check assertions.
2010-03-10Merge branch '7.8'Michel Dänzer
2010-03-10st/xorg: Work around cursor reference counting bugs in older X servers.Michel Dänzer
Could result in use of freed memory and consequently random crashes, e.g. on screen resize. (cherry picked from commit 21c91b410a2a2cbf8eb677e59e3322f86320f2b0) Conflicts: src/gallium/state_trackers/xorg/xorg_tracker.h
2010-03-10cell: handle NULL cso vertex_elements state object on bindRoland Scheidegger
drivers need to handle NULL cso vertex elements (and others) objects. It is possible the cso code saves/restores NULL objects (if no normal cso object was bound before this was invoked). This led to segfaults (for example demos/cubemap) for apps which were using things like creating mipmaps before drawing anything.
2010-03-10i915g: Prevent NULL dereference.Chia-I Wu
bind_vertex_elements_state may be called with NULL velems. Do nothing if that is the case.
2010-03-10gallium: Do not mix winsys-drawable-handle and context-private.Chia-I Wu
update_buffer should be called with context-private, not winsys-drawable-handle.
2010-03-10svga: Disable debug message.Michal Krol
2010-03-10svga: Check if vertex elements has been bound before using it.Michal Krol
2010-03-10softpipe: Prevent NULL dereference.José Fonseca
2010-03-10python: Remove broken link hack.José Fonseca
2010-03-10python: More build fixes.José Fonseca
2010-03-10trace: Make tr_public.h c++ friendly.José Fonseca
2010-03-10target-helpers: remove swrast_xlib.c helperKeith Whitwell
This was a good idea, but ended up tying the build systems in knots. We can revisit this later, in particular if we can put in place dummy implementations of cell_create_screen(), llvmpipe_create_screen() which just return NULL if the driver isn't available. In the meantime, just duplicate this smallish function in the two places it was being called.
2010-03-10ws/xlib: remove dead linesKeith Whitwell
2010-03-10scons: Fixup the libgl-gdi build.José Fonseca
2010-03-10python: Handle the possibility that no driver is selected.José Fonseca
2010-03-10gallium: remove trace module injection from various state trackersKeith Whitwell
Components such as state trackers, drivers, etc, should be free to be recombined in arbtrary ways to build driver stacks. They should not be reaching out and trying to build the stack themselves - this is now expected to be handled by the "target" abstraction.
2010-03-10ws/gdi: add includeKeith Whitwell
2010-03-10target-helpers: helper for injecting common debug layersKeith Whitwell
Add a helper gallium_wrap_screen() for injecting the commonly used extra layers into a gallium stack. Currently that's just the trace module and identity layer, but there could be more in the future, eg. a validation layer.
2010-03-10python: Fix up state tracker for sw api.José Fonseca
2010-03-10Revert "r300-gallium: Skeleton for integrating into the python statetracker."José Fonseca
This reverts commit 2d56d0839e6db0861131893d67fe23734800085a. Never actually used.
2010-03-10st/wgl: add missing paramterKeith Whitwell
2010-03-10trace: include tr_public.hKeith Whitwell
2010-03-10gallium: plumb winsys-drawable-handle through to state trackerKeith Whitwell
The state trackers need this value so that they can supply it as the "void *" argument to flush_frontbuffer. Fixes single-buffer rendering.
2010-03-10Merge commit 'origin/master' into gallium-sw-api-2Keith Whitwell
2010-03-10llvmpipe: Cope with null Vertex element cso.José Fonseca
CSO can often be null. For example: 1. at initialization 2. using an util module (u_blit) right after initialization (it will push state and pop the previous null state) 3. at shutdown time (state shouldn't be bound when being destroyed) Glean was hitting 2.
2010-03-10nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZEDBen Skeggs
2010-03-10nv50: inline nv50_state_flush_notify()Ben Skeggs
It's (rightly) not called from anywhere else now
2010-03-10nv50: remove nv50_context.state.instbufBen Skeggs