Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-08-17 | Revert the move of lost_context setting to UNLOCK_HARDWARE that was done in the | Eric Anholt | |
last commit. I've been convinced by keithw that it's sufficient, and put a note in the code about it. Close another race for state in the Clear functions. I made the situation worse in my last commit, but this should fix things. Might be a slight performance hit, which could be regained by splitting the R*_FIREVERTICES calls in r*Clear up so that the EmitState doesn't happen in a separate new cmdbuf. | |||
2004-08-17 | Close some races with locking on R100 and R200 which could manifest as rendering | Eric Anholt | |
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%). | |||
2004-08-16 | Remove unused HAVE_INDEX define. | Eric Anholt | |
2004-08-03 | fix incorrect overflow detection when emitting R200_SS_MAT_1_SHININESS | Roland Scheidegger | |
2004-07-31 | xorg-r200-uninitialized-variable-used.patch from Redhat xorg | Dave Airlie | |
2004-07-04 | Patch removes _SOLO definition needed for mesa-solo. mesa-solo | Jon Smirl | |
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own. | |||
2004-07-01 | Rename the various function types in t_context.h to include a tnl_ prefix. | Keith Whitwell | |
2004-06-28 | add missing R200_RB3D_BLENDCOLOR to r200/radeon_sanity.c | Roland Scheidegger | |
2004-06-19 | Big-endian texture fixes from Michel Dänzer. | Brian Paul | |
2004-06-17 | use I8 internal format for GL_INTENSITY, GL_ALPHA and GL_LUMINANCE texture ↵ | Roland Scheidegger | |
formats. Fix various small bugs with tex env combine mode GL_DOT3_RGB(A)/GL_DOT3_RGB(A)_EXT | |||
2004-06-04 | Replace 'Display *' with '__DRInativeDisplay *'. | Ian Romanick | |
2004-06-03 | fix minor signedness issue in assertion | Roland Scheidegger | |
2004-06-03 | Remove fill_in_modes and use driFillInModes instead. | Ian Romanick | |
2004-06-03 | Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd out | Jon Smirl | |
2004-06-02 | driCheckDriDdxDrmVersion uses a function that is not available to | Ian Romanick | |
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. | |||
2004-06-02 | Removed need for sarea.h, various touch ups to get rid of type mismatches. | Jon Smirl | |
2004-06-02 | add support for more than 2 texture units (max 6, default 4). use hang ↵ | Roland Scheidegger | |
workarounds only for r200, not derivatives. | |||
2004-06-02 | Replace drmHandle, drmContext, drmDrawable, drmMagic and related types with | Ian Romanick | |
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t. | |||
2004-06-01 | Fix dumb mistake from a previous commit. __driCreateScreen is now | Ian Romanick | |
properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'. | |||
2004-06-01 | Convert 'Display *' to '__DRInativeDisplay *'. Only portions of the | Ian Romanick | |
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'. | |||
2004-05-28 | remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and ↵ | Roland Scheidegger | |
unused R200_OLD_PACKET macro | |||
2004-05-27 | Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common. | Ian Romanick | |
2004-05-27 | change some explicit references to texture units 0/1 to unit < ↵ | Roland Scheidegger | |
MaxTextureUnits (Andreas Stenglein, Ronny Vindenes) | |||
2004-05-27 | Convert all calls using _glapi_Dispatch to use the new GL_CALL macro. | Ian Romanick | |
2004-05-25 | Added a couple fog coordinate related register defines. | Ian Romanick | |
2004-05-21 | fix constant texture environment color setup for texture units > 0 | Roland Scheidegger | |
2004-05-20 | Add support for GL_EXT_blend_[func|equation]_separate. Fix ↵ | Roland Scheidegger | |
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). | |||
2004-05-20 | add check if drm is new enough for packet R200_EMIT_RB3D_BLENDCOLOR | Roland Scheidegger | |
2004-05-20 | add missing R200_RB3D_BLENDCOLOR register | Roland Scheidegger | |
2004-05-14 | Fix GL_MIN and GL_MAX blend equations (set blend factors accordingly). Fix ↵ | Roland Scheidegger | |
errors when blending is disabled (set blend equation and function to default values). | |||
2004-05-12 | obsolete in favor of regular Makefiles | Brian Paul | |
2004-05-05 | Remove a debug printf that should not have been left in. | Ian Romanick | |
2004-05-05 | Added support for the 3rd texture coordinate for cubemaps and 3D | Ian Romanick | |
textures. progs/demos/cubemap and progs/demos/stex3d seem to work correctly at all tcl_mode settings. x86 / SSE codegen is currently disabled. | |||
2004-05-04 | add r200 x86 sources | Dave Airlie | |
2004-04-29 | Allow *_dri.so to build in Mesa tree with the 'linux-dri' target. | Keith Whitwell | |
2004-04-27 | Use the dispatch table directly instead of calling GL functions. | Ian Romanick | |
2004-04-27 | Remove include of texutil.h to get build working. | Ian Romanick | |
2004-04-26 | bring over build fixes from stable branch | Alan Hourihane | |
2004-04-23 | Convert R200 driver to use the t_vertex interface. | Ian Romanick | |
2004-04-22 | New glTexImage code. | Brian Paul | |
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. | |||
2004-04-14 | disable under _SOLO build | Alan Hourihane | |
2004-04-13 | fix the usage of GLX_MESA_allocate_memory | Alan Hourihane | |
2004-04-13 | Add DRM_SOURCE_PATH to make system. | Jon Smirl | |
Needed for linux-solo to build | |||
2004-04-08 | lots of Makefile updates for new build system | Brian Paul | |
2004-03-26 | New Makefile system | Brian Paul | |
2004-03-26 | Make sure drivers don't dereference a NULL pointer if | Ian Romanick | |
__driUtilCreateNewScreen returns NULL. | |||
2004-03-21 | Implemented support for software-based AUX color buffers. | Brian Paul | |
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc. | |||
2004-03-18 | Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time. | Ian Romanick | |
2004-03-17 | Convert all uses of CARD32 and CARD8 to int32_t and int8_t. | Ian Romanick | |
2004-03-12 | These files are redundant now. Definitions come from DRM files. | Jon Smirl | |