summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test for TTM presence initially rather than test for lack of classic aperture.Eric Anholt2007-06-182-10/+23
|
* Replace intel_dump_batchbuffer with a more informational version.Eric Anholt2007-06-153-22/+619
|
* Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.Eric Anholt2007-06-151-1/+1
|
* Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.Eric Anholt2007-05-247-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-unificationEric Anholt2007-05-24104-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 11049Brian2007-05-231-0/+1
| |
| * incr/decr 1D/2DArray texture refcounts like other targetsBrian2007-05-231-1/+5
| |
| * r300: Call the r300Fogfv function directly within r300_state.c.Oliver McFadden2007-05-231-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)Brian2007-05-233-23/+62
| |
| * r300: Use switch statements in r300ResetHwState, etc.Oliver McFadden2007-05-231-33/+38
| |
| * r300: Minor indenting corrections in the texture format table.Oliver McFadden2007-05-231-2/+2
| |
| * r300: Use a single texture format table; reduces duplication.Oliver McFadden2007-05-231-64/+19
| |
| * r300: Corrected the RGB888 texture format entry.Oliver McFadden2007-05-231-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 McFadden2007-05-232-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)Brian2007-05-232-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().Brian2007-05-2210-304/+12
| |
| * added _mesa_init_driver_state() to replace duplicated code in intel driversBrian2007-05-222-2/+101
| |
| * include swrast_setup/swrast_setup.h to silence warningBrian2007-05-221-0/+1
| |
| * don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)Brian2007-05-221-0/+1
| |
| * i915tex: Implement SetTexOffset hook.Michel Dänzer2007-05-228-28/+103
| | | | | | | | Only build tested for I830 generation.
| * r300: Implement SetTexOffset hook.Michel Dänzer2007-05-225-12/+74
| |
| * Add interfaces for overriding texture images with driver specific 'offsets'.Michel Dänzer2007-05-223-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änzer2007-05-225-20/+41
| | | | | | | | Only build tested.
| * get rid of GenTexturesLock, used ctx->Shared->MutexBrian2007-05-211-15/+7
| |
| * remove the unused texobj Mutex fieldBrian2007-05-212-6/+0
| |
| * remove a VMS-ism that doesn't seem needed elsewhereBrian2007-05-211-4/+0
| |
| * improve some comments, clean-up formattingBrian2007-05-213-11/+23
| |
| * remove some whitespaceBrian2007-05-211-5/+0
| |
| * set texcoords depending on GLX_Y_INVERTED_EXTBrian2007-05-211-5/+7
| |
| * return True for GLX_Y_INVERTED_EXT queryBrian2007-05-211-1/+1
| |
| * fog: fix potential issues with generated vp using fogRoland Scheidegger2007-05-222-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 Scheidegger2007-05-221-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 updatedRoland Scheidegger2007-05-221-0/+2
| |
| * i915/i915tex: minor cleanup (remove unneeded function callRoland Scheidegger2007-05-222-16/+0
| |
| * unbreak 3d textures (typo when setting tex layout)Roland Scheidegger2007-05-221-1/+1
| |
| * if light position is local, treat it as a homogeneous coord and divide by W ↵Brian2007-05-211-2/+9
| | | | | | | | (see bug 11009)
| * Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-2034-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-parenBrian2007-05-201-1/+1
| |
| * r300: Added TODO comment regarding immediate mode implementation.Oliver McFadden2007-05-201-0/+3
| |
| * r300: Just use "inline" rather than "__inline__".Oliver McFadden2007-05-205-13/+13
| |
| * need to copy new 1D/2D array texture objects in _mesa_PushAttrib()Brian2007-05-191-0/+4
| |
| * Disable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef.Brian2007-05-191-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_pixmapBrian2007-05-191-0/+1
| |
| * GLX_EXT_texture_from_pixmap testBrian2007-05-192-0/+382
| |
| * added texture_from_pixmap functionsBrian2007-05-191-2/+21
| |
| * Implement GLX_EXT_texture_from_pixmap.Brian2007-05-195-25/+454
| | | | | | | | Could be done more efficiently... but works.
| * fix miptree layout (i915) for small compressed mipmapsRoland Scheidegger2007-05-192-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 formatsRoland Scheidegger2007-05-191-0/+1
| |
| * fix miptree comparison with compressed texturesRoland Scheidegger2007-05-191-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 Scheidegger2007-05-192-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)