summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-02-14trace: Fix generated XML.José Fonseca
2010-02-14python: Tell swig how to index per-rendertarget blend state.José Fonseca
2010-02-14python: Pass p_format.h as-is to swig now that it has no inlines.José Fonseca
2010-02-14progs/gallium/python: New home for python statetracker scripts.José Fonseca
2010-02-13llvmpipe: Silence uninitialized variable warning.Vinson Lee
2010-02-13softpipe: Silence uninitialized variable warnings.Vinson Lee
2010-02-14st/python: fix build error after gallium-screen-context mergeMarek Olšák
2010-02-14r300g: fix scons buildMarek Olšák
2010-02-13softpipe: fix broken cubemap / mipmap selection codeBrian Paul
This is a quick-fix for the time being... The per-face mipmap LOD computation was invalid at cube edges. In mip_filter_nearest/linear() we were trying to compute LOD using texcoords that were sometimes indexes into different cube faces. The subtraction used to compute the partial derivatives basically gave random values, so the LOD was unpredictable. This fix simply uses the same cube face for all four pixels in the quad. The per- face texcoords all reference the same cube face so the partial deriviates are computed properly. A more elaborate fix would involve computing the LOD at the same time as we choose the cube faces. But for now, this solution works well and allows the piglit/cubemap test to pass. (cherry picked from commit 1ff9cd5079b095d7050edb8dc6a7e5b8cad36e1e)
2010-02-13wgl: Implement wglSwapMultipleBuffers.José Fonseca
2010-02-13svga: Fix texture border color.José Fonseca
Also opposite ordering.
2010-02-13r300g: do not invalidate texture caches when only sampler state is changedMarek Olšák
2010-02-13r300g: cleanup the emission of RS block stateMarek Olšák
Emit as few regs as possible.
2010-02-13r300g: cleanup the emission of framebuffer stateMarek Olšák
Some emits are not needed anymore.
2010-02-13r300g: disable independent blend enablesMarek Olšák
Not supported by r300.
2010-02-13r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xxMarek Olšák
2010-02-12st/xlib: Remove unnecessary header.Vinson Lee
2010-02-12svga: Silence uninitialized variable warning.Vinson Lee
2010-02-12util: Properly init memory for blitter CSOs.Corbin Simpson
Fixes misrender on r300g.
2010-02-12svga: A few more tweaks to blend color state emission.José Fonseca
2010-02-12svga: Clamp max cube texture levels to supported max 2d levels.José Fonseca
2010-02-12svga: Report the 2d/3d texture sizes supported by the host.José Fonseca
2010-02-12wgl: Go into dormant state when DLL is unloaded unclealy.José Fonseca
When our DLL is unloaded, even if we leave the data structures in memory for sake of future calls, the MS CRT will destroy the heap. Instead we make all calls no-ops by setting stw_dev to NULL.
2010-02-12cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul
2010-02-12st/dri: don't expose visuals we'll have trouble supportingZack Rusin
without getBuffersWithFormat some visuals will just cause headaches (crashes), so if we're running on an older system simply don't advertise them.
2010-02-12st/dri, st/xorg: fix buffers that have attachements of different depthZack Rusin
we actually need to specify the formats for different attachements, otherwise if the color buffer is 24bpp and the app asks for 16bpp depth buffer than we end up fetching the depth from the drawable which is 24bpp and end up creating the wrong depth buffer. use the new getBuffersWithFormat extension to pass the depth correctly.
2010-02-12svga: enable code to emit blend colorRoland Scheidegger
2010-02-12Merge branch 'gallium-dynamicstencilref'Roland Scheidegger
2010-02-12nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has ↵Patrice Mandin
16 texture units Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12cell: adjust structure paddingBrian Paul
The size of some core Gallium state structures has changed so the padding on some cell structs needed to be adjusted to keep them a multiple of 16 bytes.
2010-02-12cell: remove unused varBrian Paul
2010-02-12cell: include cell_context.hBrian Paul
2010-02-12cell: re-fix undeclared varBrian Paul
2010-02-12cell: declare stencil_value variableBrian Paul
2010-02-12Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats."Michal Krol
This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f.
2010-02-12util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats.Michal Krol
Fill in ones for missing components.
2010-02-12nouveau: nv30: Define number of texture samplersPatrice Mandin
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12wgl: Do not reach out and destroy contexts on cleanup.José Fonseca
Simply skip cleanup when contexts are still active. This addresses two issues: - in some situations the ICD DLL may be unloaded before the DLL that is using GL contexts is, so we may receive GL calls after stw_cleanup. - when aborting (exception, or control-c) the contexts may have been left in an inconsistent state and attempting to destroy can cause unpredictable results.
2010-02-12gdi: Never fail at DLL load time.José Fonseca
Windows doesn't really expect things to fail at this point -- it will try many times until it finally gives up, worse, something bad happens. The WGL state tracker will gracefully decline to do work even when it is loaded.
2010-02-12wgl: Fail gracefully whenever 3D could not be enabled for some reason.José Fonseca
2010-02-12svgadump: Several improvements to shader dumping.José Fonseca
2010-02-12nouveau: use AVAIL_RING()Ben Skeggs
2010-02-12nouveau: switch to nouveau_bo_new_tile()Ben Skeggs
2010-02-11svga: check min_index, max_index before assertionsBrian Paul
It's possible for min_index and max_index to be ~0 if the min/max values were not actually set or computed in the state tracker. Skip some assertions in that case. This only effects the debug build error checking. (cherry picked from commit 408f32dc165b36eb5ec0e2bbc7dcecd28f3a62d3)
2010-02-12gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
2010-02-11nouveau: fix compile errors...Roland Scheidegger
2010-02-11nv50: adapt to stencil ref changesRoland Scheidegger
2010-02-11nv40: adapt to stencil ref changesRoland Scheidegger
2010-02-11nv30: adapt to stencil ref changesRoland Scheidegger
not sure if this has any hope of working
2010-02-11svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul