aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* r300: fix swtcl texrect path properly.Dave Airlie2008-05-052-1/+3
| | | | | | | We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690 (cherry picked from commit 66a5562ce2906fbf5b96d1cee18f9a31a78c4360)
* r300: add R300_NO_TCL to allow testing of non-tcl on tcl cardsDave Airlie2008-05-051-0/+3
| | | | (cherry picked from commit 026ef8111a94f6449dfa5e5cc0ae91fca4e68c0c)
* r300: Set correct VAP_CNTL per vertex program.Markus Amsler2008-05-043-13/+72
|
* [intel] Warnings fixes.Eric Anholt2008-05-024-2/+2
|
* [intel] Merge intel_ioctl.h. Not sure how this slipped by in the .c merge.Eric Anholt2008-05-022-44/+0
|
* fix conversion of GLfloat display list IDsBrian Paul2008-05-011-21/+24
| | | | | | Use floor() to convert to int (per Mark Kildard and the SI). Also, change translate_id() to return a signed integer since we may be offsetting from GL_LIST_BASE.
* Add support for GL_REPLACE_EXT texture env mode.Brian Paul2008-04-301-1/+6
| | | | | | GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.
* intel: test cpp to ensure mipmap tree matches texture image.Xiang, Haihao2008-04-301-0/+5
|
* mesa: adjust glBitmap coords by a small epsilonBrian Paul2008-04-291-2/+3
| | | | | | | | Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check. Cherry picked from gallium-0.1 branch
* r200: fix state submission issue causing bogus textures (bug 15730)Ove Kaaven2008-04-291-0/+6
|
* Change default of driconf "allow_large_textures" to announce hardware limits.Michel Dänzer2008-04-292-3/+3
| | | | | | The previous default these days served mostly to cause artifical problems with GLX compositing managers like compiz (see e.g. http://bugs.freedesktop.org/show_bug.cgi?id=10501).
* build fix for xorg driverAlan Hourihane2008-04-281-3/+4
|
* [i965] short immediate values must be replicated to both halves of the dwordKeith Packard2008-04-251-2/+2
| | | | | | The 32-bit immediate value in the i965 instruction word must contain two copies of any 16-bit constants. brw_imm_uw and brw_imm_w just needed to copy the value into both halves of the immediate value instruction field.
* glcore: Respect DESTDIRDan Nicholson2008-04-251-2/+2
|
* silence warningAlan Hourihane2008-04-251-1/+1
|
* enable GL_EXT_multi_draw_arrays (see bug 15670)Pierre Beyssac2008-04-242-0/+4
|
* drop stray includes of glapiGeorge Sapountzis2008-04-232-2/+0
|
* glcore: drop outdated sources files intented for xorgGeorge Sapountzis2008-04-2311-374/+0
|
* glcore: tree sharing for DRI and XMesaGeorge Sapountzis2008-04-232-1/+79
|
* glcore: build from mesaGeorge Sapountzis2008-04-238-7/+126
|
* revert part of the previous cleanup - it only appliesAlan Hourihane2008-04-221-1/+1
| | | | to the 7.0 branch
* Fix error stringAlan Hourihane2008-04-221-1/+2
|
* correct the return valueAlan Hourihane2008-04-221-1/+1
|
* small cleanupsAlan Hourihane2008-04-223-7/+7
|
* i965: fix DEPTH_TEXTURE_MODE (bug #14220)Xiang, Haihao2008-04-222-7/+10
|
* [i965] This is to fix random crash in some maps of Ut2004 demo.Zou Nan hai2008-04-221-1/+1
| | | | | | | e.g. bridge of fate. If vs output is big, driver may fall back to use 8 urb entries for vs, unfortunally, for some unknown reason, if vs is working at 4x2 mode, 8 entries is not enough, may lead to gpu hang.
* i965: save the offset of target buffer after last execution, not relocatee ↵Xiang, Haihao2008-04-221-1/+1
| | | | buffer.
* intel: fix an assertion failure. fix bug #15575Xiang, Haihao2008-04-211-2/+4
|
* i965: clear the PRESUMED_OFFSET flag from bo_req.hint, not bo_req.flags. fix ↵Xiang, Haihao2008-04-211-1/+1
| | | | #15574
* i965: fixup depth buffer checkDave Airlie2008-04-181-1/+1
|
* i965: fix vb aperture space checkDave Airlie2008-04-181-4/+8
|
* 965: fix vb upload size checkDave Airlie2008-04-181-3/+5
|
* i965: fix gs_prog aperture checkDave Airlie2008-04-181-2/+4
|
* i915: check for depth region before accounting its buffer sizeDave Airlie2008-04-181-1/+2
| | | | fd.o bz #15573
* i965: initial attempt at fixing the aperture overflowDave Airlie2008-04-1826-161/+385
| | | | | | | | | Makes state emission into a 2 phase, prepare sets things up and accounts the size of all referenced buffer objects. The emit stage then actually does the batchbuffer touching for emitting the objects. There is an assert in dri_emit_reloc if a reloc occurs for a buffer that hasn't been accounted yet.
* Revert "[i965] renable regative rhw test"Xiang, Haihao2008-04-173-12/+16
| | | | | This reverts commit 3158e981f5f37768e9b04765704b9eaece8b899b. rhw issue has gone away on IGD.
* r200: accept PROGRAM_CONSTANT inputs due to mesa changesAndrew Randrianasulu2008-04-171-0/+1
|
* bufmgr_fake: disable debugging againDave Airlie2008-04-161-1/+1
|
* intel: fix _mesa_error ctx I introduced at lsat minuteDave Airlie2008-04-162-1/+34
|
* intel/fake_bufmgr: Attempt to restrict references to objects in a ↵Dave Airlie2008-04-167-18/+187
| | | | | | | | | | | | | | | | | | | | | | | | batchbuffer > aperture size. So with compiz on Intel hw with fake bufmgr, opening 4 firefox windows at 1680x1050 and hitting alt-tab, could cause the batchbuffer to try and reference more than the 32MB of RAM allocated. Fix 1: Fix 1 is to pre-verify the list of buffers against the current batchbuffer and if it can't possibly fit in the aperture to flush the batchbuffer to the hardware and try again. If the buffers still can't fit well then you are hosed as I'm not sure there is a nice way to tell anyone. Fix 2: Next problem was that even with a simple check for total < aperture, we ran into fragmentation issues, this meant that half way down a set of buffers, we would fail as no blocks were available. Fix this by nuking the memory manager from orbit and letting it start again and relayout the blocks in a manner that fits. Fix 3: Finally the initial problem we were seeing was a memcpy to a NULL backing store. We seem to end up with a texture at some point that never gets mapped but ends up with data in it. compiz al-tab icons have this property. So I created a card dirty bit that memcpy's any buffer that is !static and is written to back to memory. This probably is wrong but it makes compiz work for now. Caveats: 965 support is still fail.
* fix multi-draw buffer regressionBrian2008-04-141-2/+1
|
* only use __x86_64__, not __amd64__ (bug 15503)Brian Paul2008-04-143-3/+3
|
* fix GL_ARB_texture_rectangle breakageBrian Paul2008-04-141-3/+3
|
* define #extension GL_ARB_texture_rectangleDavid Flynn2008-04-141-0/+4
|
* r200: fix XPD vertex program instruction when using temps as inputsRoland Scheidegger2008-04-121-3/+13
| | | | | | | due to the two read ports limit into temp memory may need the MAD_2 instruction for the second instruction of the decomposed XPD. While here, also try to avoid MAD_2 for MAD if all 3 inputs are temps but the temps aren't actually distinct.
* fix failed assertion (parameter can be a PROGRAM_CONSTANT)Brian Paul2008-04-111-0/+1
|
* commentsBrian Paul2008-04-111-2/+7
|
* r300: Fix r300VAPInputRoute{0,1} for big endian platforms.Michel Dänzer2008-04-071-11/+19
|
* rewrite some of the mat*mat, mat*vec intrinsicsBrian2008-04-033-567/+336
| | | | Also, remove obsolete matrix codegen code.
* Initialize GLX_EXT_texture_from_pixmap attributes correctly.Kristian Høgsberg2008-04-022-10/+10
|