summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-03-22Calculate haveAccumBuffer, haveDepthBuffer and haveStencilBuffer inmesa_20050114_branchKeith Whitwell1-0/+7
driFillInModes().
2005-03-03merge from trunkAlan Hourihane1-2/+4
2005-02-11Turn _via_fastrender_stage back on.Keith Whitwell1-1/+1
2005-02-11Fix pageflip/vsync regressionKeith Whitwell1-22/+23
2005-02-11pull in a fix from the trunkAlan Hourihane2-2/+4
2005-02-11use the dri_client directory instead of libdrmAlan Hourihane1-3/+3
2005-02-11Change viaChooseTexFormat to match applications format/types moreKeith Whitwell1-7/+12
closely, and to give viaScreen->bitsPerPixel less of a say in which texture format is chosen.
2005-02-11more texture fixes - unset thrash flag after swapoutKeith Whitwell3-22/+66
2005-02-11fix some texture list bugs, quieten debug a littleKeith Whitwell3-18/+14
2005-02-10Quieten valgrind.Keith Whitwell1-0/+11
2005-02-10Remove character droppings.Keith Whitwell1-1/+5
Fix assert failure on context destroy by freeing pending textures on engine idle.
2005-02-10Free buffers on exitKeith Whitwell1-0/+12
2005-02-10fix minor locking bugsKeith Whitwell2-1/+29
2005-02-10Fix debug statementsKeith Whitwell1-2/+2
2005-02-09Fix context destruction ordering.Keith Whitwell1-1/+8
2005-02-08revert the PATH to drm files to default settingAlan Hourihane1-1/+1
2005-02-08define DRM_USE_MALLOC for SOLO build and remove SIGIO requirementAlan Hourihane5-7/+5
2005-02-08reformat (largely) for 80 charsKeith Whitwell10-128/+194
2005-02-07fix a build problem on soloAlan Hourihane1-5/+1
2005-02-07VIASAREAPriv == drm_via_sarea_tAlan Hourihane1-3/+3
2005-02-07Wait for idle properly again.Keith Whitwell1-1/+2
2005-02-07Remove debugKeith Whitwell2-2/+0
2005-02-07Hmm - some issues with checking for idle in previous commit.Keith Whitwell2-6/+9
Fix them un-subtely for now.
2005-02-07Remove dead commentsKeith Whitwell1-2/+0
2005-02-07Get breadcrumb/fence code working correctly.Keith Whitwell9-174/+364
Use this widely in place of polling the engine status register. Release textures according to this vs. their last usage. Get texture swap-in/swap-out and aging working correctly.
2005-02-02Added code to swap in/out texture images on demand.Keith Whitwell15-468/+598
Renamed viaContextPtr to 'struct via_context *' globally.
2005-02-01Supply a driver callback for freeing texture images.Keith Whitwell1-38/+47
Beginnings of swapin/swapout code.
2005-02-01Use a driver callback to free texture image data.Keith Whitwell5-37/+63
2005-01-31Move from using DriverData pointers to wrapping mesa's gl_texture_objectKeith Whitwell6-199/+118
and gl_texture_image structs within the driver structs in an oo-lite fashion. Simplifies quite a bit of code as it was never certain that the DriverData field was going to be populated under all circumstances.
2005-01-31Flush dma and clear texture caches on glTexSubImage() calls.Keith Whitwell1-18/+15
2005-01-31Implement a single-copy scheme for texture images. Where possibleKeith Whitwell15-1443/+984
viaTexImage2D() will store texture data directly to AGP memory and no copy will be retained locally. This results in a big improvement in texture download speed, eg BGRA_8888 texture download goes from 69mb/sec to 190mb/sec according to texdown.c. There are wrinkles to be worked out with thrashing, though it seems often to be the case that it is quicker to use swrast/ to render triangles from local memory rather than ejecting and uploading textures in a thrash state.
2005-01-31make some functions non-static and available for driver useKeith Whitwell2-28/+38
2005-01-28Remove a bunch of unused variables, debug code.Keith Whitwell10-133/+31
Fix some hard-to-justify code in TexImage and TexSubImage calls.
2005-01-27Also add a fixed GL_RGBA->argb8888 conversion.Keith Whitwell1-0/+30
2005-01-27Add back in a fixed GL_RGB->argb8888 conversion.Keith Whitwell1-2/+32
2005-01-27remove dead code - there is no global lruKeith Whitwell2-80/+0
2005-01-27Add more formats to testKeith Whitwell1-0/+14
2005-01-27Add a generalized swizzle-ubytes path for texture conversions. ApplyKeith Whitwell1-32/+193
only to argb8888 at present. Slower than hard-coded conversions so will likely restore the original GL_RGB->argb888 conversion.
2005-01-26reset line stipple on new line primitiveAlan Hourihane1-0/+1
2005-01-26Fix flag for anti-aliased pointsAlan Hourihane1-21/+8
2005-01-26Support texture borders & lodbias (although lodbias needs a little more work)Alan Hourihane3-29/+59
2005-01-25Add a fast-path for storing GL_RGB/GL_UNSIGNED_BYTE little endianKeith Whitwell1-0/+34
textures in the _mesa_texformat_argb8888 format. This is a pretty common case for the DRI drivers and seems to give a good speedup.
2005-01-25Add a GL_BGRA texture format ... and print the GL_BGRA enum.Keith Whitwell1-0/+2
2005-01-25Add a GL_BGRA texture format.Keith Whitwell1-2/+3
2005-01-25consolidate min/mag filter setupAlan Hourihane1-101/+59
and remove emitting of stale line stipple registers
2005-01-25Undo part of last change until bug fixed.Keith Whitwell1-1/+1
2005-01-25Use memcpy for some texture uploads -- it's faster.Keith Whitwell1-30/+16
2005-01-25make better choices for hardware texture formatsKeith Whitwell2-83/+146
2005-01-21Cleanup various pageflipping termination cases.Keith Whitwell5-42/+87
2005-01-21Sync up the definition of VIADRIRec with what the X server is actuallyKeith Whitwell1-16/+2
using. Probably some DDX version numbers need bumping to reflect the changed interface, it's suprising this worked at all.