Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300: Use C style comments in r300_emit.c. | Oliver McFadden | 2007-05-25 | 1 | -4/+13 |
| | |||||
* | r300: Removed a (disabled and unneeded) assertion. | Oliver McFadden | 2007-05-25 | 1 | -6/+1 |
| | | | | | The r300EmitVec functions don't touch the buf member so the assertion isn't needed here. | ||||
* | r300: Improved the r300EmitVec debugging information. | Oliver McFadden | 2007-05-25 | 1 | -10/+6 |
| | |||||
* | r300: Use #if 0 for disabled code. | Oliver McFadden | 2007-05-25 | 1 | -5/+10 |
| | |||||
* | r300: Added a TODO note and some tiny cleanups to r300_emit.c. | Oliver McFadden | 2007-05-25 | 1 | -2/+3 |
| | |||||
* | remove #include "GL/glxtokens.h" | Brian | 2007-05-25 | 1 | -1/+0 |
| | |||||
* | r300: Use GL_TRUE rather than 1 for the GLboolean type. | Oliver McFadden | 2007-05-25 | 1 | -1/+2 |
| | |||||
* | r300: Removed unused vpucount macro from r300_state.c. | Oliver McFadden | 2007-05-25 | 1 | -2/+0 |
| | |||||
* | fix logic for calling _swrast_update_deferred_texture() | Brian | 2007-05-24 | 1 | -7/+5 |
| | |||||
* | doxygen-ize some comments | Brian | 2007-05-23 | 1 | -6/+18 |
| | |||||
* | restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049 | Brian | 2007-05-23 | 1 | -0/+1 |
| | |||||
* | incr/decr 1D/2DArray texture refcounts like other targets | Brian | 2007-05-23 | 1 | -1/+5 |
| | |||||
* | r300: Call the r300Fogfv function directly within r300_state.c. | Oliver McFadden | 2007-05-23 | 1 | -101/+99 |
| | | | | This required moving the r300Enable function but there are no actual changes. | ||||
* | Fix problem w/ two-sided lighting and fragment programs (depth-peel regression) | Brian | 2007-05-23 | 3 | -23/+62 |
| | |||||
* | r300: Use switch statements in r300ResetHwState, etc. | Oliver McFadden | 2007-05-23 | 1 | -33/+38 |
| | |||||
* | r300: Minor indenting corrections in the texture format table. | Oliver McFadden | 2007-05-23 | 1 | -2/+2 |
| | |||||
* | r300: Use a single texture format table; reduces duplication. | Oliver McFadden | 2007-05-23 | 1 | -64/+19 |
| | |||||
* | r300: Corrected the RGB888 texture format entry. | Oliver McFadden | 2007-05-23 | 1 | -1/+1 |
| | | | | | I think this is correct, assuming no endian issues. See commmit 59a08923f51d4ed83effbfcd91473c9ee86465f1. | ||||
* | r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines. | Oliver McFadden | 2007-05-23 | 2 | -19/+1 |
| | | | | | Supposedly you need to set these values for the interpolaters to work, but they seem to work fine without these values. | ||||
* | Fix point attentuation problem (bug 11042) | Brian | 2007-05-23 | 2 | -10/+11 |
| | | | | | ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z array wasn't indexed correctly in run_point_stage(). | ||||
* | Replace initInitState() with _mesa_init_driver_state(). | Brian | 2007-05-22 | 10 | -304/+12 |
| | |||||
* | added _mesa_init_driver_state() to replace duplicated code in intel drivers | Brian | 2007-05-22 | 2 | -2/+101 |
| | |||||
* | include swrast_setup/swrast_setup.h to silence warning | Brian | 2007-05-22 | 1 | -0/+1 |
| | |||||
* | don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression) | Brian | 2007-05-22 | 1 | -0/+1 |
| | |||||
* | i915tex: Implement SetTexOffset hook. | Michel Dänzer | 2007-05-22 | 8 | -28/+103 |
| | | | | Only build tested for I830 generation. | ||||
* | r300: Implement SetTexOffset hook. | Michel Dänzer | 2007-05-22 | 5 | -12/+74 |
| | |||||
* | Add interfaces for overriding texture images with driver specific 'offsets'. | Michel Dänzer | 2007-05-22 | 2 | -0/+9 |
| | | | | | To be used by AIGLX for GLX_EXT_texture_from_pixmap without several additional data copies. | ||||
* | Fix xserver build after recent XMesa changes. | Michel Dänzer | 2007-05-22 | 2 | -17/+10 |
| | | | | Only build tested. | ||||
* | get rid of GenTexturesLock, used ctx->Shared->Mutex | Brian | 2007-05-21 | 1 | -15/+7 |
| | |||||
* | remove the unused texobj Mutex field | Brian | 2007-05-21 | 2 | -6/+0 |
| | |||||
* | remove a VMS-ism that doesn't seem needed elsewhere | Brian | 2007-05-21 | 1 | -4/+0 |
| | |||||
* | improve some comments, clean-up formatting | Brian | 2007-05-21 | 3 | -11/+23 |
| | |||||
* | remove some whitespace | Brian | 2007-05-21 | 1 | -5/+0 |
| | |||||
* | return True for GLX_Y_INVERTED_EXT query | Brian | 2007-05-21 | 1 | -1/+1 |
| | |||||
* | fog: fix potential issues with generated vp using fog | Roland Scheidegger | 2007-05-22 | 2 | -16/+29 |
| | | | | | Change the generated vertex programs (tnl/brw) to follow the same logic as the tnl fog wrt using absolute value, and sync them up a bit (untested). | ||||
* | fog: fix issues with negative fog coords (may fix #10529) | Roland Scheidegger | 2007-05-22 | 1 | -7/+22 |
| | | | | | | | Rework tnl fog a bit. Make sure we always use ABS(eyez) when fog coord source is depth, OTOH it does not seem to be necessary to use it (as was done before in some cases) if fog coord source is fogcoord (just to save some work). This fixes tests/fog (the first 2 cases) with i915/i915tex. | ||||
* | make sure optimized fog params get updated | Roland Scheidegger | 2007-05-22 | 1 | -0/+2 |
| | |||||
* | i915/i915tex: minor cleanup (remove unneeded function call | Roland Scheidegger | 2007-05-22 | 2 | -16/+0 |
| | |||||
* | unbreak 3d textures (typo when setting tex layout) | Roland Scheidegger | 2007-05-22 | 1 | -1/+1 |
| | |||||
* | if light position is local, treat it as a homogeneous coord and divide by W ↵ | Brian | 2007-05-21 | 1 | -2/+9 |
| | | | | (see bug 11009) | ||||
* | Overhaul/simplify SWvertex and SWspan attribute handling. | Brian | 2007-05-20 | 34 | -2131/+1273 |
| | | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions. | ||||
* | add missing right-paren | Brian | 2007-05-20 | 1 | -1/+1 |
| | |||||
* | r300: Added TODO comment regarding immediate mode implementation. | Oliver McFadden | 2007-05-20 | 1 | -0/+3 |
| | |||||
* | r300: Just use "inline" rather than "__inline__". | Oliver McFadden | 2007-05-20 | 5 | -13/+13 |
| | |||||
* | need to copy new 1D/2D array texture objects in _mesa_PushAttrib() | Brian | 2007-05-19 | 1 | -0/+4 |
| | |||||
* | Implement GLX_EXT_texture_from_pixmap. | Brian | 2007-05-19 | 5 | -25/+454 |
| | | | | Could be done more efficiently... but works. | ||||
* | fix miptree layout (i915) for small compressed mipmaps | Roland Scheidegger | 2007-05-19 | 2 | -4/+2 |
| | | | | | | This seems to work now. Also fix i945 set_level_info, need to match i915 behaviour for storing mip height, as it's assumed to be the mip width (in texels) elsewhere and the division by 4 is done later (untested). | ||||
* | fix copy & paste bug of previous commit, breaking dxt5 formats | Roland Scheidegger | 2007-05-19 | 1 | -0/+1 |
| | |||||
* | fix miptree comparison with compressed textures | Roland Scheidegger | 2007-05-19 | 1 | -7/+10 |
| | | | | | | TexelBytes is always 0 with compressed textures, thus would never match mt->cpp. This caused constant blitting around of textures, and it fixes at least the horrible performance of Q3 if compressed textures are enabled. | ||||
* | fix small s3tc mipmaps (#10968) | Roland Scheidegger | 2007-05-19 | 2 | -23/+20 |
| | | | | | | make sure that always whole blocks are uploaded. (May still not work correctly if the top mip map is not at least a full block, that is 4 pixels wide - not sure, but probably doesn't happen in real world) |