aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'vbo-0.2'Keith Whitwell2007-02-0214-3350/+12
|\ | | | | | | | | | | | | Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
| * Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-162-3/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
| * | merge current trunk into vbo branchAlan Hourihane2006-11-022-5/+5
| | |
| * | remove vtxfmt code, switch over to vboKeith Whitwell2006-10-3114-3350/+12
| | |
* | | fix unitialized values in radeonClearRoland Scheidegger2007-02-011-4/+4
| | |
* | | support as much of GL_EXT_stencil_two_side as we can. untested.Aapo Tahkola2007-01-181-1/+7
| |/ |/|
* | Remove unnecessary setting of GetBufferSize to NULL.Ian Romanick2006-11-091-1/+0
| |
* | s/GLuint/int/ to silence warningsBrian Paul2006-11-021-2/+2
| |
* | Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-011-3/+2
| |
* | Correct a little bug, radeon->glCtx is a pointer.Jerome Glisse2006-11-011-2/+3
|/
* Enable GLX_SGI_make_current_read for radeon.Ian Romanick2006-10-185-34/+57
| | | | | | | | | | | | | | Added code to track the drawable bound to the context for reading. In addition, when a drawable is initially bound (for reading or drawing) or when the size of the drawable changes, update the size of the framebuffer object that back the drawable (for software fallbacks). Deprecate the old GetBufferSize interface. Bump the driver date. These changes were tested with wincopy on both direct rendering and accelerated indirect rendering (AIGLX).
* Want to stop passing x/y/width/height to Clear() function.Brian Paul2006-10-181-6/+14
| | | | | | | The coordinates need to be computed after we've got the hw lock. Code updated to: 1. Ignore all/x/y/width/height/ params passed to Clear func. 2. Pass 0,0,0,0,0 to _swrast_Clear() until they're totally removed.
* fix handling of textures with a base internal format that does not have all ↵Roland Scheidegger2006-10-151-10/+27
| | | | four rgba values set for radeon and r200 (discovered with a modified glean pixelFormats test, noone ever noticed in over 2 years). For radeon, use hw format I8 as previously, and change tex env to make the correct default values appear for both GL_ALPHA and GL_LUMINANCE textures. For r200, which supports GL_LUMINANCE just fine, use the AL88 hw format for GL_ALPHA textures, since it seems like it's probably not worth the effort to fix up the texture environment (certainly complicated in case of ATI_fragment_shader programs).
* Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul2006-10-151-1/+0
| | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
* implement ARB_point_parameters and ARB_point_sprite on r200. The code is ↵Roland Scheidegger2006-10-131-0/+2
| | | | nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
* Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer2006-09-281-1/+2
| | | | | This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
* always use argb8888 instead of rgba8888, this is far more likely to hit a ↵Roland Scheidegger2006-09-131-4/+4
| | | | faster memcopy path in mesa (at least on little endian systems, possibly on big endian too)
* Always mark tex state atom as dirty when the texture image is dirty, this ↵Roland Scheidegger2006-09-131-4/+6
| | | | ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200).
* don't use derived value _ColorLogicOpEnabled as it's not current by the time ↵Roland Scheidegger2006-09-131-3/+6
| | | | we call the blend/logic op functions. Fixes glean logicOp test on r200.
* remove code to deal with non-normalized texture coordinates for tex rect ↵Roland Scheidegger2006-09-105-168/+42
| | | | targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles).
* cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv ↵Roland Scheidegger2006-09-101-0/+3
| | | | conversion appears only to work on first unit.
* cause a vtxfmt fallback directly when hitting NewList for radeon and r200 ↵Roland Scheidegger2006-09-081-0/+10
| | | | drivers, otherwise we'll mix up tcl and vtxfmt path for some reason. This fixes a warzone2100 asssertion failure.
* Give the user posibility to choose speed over correctness.Rune Petersen2006-08-311-1/+14
| | | | | | It does 2 things: 1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled. 2) Disable fallbacks that usually have low impact.
* close #6318Aapo Tahkola2006-08-271-7/+4
|
* remove the now confusing option to manually enable software ARB_vp if drm is ↵Roland Scheidegger2006-08-191-2/+1
| | | | not new enough on r200
* remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger2006-06-022-45/+18
| | | | request at least drmMinor 6 anyway.
* retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger2006-06-011-1/+1
| | | | intention as drm seems to never return EAGAIN) in all radeon drivers.
* preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵Roland Scheidegger2006-05-274-0/+5
| | | | instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs.
* Dont allow 16 tex units to be used at all.Aapo Tahkola2006-05-181-1/+1
|
* the r300 should only use 8 until Mesa can deal with thisDave Airlie2006-05-121-1/+1
|
* updates to dri drivers for recent stencil changesKeith Whitwell2006-05-081-5/+5
|
* Make most of the _mesa_noop_*() functions static.Brian Paul2006-04-201-11/+2
| | | | | | | Generate GL_INVALID_VALUE, not GL_INVALID_ENUM when glVertexAttrib is called with a bad index. Use _mesa_noop_vtxfmt_init() in DRI drivers to initialize vertex format struct.
* Add .note.GNU-stack section to assembler files to avoid the default behaviorKristian Høgsberg2006-04-171-0/+4
| | | | of requesting executable stacks.
* More GLSL code:Michal Krol2006-04-112-15/+18
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* Destroy the GL context after driDestroyTextureHeap, because the driver'sEric Anholt2006-04-091-4/+4
| | | | DestroyTexObj has a dependence on the glCtx and may segfault otherwise.
* Set DRIVER_DEFINES instead of DEFINES to fix duplicate flags problemBrian Paul2006-04-061-1/+1
|
* use gart base from drm not try to work it out ourselves.. bump radeon clientDave Airlie2006-04-041-27/+22
| | | | to need 1.6 drm where this first appeared.. this fixes r300 on PCIE
* switch to card_type rather than IsPCI, doesn't change any functionality yetDave Airlie2006-04-043-22/+25
|
* use WidthDave Airlie2006-04-031-0/+1
|
* Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul2006-03-315-18/+76
|
* free rs300 and ban r350(according to r300.sf.net)Aapo Tahkola2006-03-311-2/+2
|
* disable r300 chips. R300_FORCE_R300 to forceAapo Tahkola2006-03-311-0/+8
|
* fix missing *_STATECHANGE in *UpdateViewportOffset for radeon, r200 and r300 ↵Roland Scheidegger2006-03-283-23/+35
| | | | (reported by Jim Duchek). Fix some potential problems with strict-aliasing with r200 and radeon drivers in *UpdateViewportOffset, *PolygonOffset and *UpdateWindow functions (some compiler warnings about strict-aliasing remain in the codegen vertex code, and there may be more problems unnoticed by the compiler).
* make allow_large_textures 1 by default for radeon and r200, and consequently ↵Roland Scheidegger2006-03-272-5/+5
| | | | enable all texture units by default on those cards (3 for radeon, 6 for r200). Fix the usually forgotten DRIVER_DATE accordingly.
* coverity check bug fix going over end of arrayDave Airlie2006-03-081-1/+1
|
* coverity checker bug: Pointer dereferenced after NULL checkDave Airlie2006-03-081-3/+5
|
* Enable HW VBOs and other things needed by it.Aapo Tahkola2006-03-071-1/+1
|
* No need to call *_FIREVERTICES twice.Aapo Tahkola2006-02-281-1/+0
|
* Add all pci ids known by ddx to radeon dri driver. Remove the entries not ↵Roland Scheidegger2006-02-252-41/+137
| | | | known by ddx (probably secondary ids, non-existant cards and similar). Add rs400 to the family enum, and configure the rv410 like a 2 quad chip (?)
* Reinstate vertex format after a rasterization fallback for both r200 and ↵Roland Scheidegger2006-02-161-0/+3
| | | | radeon driver when a tcl fallback is active, fixes a blender issue with non-tcl hw (bug #5601)