summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-01-03r300g: Silence 'mixed declarations and code' warning.Vinson Lee
2010-01-03r300g: Remove comma at end of enumerator list.Vinson Lee
2010-01-03llvmpipe: Remove comma at end of enumerator list.Vinson Lee
2010-01-03gdi: Don't generate import libraries for opengl32.dll.José Fonseca
Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
2010-01-03trace: Remove comma at end of enumerator list.Vinson Lee
2010-01-03rtasm: Play nicely with Windows's Data Execution Prevention.José Fonseca
2010-01-02st/xorg: Ensure null-terminated byte string.Vinson Lee
2010-01-02r300g: Use C-style comments.Vinson Lee
2010-01-03svga: Use a shader id as low as possible.José Fonseca
2010-01-03util: Minor enhancements/corrections to the bitmask logic.José Fonseca
2010-01-03svga: Rename error labels.José Fonseca
Make it easier to insert/remove error branches.
2010-01-01llvmpipe: Silence uninitialized variable warning.Vinson Lee
2010-01-02python: Don't generate a import library for python module either.José Fonseca
2010-01-02i965: Add missing include.José Fonseca
2010-01-02gdi: Don't generate import libraries for opengl32.dll.José Fonseca
Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
2010-01-02util: Silent potential loss of precision warnings.José Fonseca
Also ensure multiplication doesn't happen for negative numbers.
2010-01-01llvmpipe: Use C-style comment.Vinson Lee
2010-01-01gallium/util: Silence format warnings.Vinson Lee
2010-01-01gallium/util: Replace h_addr with h_addr_list[0].Vinson Lee
Fixes compilation error on Mac OS.
2010-01-01tgsi: Add missing semantic name in text parser.Igor Oliveira
2010-01-01r300: Fix scons build.José Fonseca
2010-01-01llvmpipe: Add missing include path.José Fonseca
The abscense was being masked previously.
2010-01-01gallium: Generate a single library for auxiliaries with Make too.José Fonseca
2010-01-01scons: Aggregate all tiny libraries in a single library.José Fonseca
Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
2010-01-01gallium: Remove the sct module.José Fonseca
Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks.
2010-01-01scons: Don't globally define WIN32_LEAN_AND_MEAN.José Fonseca
Some of the demo progams legitimately need the functionality that's disabled by WIN32_LEAN_AND_MEAN. Instead the solution should be to define WIN32_LEAN_AND_MEAN just before including windows.h on a case by case basis.
2009-12-31softpipe: implement conditional renderingBrian Paul
2009-12-31gallium: pipe_context::render_condition() and mode flagsBrian Paul
For conditional rendering predicated on results of an occlusion query. If this driver function is NULL, conditional rendering is not supported by the driver.
2009-12-31nv50: small fix for handling "dangerous" swizzlesChristoph Bumiller
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-31nv50: fix TEXLOD sequence and use it only in FPsChristoph Bumiller
2009-12-31nv50: cannot kill branch if immediate is usedChristoph Bumiller
The immediate's bits eat the condition bits.
2009-12-31nv50: make assimilate_temp safeChristoph Bumiller
Cannot change hw reg assigned to a TGSI TEMP on the fly if we are in a loop, conditional, or can jump around wildly.
2009-12-31nv50: handle TGSI_OPCODE_EXP,LOGChristoph Bumiller
Not that they make much sense on nv50, but we also do LIT ...
2009-12-31nv50: add support for subroutinesChristoph Bumiller
2009-12-31nv50: alloc_reg on reg_instanceChristoph Bumiller
If we create multiple instances of an nv50_reg referencing them same resource, register allocation from alloc_reg has to be done with the original nv50_reg.
2009-12-31nv50: multiply polygon offset units by 2Christoph Bumiller
2009-12-31nv50: neg and abs modifiers for flopsChristoph Bumiller
Also fixes RSQ of negative sources.
2009-12-31nv50: don't negate immediates in set_immdChristoph Bumiller
This negation would only be triggered in situations where it's incorrect. The caller of set_immd should negate the immediate value in the instruction itself if desired, and will also know if it's a float or an int. ADD TEMP[0], CONST[0], -IMMD[0] would load the immediate into extra TEMP, negated, and set the negate flag in add as well - double negation.
2009-12-30nouveau: Fix glTexSubImage on swizzled surfaces on <=NV40Luca Barbieri
Currently in nvXX_transfer_new a temporary as large as the surface is created. If the subrectangle is not the whole texture we would need to read back the whole texture, but we aren't. Thus, everything but the subrectangle specified is loaded as garbage. This can be seen in progs/demos/ray. This patch fixes the problem by creating a temporary that covers only the desired subrectangle. That makes us hit an alignment assert in nv04_surface_2d.c. Fix it using the point registers instead of manipulating the swizzled surface offset to account for the destination coordinates (which do not seem to have a 1024 limit). Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2009-12-29st/xorg: Use C-style comments.Vinson Lee
2009-12-30st/xorg: Fix warning and add a TODO commentJakob Bornecrantz
2009-12-30st/xorg: On close wait on fences and then destroy the screenJakob Bornecrantz
2009-12-30st/xorg: Be proper with pipe pointers on close in exaJakob Bornecrantz
2009-12-30st/xorg: Make sure we don't overrun the fence array in block handlerJakob Bornecrantz
2009-12-28st/egl: Move declaration before code.Vinson Lee
2009-12-28llvmpipe: Fix assert.Vinson Lee
2009-12-28llvmpipe: Silence compiler warnings.Vinson Lee
2009-12-28nouveau: Unreference state/buffer objects on context/screen destruction.Younes Manton
- unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction Based on Krzysztof Smiechowicz's patch.
2009-12-28nouveau: Fix swizzling for copies to rectangular texturesLuca Barbieri
nVidia hardware seems to swizzle rectangular texture (with width != height) coordinates by swizzling the lower bits and then adding the higher bits from the larger dimension. However, nv04_swizzle_bits ignores width and height and just interleaves everything. This causes problems with rectangular POT textures with height or width 2048 or 4096 (but not 2048x1024 where it works by chance) since the driver swizzles them in 1024x1024 chunks and gets the start position for the non-first chunks wrong. The following patch seems to fix those problems.