summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2007-05-31Add buffer manager destroy function.Eric Anholt
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-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-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-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)
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
2007-05-18Allow unreference with a NULL argument.Eric Anholt
2007-05-18Fix double-counting of low_offset in block->virtual.Eric Anholt
2007-05-18Zero out bufmgr_fake on alloc.Eric Anholt
2007-05-18Dead code elimination and fix bufmgr_fake_wait_idle.Eric Anholt
2007-05-18Kill old struct bufmgr members.Eric Anholt
2007-05-18Fix some use-before-initialize in bufmgr_fake.Eric Anholt
2007-05-18Ratchet required version down to 1.5 (pre-TTM).Eric Anholt
2007-05-17change max anisotropy testChristoff Brill
2007-05-17use R200_DEBUG for debug outputChristoff Brill
2007-05-17remove CVS/XFree86 keywordsChristoff Brill
2007-05-17Restore missing intel_batchbuffer_reset() which was needed.Eric Anholt
2007-05-17Rename the i915tex_dri.so driver to just i915_dri.so again.Eric Anholt
2007-05-17Convert i915tex to the new interface and make it compile.Eric Anholt
2007-05-17r300: Removed the radeon_vertex_buffer structure.Tommy Schultz Lassen
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-05-16WIP: Replace TTM buffer pool manager with a simplified interface.Eric Anholt
The interface is not solid yet (some simplification to do still, and adjustment for 0-copy), and the drivers are not converted. However, the new interface allows using the same calls to support either a TTM or a classic static allocation backend, with the static backend allowing a more limited feature set.
2007-05-13r300: Enable the non-user-buffers code to compile.Oliver McFadden