Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test for TTM presence initially rather than test for lack of classic aperture. | Eric Anholt | 2007-06-18 | 2 | -10/+23 |
| | |||||
* | Replace intel_dump_batchbuffer with a more informational version. | Eric Anholt | 2007-06-15 | 3 | -22/+619 |
| | |||||
* | Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument. | Eric Anholt | 2007-06-15 | 1 | -1/+1 |
| | |||||
* | Replace the flags/hint arguments to bo_alloc{,_static} with a location mask. | Eric Anholt | 2007-05-24 | 7 | -44/+61 |
| | | | | | | | | | | | | Now, allocations only take locations, rather than a variety of unused flags. The only interesting flag before was the no_move/no_evict pair for scanout and similar buffers, which the DRI drivers don't use. That will be readded when we get to using this code for display buffer allocation, by adding a pin/unpin call (dynamic pinning/unpinning may be useful for VT switching and root window resizing). This commit changes one instance of DRM_BO_FLAG_MEM_LOCAL with DRM_BO_FLAG_MEM_TT, which appeared to have been unintentional. | ||||
* | Merge branch 'master' into i915-unification | Eric Anholt | 2007-05-24 | 104 | -2885/+2851 |
|\ | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915tex/i830_texstate.c src/mesa/drivers/dri/i915tex/i915_texstate.c | ||||
| * | 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 | 3 | -0/+21 |
| | | | | | | | | | | 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 | 5 | -20/+41 |
| | | | | | | | | 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 |
| | | |||||
| * | set texcoords depending on GLX_Y_INVERTED_EXT | Brian | 2007-05-21 | 1 | -5/+7 |
| | | |||||
| * | 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 |
| | | |||||
| * | Disable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef. | Brian | 2007-05-19 | 1 | -0/+5 |
| | | | | | | | | | | | | If an app (like progs/samples/blendxor.c) includes both gl.h and glext.h this typedef will get hit in both headers, causing an error. Possibly work around by bringing GL_NV_geometry_program4 items into gl.h. | ||||
| * | added GL_EXT_texture_from_pixmap | Brian | 2007-05-19 | 1 | -0/+1 |
| | | |||||
| * | GLX_EXT_texture_from_pixmap test | Brian | 2007-05-19 | 2 | -0/+382 |
| | | |||||
| * | added texture_from_pixmap functions | Brian | 2007-05-19 | 1 | -2/+21 |
| | | |||||
| * | 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) |