summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2007-05-30r300: Use the CP_PACKET3 macro for Type 3 packets.Oliver McFadden
I haven't converted all of the Type 3 packets to the CP_PACKET3 macro yet because some of the Type 3 packet defines are missing from the R300 register definition file. These defines need to be copied from DRM and Mesa into the R300 register definition file then copied into both DRM and Mesa.
2007-05-30r300: Removed the (completely broken since new VBO branch) OPTIMIZE_ELTS path.Oliver McFadden
The VTXFMT code was broken by the new VBO branch and the OPTIMIZE_ELTS path relied on the VTXFMT code... I'm not even sure if the OPTIMIZE_ELTS path ever worked; the testing that I did after minimizing the code duplication would have taken the same path as the non-OPTIMIZE_ELTS code.
2007-05-30r300: Cleaned up the AOS code in r300_render.c.Oliver McFadden
2007-05-30r300: Added a comment in r300VAPInputCntl0.Oliver McFadden
2007-05-30r300: Cleaned up r300DestroyTexObj.Oliver McFadden
2007-05-30r300: R300_SE_VTE_CNTL applies to both non-TCL and TCL hardware.Oliver McFadden
See r300ResetHwState.
2007-05-27Revert "r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines."Oliver McFadden
This reverts commit bb3558e6517209086cf8426bbe4743da50351158. This commit caused a regression reported by Markus Amsler <markus.amsler@oribi.org>. Apparently these defines are required, although I'm not sure why.
2007-05-26r300: Rearranged the DWORD construction in r300VAPInputRoute0 for clarity.Oliver McFadden
Doesn't actually change anything; just makes it easier to read.
2007-05-26r300: Removed duplicate AOS format defines; already defined in r300_reg.h.Oliver McFadden
2007-05-26r300: Removed unused aos_reg variable.Oliver McFadden
2007-05-26r300: Use "rmesa" not "r300" in r300_emit.c; some of the macros require "rmesa".Oliver McFadden
2007-05-26r300: Cleaned up the non-TCL RENDERINPUTS, etc.Oliver McFadden
2007-05-26r300: Whitespace cleanup in r300_emit.c.Oliver McFadden
2007-05-26r300: Added the r300VAPInputCntl0 function.Oliver McFadden
The function just returns the hard-coded value (0x5555) even though we have no idea what this means...
2007-05-26r300: Added r300VAPOutputCntl0 and r300VAPOutputCntl1 to r300_emit.c.Oliver McFadden
2007-05-26r300: Removed R300_PFS_NODE_LAST_NODE replaced by R300_PFS_NODE_OUTPUT_COLOR.Oliver McFadden
2007-05-26r300: Renamed the t_vic function.Oliver McFadden
2007-05-26r300: Renamed the t_vir0 and t_vir1 functions.Oliver McFadden
2007-05-25r300: Renamed "dt" to "attribptr" in the t_vir0 function.Oliver McFadden
2007-05-25r300: Specify the type in the t_vir0 function.Oliver McFadden
2007-05-25r300: Cleaned up t_vir0 and t_vir1 slightly.Oliver McFadden
2007-05-25r300: Use C style comments in r300_emit.c.Oliver McFadden
2007-05-25r300: Removed a (disabled and unneeded) assertion.Oliver McFadden
The r300EmitVec functions don't touch the buf member so the assertion isn't needed here.
2007-05-25r300: Improved the r300EmitVec debugging information.Oliver McFadden
2007-05-25r300: Use #if 0 for disabled code.Oliver McFadden
2007-05-25r300: Added a TODO note and some tiny cleanups to r300_emit.c.Oliver McFadden
2007-05-25r300: Use GL_TRUE rather than 1 for the GLboolean type.Oliver McFadden
2007-05-25r300: Removed unused vpucount macro from r300_state.c.Oliver McFadden
2007-05-23r300: Call the r300Fogfv function directly within r300_state.c.Oliver McFadden
This required moving the r300Enable function but there are no actual changes.
2007-05-23r300: Use switch statements in r300ResetHwState, etc.Oliver McFadden
2007-05-23r300: Minor indenting corrections in the texture format table.Oliver McFadden
2007-05-23r300: Use a single texture format table; reduces duplication.Oliver McFadden
2007-05-23r300: Corrected the RGB888 texture format entry.Oliver McFadden
I think this is correct, assuming no endian issues. See commmit 59a08923f51d4ed83effbfcd91473c9ee86465f1.
2007-05-23r300: Removed the R300_RS_INTERP_[0-9]_UNKNOWN (magic) defines.Oliver McFadden
Supposedly you need to set these values for the interpolaters to work, but they seem to work fine without these values.
2007-05-22Replace initInitState() with _mesa_init_driver_state().Brian
2007-05-22include swrast_setup/swrast_setup.h to silence warningBrian
2007-05-22i915tex: Implement SetTexOffset hook.Michel Dänzer
Only build tested for I830 generation.
2007-05-22r300: Implement SetTexOffset hook.Michel Dänzer
2007-05-22Add interfaces for overriding texture images with driver specific 'offsets'.Michel Dänzer
To be used by AIGLX for GLX_EXT_texture_from_pixmap without several additional data copies.
2007-05-22fog: fix potential issues with generated vp using fogRoland Scheidegger
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).
2007-05-22i915/i915tex: minor cleanup (remove unneeded function callRoland Scheidegger
2007-05-22unbreak 3d textures (typo when setting tex layout)Roland Scheidegger
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-05-20add missing right-parenBrian
2007-05-20r300: Added TODO comment regarding immediate mode implementation.Oliver McFadden
2007-05-20r300: Just use "inline" rather than "__inline__".Oliver McFadden
2007-05-19fix miptree layout (i915) for small compressed mipmapsRoland Scheidegger
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).
2007-05-19fix copy & paste bug of previous commit, breaking dxt5 formatsRoland Scheidegger
2007-05-19fix miptree comparison with compressed texturesRoland Scheidegger
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.
2007-05-19fix small s3tc mipmaps (#10968)Roland Scheidegger
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)