summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-05-31Remove some stale comments.Eric Anholt
2007-05-24Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.Eric Anholt
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.
2007-05-24Merge branch 'master' into i915-unificationEric Anholt
Conflicts: src/mesa/drivers/dri/i915tex/i830_texstate.c src/mesa/drivers/dri/i915tex/i915_texstate.c
2007-05-23restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049Brian
2007-05-23incr/decr 1D/2DArray texture refcounts like other targetsBrian
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-23Fix problem w/ two-sided lighting and fragment programs (depth-peel regression)Brian
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-23Fix point attentuation problem (bug 11042)Brian
ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z array wasn't indexed correctly in run_point_stage().
2007-05-22Replace initInitState() with _mesa_init_driver_state().Brian
2007-05-22added _mesa_init_driver_state() to replace duplicated code in intel driversBrian
2007-05-22include swrast_setup/swrast_setup.h to silence warningBrian
2007-05-22don't treat FRAG_BIT_WPOS as a generic attribute (fixes depth peel regression)Brian
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-22Fix xserver build after recent XMesa changes.Michel Dänzer
Only build tested.
2007-05-21get rid of GenTexturesLock, used ctx->Shared->MutexBrian
2007-05-21remove the unused texobj Mutex fieldBrian
2007-05-21remove a VMS-ism that doesn't seem needed elsewhereBrian
2007-05-21improve some comments, clean-up formattingBrian
2007-05-21remove some whitespaceBrian
2007-05-21return True for GLX_Y_INVERTED_EXT queryBrian
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-22fog: fix issues with negative fog coords (may fix #10529)Roland Scheidegger
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.
2007-05-22make sure optimized fog params get updatedRoland Scheidegger
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-21Don't read beyond the end of the buffer with INTEL_DEBUG=bat.Eric Anholt
2007-05-21Enable INTEL_DEBUG environment variable.Eric Anholt
2007-05-21Remove unused intel_batchpool.c.Eric Anholt
This may need to be implemented again, but probably not as a buffer manager (pool).
2007-05-21Notify the fake buffer manager on contended lock take.Eric Anholt
2007-05-21if light position is local, treat it as a homogeneous coord and divide by W ↵Brian
(see bug 11009)
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-19need to copy new 1D/2D array texture objects in _mesa_PushAttrib()Brian
2007-05-19Implement GLX_EXT_texture_from_pixmap.Brian
Could be done more efficiently... but works.
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)
2007-05-18Merge branch 'master' into i915-unificationEric Anholt
Conflicts: src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/intel_batchpool.c src/mesa/drivers/dri/i915tex/intel_buffer_objects.c src/mesa/drivers/dri/i915tex/intel_regions.c src/mesa/drivers/dri/i915tex/intel_screen.c src/mesa/drivers/dri/i915tex/intel_screen.h
2007-05-18Fix a refcounting mistake with first_swap_fence.Eric Anholt
2007-05-18Fix another mis-calling of _fence_wait_internal.Eric Anholt