summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
Commit message (Collapse)AuthorAgeFilesLines
* Close some races with locking on R100 and R200 which could manifest as renderingEric Anholt2004-08-178-12/+53
| | | | | | | | | | | | | | | | | | | | errors on r100 and rendering errors and hangs on r200 (same for R100 without OLD_PACKETS). If a command buffer filled after some state (EmitState or a VBPNTR write) was emitted, the lock was grabbed, the buffer flushed, a new buffer prepared, and the lock dropped. Another client could come in, set its own state as part of rendering, and when the first client flushed the rendering commands depending on the previous state, it got the 2nd client's state. This is fixed by checking for enough space before beginning a set of state emits and rendering, and flushing the buffer first if so. This guarantees that the buffer won't wrap. Also, move the "lost_context = 1" from the end of cmdbuf flushing to UNLOCK_HARDWARE for clarity (at a minimum) that any time the lock is dropped, state may get overwritten. We don't have enough information at the point of the LOCK_HARDWARE to reset our state to the last UNLOCK_HARDWARE point in the case that we did lose our context, but saving the information to rebuild that state may be a useful optimization (ipers data suggests up to 5%).
* Remove unused HAVE_INDEX define.Eric Anholt2004-08-161-1/+0
|
* fix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESSRoland Scheidegger2004-08-031-1/+1
|
* xorg-r200-uninitialized-variable-used.patch from Redhat xorgDave Airlie2004-07-311-1/+2
|
* Patch removes _SOLO definition needed for mesa-solo. mesa-soloJon Smirl2004-07-044-22/+3
| | | | | uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
* Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell2004-07-011-4/+4
|
* add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.cRoland Scheidegger2004-06-281-0/+5
|
* Big-endian texture fixes from Michel Dänzer.Brian Paul2004-06-192-20/+32
|
* use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture ↵Roland Scheidegger2004-06-172-20/+15
| | | | formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT
* Replace 'Display *' with '__DRInativeDisplay *'.Ian Romanick2004-06-042-6/+6
|
* fix minor signedness issue in assertionRoland Scheidegger2004-06-031-2/+2
|
* Remove fill_in_modes and use driFillInModes instead.Ian Romanick2004-06-031-82/+29
|
* Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl2004-06-031-2/+0
|
* driCheckDriDdxDrmVersion uses a function that is not available toIan Romanick2004-06-021-3/+11
| | | | | | | | | | | | | | | drivers when DRI_NEW_INTERFACE_ONLY is defined. #ifndef it away in that situation. Add a new function, driCheckDriDdxDrmVersion2, that is passed in the version information that is already supplied to __driCreateNewScreen. Part of the reason that information is supplied to __driCreateNewScreen is so that the driver doesn't have to make those calls to get it! Modify all drivers that support the new interface to use the new function instead of the old. As soon as all drivers support the new interface, driCheckDriDdxDrmVersion can be removed.
* Removed need for sarea.h, various touch ups to get rid of type mismatches.Jon Smirl2004-06-021-2/+2
|
* add support for more than 2 texture units (max 6, default 4). use hang ↵Roland Scheidegger2004-06-0213-145/+292
| | | | workarounds only for r200, not derivatives.
* Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick2004-06-022-2/+2
| | | | drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
* Fix dumb mistake from a previous commit. __driCreateScreen is nowIan Romanick2004-06-011-1/+3
| | | | properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'.
* Convert 'Display *' to '__DRInativeDisplay *'. Only portions of theIan Romanick2004-06-011-2/+2
| | | | | | | | interface that are not *strictly* part of the old interface were changed. Replace GetDrawableInfo type (dri_util.h) with PFNGLXGETDRAWABLEINFOPROC (dri_interface.h). Wrap __driCreateScreen (in drivers that use the new interface) with '#ifndef DRI_NEW_INTERFACE_ONLY'.
* remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and ↵Roland Scheidegger2004-05-284-717/+4
| | | | unused R200_OLD_PACKET macro
* Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick2004-05-271-1/+3
|
* change some explicit references to texture units 0/1 to unit < ↵Roland Scheidegger2004-05-274-27/+21
| | | | MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
* Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.Ian Romanick2004-05-271-29/+36
|
* Added a couple fog coordinate related register defines.Ian Romanick2004-05-251-0/+2
|
* fix constant texture environment color setup for texture units > 0Roland Scheidegger2004-05-211-48/+24
|
* Add support for GL_EXT_blend_[func|equation]_separate. Fix ↵Roland Scheidegger2004-05-204-17/+115
| | | | GL_EXT_blend_color. Remove support for GL_EXT_blend_logic_op (cannot be supported together with blend_equation_separate unless a software fallback would be added).
* add check if drm is new enough for packet R200_EMIT_RB3D_BLENDCOLORRoland Scheidegger2004-05-202-0/+5
|
* add missing R200_RB3D_BLENDCOLOR registerRoland Scheidegger2004-05-201-0/+1
|
* Fix GL_MIN and GL_MAX blend equations (set blend factors accordingly). Fix ↵Roland Scheidegger2004-05-143-162/+135
| | | | errors when blending is disabled (set blend equation and function to default values).
* obsolete in favor of regular MakefilesBrian Paul2004-05-121-144/+0
|
* Remove a debug printf that should not have been left in.Ian Romanick2004-05-051-3/+0
|
* Added support for the 3rd texture coordinate for cubemaps and 3DIan Romanick2004-05-058-184/+294
| | | | | | textures. progs/demos/cubemap and progs/demos/stex3d seem to work correctly at all tcl_mode settings. x86 / SSE codegen is currently disabled.
* add r200 x86 sourcesDave Airlie2004-05-041-1/+1
|
* Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.Keith Whitwell2004-04-293-88/+7
|
* Use the dispatch table directly instead of calling GL functions.Ian Romanick2004-04-271-32/+38
|
* Remove include of texutil.h to get build working.Ian Romanick2004-04-272-2/+0
|
* bring over build fixes from stable branchAlan Hourihane2004-04-263-1/+5
|
* Convert R200 driver to use the t_vertex interface.Ian Romanick2004-04-233-552/+256
|
* New glTexImage code.Brian Paul2004-04-221-8/+3
| | | | | | | | The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
* disable under _SOLO buildAlan Hourihane2004-04-142-1/+4
|
* fix the usage of GLX_MESA_allocate_memoryAlan Hourihane2004-04-132-6/+6
|
* Add DRM_SOURCE_PATH to make system.Jon Smirl2004-04-131-1/+1
| | | | Needed for linux-solo to build
* lots of Makefile updates for new build systemBrian Paul2004-04-081-48/+49
|
* New Makefile systemBrian Paul2004-03-261-0/+141
|
* Make sure drivers don't dereference a NULL pointer ifIan Romanick2004-03-261-10/+10
| | | | __driUtilCreateNewScreen returns NULL.
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-213-6/+6
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.Ian Romanick2004-03-183-4/+4
|
* Convert all uses of CARD32 and CARD8 to int32_t and int8_t.Ian Romanick2004-03-174-5/+5
|
* These files are redundant now. Definitions come from DRM files.Jon Smirl2004-03-121-2/+0
|
* Adjustments to make everything use IOCTL/sarea defines in DRM insteadJon Smirl2004-03-1116-116/+121
| | | | of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h