summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* intel: Track named regions and make sure we only have one region per named boKristian Høgsberg2010-02-124-1/+41
|
* dri: Store the loader private passed in at dri context creationKristian Høgsberg2010-02-122-1/+7
| | | | We just threw it away before, but we haven't had a use for it yet.
* st/dri: don't expose visuals we'll have trouble supportingZack Rusin2010-02-121-9/+20
| | | | | without getBuffersWithFormat some visuals will just cause headaches (crashes), so if we're running on an older system simply don't advertise them.
* st/dri, st/xorg: fix buffers that have attachements of different depthZack Rusin2010-02-122-31/+77
| | | | | | | | 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.
* svga: enable code to emit blend colorRoland Scheidegger2010-02-121-13/+1
|
* Merge branch 'gallium-dynamicstencilref'Roland Scheidegger2010-02-1266-195/+580
|\
| * cell: adjust structure paddingBrian Paul2010-02-121-1/+2
| | | | | | | | | | | | 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.
| * cell: remove unused varBrian Paul2010-02-121-1/+0
| |
| * cell: include cell_context.hBrian Paul2010-02-121-0/+1
| |
| * cell: re-fix undeclared varBrian Paul2010-02-121-1/+1
| |
| * cell: declare stencil_value variableBrian Paul2010-02-121-0/+1
| |
| * gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger2010-02-1212-34/+34
| | | | | | | | | | | | | | 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.
| * nouveau: fix compile errors...Roland Scheidegger2010-02-113-8/+8
| |
| * nv50: adapt to stencil ref changesRoland Scheidegger2010-02-113-5/+32
| |
| * nv40: adapt to stencil ref changesRoland Scheidegger2010-02-114-6/+47
| |
| * nv30: adapt to stencil ref changesRoland Scheidegger2010-02-114-6/+46
| | | | | | | | not sure if this has any hope of working
| * gallium: make u_blitter code save/restore stencil ref valuesRoland Scheidegger2010-02-113-0/+11
| |
| * r300g: adapt to stencil ref changesRoland Scheidegger2010-02-113-4/+17
| |
| * cell: adapt to stencil ref changesRoland Scheidegger2010-02-114-29/+54
| | | | | | | | | | not betting this compiles, some of the code handling stencil test seems incomplete and/or never called?
| * i965g: adapt to stencil ref changesRoland Scheidegger2010-02-113-6/+34
| | | | | | | | while there also potentially fix logic ops (were never enabled before)
| * i915g: adapt to stencil ref changesRoland Scheidegger2010-02-114-6/+24
| |
| * gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger2010-02-113-5/+18
| | | | | | | | seems cleaner, and other dynamic state like viewport is handled that way too
| * gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger2010-02-112-20/+8
| | | | | | | | makes life of state trackers easier
| * svga: adapt to stencil ref changesRoland Scheidegger2010-02-103-6/+42
| | | | | | | | also add some disabled code to handle blendcolor?
| * llvmpipe: adapt to stencil ref changesRoland Scheidegger2010-02-104-2/+28
| | | | | | | | since the driver doesn't actually handle stencil yet the code won't do much.
| * identity: adapt to stencil ref changesRoland Scheidegger2010-02-101-0/+12
| |
| * fo: adapt to stencil ref changesRoland Scheidegger2010-02-103-6/+24
| |
| * st/mesa: more fixes for stencil ref change.Roland Scheidegger2010-02-102-2/+20
| | | | | | | | | | compiles. Might need to do something to make it possible to save/restore stencil ref.
| * trace: adapt to stencil ref changesRoland Scheidegger2010-02-103-1/+37
| |
| * softpipe: adapt to stencil ref changesRoland Scheidegger2010-02-106-6/+20
| |
| * gallium: adapt state trackers to stencil ref changeRoland Scheidegger2010-02-103-13/+18
| |
| * docs: fix up documentation for stencil ref value changesRoland Scheidegger2010-02-092-8/+12
| | | | | | | | Also fix and clarify depth/stencil/alpha documentation a bit.
| * gallium: make valuemask/writemask in pipe_stencil_state bitfield membersRoland Scheidegger2010-02-091-2/+2
| | | | | | | | | | More consistent with other state data, might allow some compilers to pack the struct better (doesn't matter for gcc).
| * gallium: don't put stencil ref value in pipe_depth_stencil_alpha_stateRoland Scheidegger2010-02-096-50/+60
| | | | | | | | | | | | | | | | This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
* | Revert "r600c: substract vbo offset to vbo size"Jerome Glisse2010-02-121-1/+1
| | | | | | | | | | This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
* | nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has ↵Patrice Mandin2010-02-121-2/+2
| | | | | | | | | | | | 16 texture units Signed-off-by: Patrice Mandin <[email protected]>
* | r600c: substract vbo offset to vbo sizeJerome Glisse2010-02-121-1/+1
| | | | | | | | | | To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
* | r600: be more exact in vb size calculationAndre Maasikas2010-02-121-1/+2
| | | | | | | | | | to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
* | r600: support GL_SHORT attributesAndre Maasikas2010-02-121-5/+5
| | | | | | | | normalized seems to work with this setting.
* | Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats."Michal Krol2010-02-121-2/+2
| | | | | | | | This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f.
* | util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats.Michal Krol2010-02-121-2/+2
| | | | | | | | Fill in ones for missing components.
* | nouveau: nv30: Define number of texture samplersPatrice Mandin2010-02-121-0/+2
| | | | | | | | Signed-off-by: Patrice Mandin <[email protected]>
* | wgl: Do not reach out and destroy contexts on cleanup.José Fonseca2010-02-121-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | gdi: Never fail at DLL load time.José Fonseca2010-02-122-10/+10
| | | | | | | | | | | | | | | | | | 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.
* | wgl: Fail gracefully whenever 3D could not be enabled for some reason.José Fonseca2010-02-124-1/+30
| |
* | svgadump: Several improvements to shader dumping.José Fonseca2010-02-124-336/+411
| |
* | glu/sgi: Initialize member of class primStream.Vinson Lee2010-02-121-0/+2
| |
* | glu/sgi: Initialize members of class Arc.Vinson Lee2010-02-121-0/+6
| |
* | glu/sgi: Initialize member of class Bin.Vinson Lee2010-02-121-0/+1
| |
* | nouveau: use AVAIL_RING()Ben Skeggs2010-02-124-15/+14
| |