summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12st/mesa: restore draw rasterization stage after rasterposBrian Paul
This fixes invalid calls to rastpos_point/line/tri() that can occur when glRasterPos() is called while in feedback or selection mode. (cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1)
2010-02-12scons: Undo bad merge from cherry-pick.José Fonseca
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-12scons: Target Windows7.José Fonseca
2010-02-12st/mesa: improved draw_range_elements codeBrian Paul
Don't use pipe->draw_range_elements() if min_index=max_index=~0 since that doesn't provide any useful info. Also, implement the loop around pipe->draw_range_elements() when nr_prims > 1.
2010-02-12st/mesa: rename state -> tgsi, updated commentsBrian Paul
2010-02-12st/mesa: remove unused varBrian Paul
2010-02-12intel: Remove unused variable.Vinson Lee
2010-02-12cell: fix-up C, CPP flagsBrian Paul
Flags like -Wmissing-prototypes don't apply to g++.
2010-02-12cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul
2010-02-12cell: remove -mcpu=cell from CFLAGSBrian Paul
This reverts part of commit ebe2f7609533645e7e9c8af4a55bc0127b9bc515 and allows things to build here.
2010-02-12intel: Avoid dri_bo_flink() in intel_update_renderbuffers()Kristian Høgsberg
Now that we track the global name in struct intel_region, we can just look it up there.
2010-02-12intel: Track named regions and make sure we only have one region per named boKristian Høgsberg
2010-02-12dri: Store the loader private passed in at dri context creationKristian Høgsberg
We just threw it away before, but we haven't had a use for it yet.
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-12progs/tests: Add checks for GL_NV_vertex_program.Vinson Lee
2010-02-12Revert "r600c: substract vbo offset to vbo size"Jerome Glisse
This reverts commit 325614a882f5371da512536e07c443a172ffb87c. Ok this was already fixed this commit actualy broke things
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-12r600c: substract vbo offset to vbo sizeJerome Glisse
To avoid kernel complaining and to set proper boundary on vbo, substract the vbo offset to the vbo size.
2010-02-12r600: be more exact in vb size calculationAndre Maasikas
to make kernel cs checker happier, last attribs don't need full stride of space. Calculate as count-1*stride + size of attrib
2010-02-12r600: support GL_SHORT attributesAndre Maasikas
normalized seems to work with this setting.
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-12glu/sgi: Initialize member of class primStream.Vinson Lee
2010-02-12glu/sgi: Initialize members of class Arc.Vinson Lee
2010-02-12glu/sgi: Initialize member of class Bin.Vinson Lee
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-11main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵Karl Schultz
just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines.
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-11Turn off 64-bit portability problems detection.Karl Schultz