summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* mga: Silence uninitialized variable warnings.Vinson Lee2009-12-141-1/+2
|
* mach64: Silence uninitialized variable warnings.Vinson Lee2009-12-141-1/+2
|
* i810: Silence uninitialized variable warnings in i180tris.cVinson Lee2009-12-131-1/+2
|
* i915: Add missing break statement in i915_debug_packet.Vinson Lee2009-12-101-0/+1
|
* r600: fix state size prediction after dc0777d3Andre Maasikas2009-12-091-1/+5
|
* r600: add support for TXB instructionAndre Maasikas2009-12-081-17/+9
| | | | | makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs
* r600: reorder state for render_target and blendAndre Maasikas2009-12-081-1/+1
| | | | | | | First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first
* dri: Fix potential null pointer dereference in driBindContext.Vinson Lee2009-12-061-1/+2
| | | | (cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)
* dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee2009-12-061-4/+4
| | | | (cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)
* radeon: fix polygon stippleAlex Deucher2009-12-044-24/+29
| | | | | | fixes fdo bug 25354 Signed-off-by: Alex Deucher <[email protected]>
* r200: fix polygon stippleAlex Deucher2009-12-034-17/+11
| | | | | | fixes fdo bug 25354 Signed-off-by: Alex Deucher <[email protected]>
* intel: Remove GL_NV_point_sprite from extension listIan Romanick2009-12-011-1/+0
| | | | | | | i830 does not (and cannot!) support the any of the non-default GL_POINT_SPRITE_R_MODE_NV settings. i915 and i965 could, but currently do not. In both cases it would require mucking about with the fragment shader.
* i915: Actually put i915PointParameterfv in the driver function table. Duh.Ian Romanick2009-11-301-0/+1
|
* i915: Fallback bit define missed on previous commitIan Romanick2009-11-291-0/+1
|
* i915: Round point sizes instead of truncate.Ian Romanick2009-11-291-1/+1
|
* i915: Enable point sprite coordinate generationIan Romanick2009-11-291-0/+29
| | | | | | | | | | | | | Support still isn't completely correct, but it's better. piglit point-sprite now passes. However, glean's pointSprite test fails. In that test the texture on the sprite is somehow inverted as though GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT. i915 hardware shouldn't be able to do that! I believe there are also problems when not all texture units have GL_COORD_REPLACE set. The hardware enable seems to be all or nothing. Fixes bug #25313.
* radeon: fix context destroy needing lock for flushing.Dave Airlie2009-11-251-5/+4
| | | | | | | | | Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <[email protected]>
* i915: Initialize Length and Offset fields when mapping a buffer objectIan Romanick2009-11-231-0/+2
| | | | | | This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253.
* Fix the DRI swrast driver for big endian platforms.Michel Dänzer2009-11-231-43/+29
| | | | | | Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
* r600: disable compressed texture supportmesa_7_6_1_rc1Alex Deucher2009-11-181-0/+4
| | | | It's not implemented yet. fixes fdo bug 24047
* Revert "radeon: Fix legacy bo not to reuse dma buffers before refcount is 1."Alex Deucher2009-11-181-7/+2
| | | | | | This reverts commit 284a7af274bc148f112bd0ebb40583923ee26b49. This breaks kde desktop effects. See fdo bug 24131
* i965: Fix Ironlake shadow comparisons.Eric Anholt2009-11-121-7/+17
| | | | The cube map array index arg is always present.
* i965: Fix VBO last-valid-offset setup on Ironlake.Eric Anholt2009-11-121-10/+3
| | | | | Instead of doing math based on the (broken for VBO && offset != 0) input->count number, just use the BO size. Fixes assertion failure in ETQW.
* i965: fix EXT_provoking_vertex supportRoland Scheidegger2009-11-118-29/+61
| | | | | | | | This didn't work for quad/quadstrips at all, and for all other primitive types it only worked when they were unclipped. Fix up the former in gs stage (could probably do without these changes and instead set QuadsFollowProvokingVertexConvention to false), and the rest in clip stage.
* i965: Fix VS constant buffer value loading.Eric Anholt2009-11-101-1/+11
| | | | | | | | | | Previously, we'd load linearly from ParameterValues[0] for the constants, though ParameterValues[1] may not equal ParameterValues[0] + 4. Additionally, the STATE_VAL type paramters didn't get updated. Fixes piglit vp-constant-array-huge.vpfp and ET:QW object locations. Bug #23226.
* i965: Unalias src/dst registers for SGE and friends.Eric Anholt2009-11-101-19/+21
| | | | | | | Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/ Bug #22228 (cherry picked from commit 56ab92bad8f1d05bc22b8a8471d5aeb663f220de)
* i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.Eric Anholt2009-11-101-1/+1
| | | | | Fixes piglit arl.vp. (cherry picked from commit d52d78b4bcd6d4c0578f972c0b8ebac09e632196)
* r600: don't emit htile regsAlex Deucher2009-11-091-4/+2
| | | | | | These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm.
* xmesa: pass pixmap to clip_for_xgetimage()Brian Paul2009-11-051-4/+4
| | | | | | The code was assuming ctx->DrawBuffer == ctx->ReadBuffer. Passing the pixmap is simpler and better. Fixes a potential segfault.
* Fix YTILE spantmp functionsAlan Hourihane2009-11-041-2/+2
|
* glslcompiler: Fix Mac OS build.Vinson Lee2009-11-041-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* windows: remove old entrypoints from mesa.def fileKarl Schultz2009-11-031-12/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* Add --with-dri-searchpath argumentChow Loong Jin2009-10-301-1/+1
| | | | | | | * Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <[email protected]>
* intel: Fix memory leak in case of renderbuffer bad formatVinson Lee2009-10-281-0/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* intel: Fix memory leak in event of mip tree allocation failureVinson Lee2009-10-281-1/+3
| | | | Signed-off-by: Brian Paul <[email protected]>
* intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).Eric Anholt2009-10-271-1/+1
| | | | | Bug #24435 (cherry picked from commit d56125a298106d81e10674f1c4b3b43b51a5139d)
* intel: added region draw_x/y offsets in x/y_tile_swizzle() funcsBrian Paul2009-10-271-0/+6
| | | | This fixes the second part of bug 23552.
* intel: fix src offset bug in do_copy_texsubimage()Brian Paul2009-10-271-1/+1
| | | | | | Use src->draw_offset intead of zero. Zero usually worked, except when the src renderbuffer is actually a texture mipmap level higher than zero. Fixes progs/test/blitfb.c test.
* i915: Fix driver for the miptree x/y offset changes.Eric Anholt2009-10-272-6/+20
| | | | Bug #24734.
* i965: be clear that the Fallback field is a boolean, not a bitfieldBrian Paul2009-10-273-4/+8
|
* Revert "i965: fix hacked Fallback usage in brw_prepare_vertices()"Brian Paul2009-10-272-6/+2
| | | | | | | | | This reverts commit 8810b8f67135185d1044746bb861fe2ff997626c. It turns out the i965 driver uses the intel->Fallback field as a boolean, not as a bitmask. The intelFallback() function is a no-op in the i965 driver. It would have been nice if there were some comments about this. I'll fix that next...
* intel: fix GL state bugs in intel_texture_bitmap()Brian Paul2009-10-261-4/+3
| | | | | | | Need to push texture state and polygon state too. Fixes rendering glitches seen in progs/demos/engine when changing the rendering mode (wireframe, texture modes). This makes bitmap rendering a little slower, unfortunately.
* intel: Keep track of x,y offsets in miptrees and use them for blitting.Eric Anholt2009-10-238-140/+118
| | | | | | | | | By just using offsets, we confused the hardware's tiling calculations, resulting in failures in miptree validation and blit clears. Fixes piglit fbo-clearmipmap. Bug #23552. (automatic mipmap generation)
* intel: flush old context before binding new contextBrian Paul2009-10-221-2/+15
| | | | | Per the GLX spec, when changing rendering contexts, the old context should first be flushed.
* i965: fix hacked Fallback usage in brw_prepare_vertices()Brian Paul2009-10-222-2/+6
| | | | | | | | Setting intel->Fallback = 1 clobbered any fallback state that was already set. Not sure where this hack originated (the git history is a little convoluted). Define and use a new BRW_FALLBACK_DRAW bit instead. This shouldn't break anything and could potentially fix some bugs (but no specific ones are known).
* intel: define INTEL_FALLBACK_DRIVER for driversBrian Paul2009-10-221-0/+1
|
* intel: Fallback field is a bitmask, use GLbitfieldBrian Paul2009-10-223-5/+14
|
* i965: remove unused brw_context::tmp_fallback fieldBrian Paul2009-10-221-1/+0
|
* i965: remove unused BRW_FALLBACK_TEXTURE bitBrian Paul2009-10-221-1/+1
| | | | | The value was probably wrong too. It was the same as INTEL_FALLBACK_DRAW_BUFFER.
* r600: set barrier for tex inst if dst is used earlier, might overwrite it ↵Andre Maasikas2009-10-221-2/+25
| | | | otherwise