summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-19fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertionBrian Paul
2006-10-19Fix nonportable pointer+unsigned arithmetic. Use pointer+int.Michal Krol
2006-10-18added clamp_colors(), updated assertionsBrian Paul
2006-10-18minor re-org, doxygen commentsBrian Paul
2006-10-18Changed install filenames to libGL* and libOSMesa* so things work on DarwinBrian Paul
where GL_LIB_NAME = libGL.dylib but the other library name is libGL.1.dylib Unlike other platforms, the version number is in the middle of the name, not at the end. See bug 8671
2006-10-18Enable GLX_SGI_make_current_read for radeon.Ian Romanick
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).
2006-10-18Don't use x/y/w/h params given to Clear().Brian Paul
2006-10-18Want to stop passing x/y/width/height to Clear() function.Brian Paul
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.
2006-10-18Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul
Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
2006-10-18glDrawPixels, line clipping bug fixesBrian Paul
2006-10-18Fix broken line clipping.Brian Paul
When both ends of the line were clipped, we were using the new v0 instead of the original v0 when computing the location of the second vertex. Thus, the second vertex's position was incorrect. Thanks to Heath Feather for finding a test case.
2006-10-18Fix a dangerous use of ASSERT in an else-clause not enclosed in braces.Brian Paul
We've been lucky if this hasn't been causing line rendering bugs.
2006-10-17Always convert colors to float before running a fragment shader/program.Brian Paul
2006-10-17fix fog color bugBrian Paul
2006-10-17Move struct atifs_machine into s_atifragshader.cBrian Paul
Add support for runtime colorbuffer types.
2006-10-17Seperate interpolate_colors() and interpolate_specular().Brian Paul
Fix bugs in apply_aa_coverage().
2006-10-17apply_aa_coverage() for ubyte/ushort/floatBrian Paul
2006-10-17new assertions - one of which is currently failing with arbfslight.cBrian Paul
2006-10-17remove obsolete intelBufferSize(), bump driver dateBrian Paul
2006-10-17Remove get_buffer_size()Brian Paul
Always check window size in XMesaMakeCurrent() in case glViewport is not called.
2006-10-17Lots of fixes/changes to select color depth at runtime.Brian Paul
2006-10-17check if ctx->Driver.GetBufferSize==NULL and no-opBrian Paul
2006-10-17include x86-64.h to silence warningBrian Paul
2006-10-17Fix CHAN_BITS=32 issues.Brian Paul
Save/restore array->ChanType in case colors are converted.
2006-10-16Added -clip option to test glCopyPixels beyond window bounds.Brian Paul
Clear dest window to black before copying. Use glWindowPos2iARB().
2006-10-16Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this ↵Brian Paul
may be temporary
2006-10-16Updates to intelWindowMoved():Brian Paul
Only need to call _mesa_resize_framebuffer() when we've detected a window size change. Set the drawFb->Initalized flag to GL_TRUE to avoid obsolete Driver.GetBufferSize/ResizeBuffer calls in the Mesa code.
2006-10-16Track the currently bound read drawable and make sure its info is upIan Romanick
to date.
2006-10-16Fix build when DEBUG is defined but DEBUG_MATH is not.Ian Romanick
A couple places attempted to call _math_test_all_*_functions when DEBUG was defined. These routines only exist when DEBUG_MATH is defined.
2006-10-16s/X86_SOURCES/ASM_SOURCES/ in ALL_SOURCES to try to fix make depend warnings ↵Brian Paul
(bug 8669)
2006-10-16Fix bug #8563.Ian Romanick
Fixes a GLX protocol problem when binding an indirect rendering context after a direct rendering context. In this case, the oldContetTag sent to the server should be None, but the currectContextTag stored in the direct rendering context (i.e., -1) was sent instead.
2006-10-16Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrastBrian Paul
module updates its state (CLIP_BIT) upon resizes. The driver could do this instead, but doing it here is safer.
2006-10-16remove some old code that could cause infinite recursionBrian Paul
2006-10-15allow >10 mipmap levels (patch by Benno Schulenberg) (bug 3130)Brian Paul
2006-10-15regenerated to get DRI_CONF_EXCESS_MIPMAP()Brian Paul
2006-10-15fix handling of textures with a base internal format that does not have all ↵Roland Scheidegger
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).
2006-10-15Added #if / #else / #endif around code related to framebuffer initializationBrian Paul
to describe what should be changed in the drivers.
2006-10-15updated comments, mark GetBufferSize() and ResizeBuffers() as obsoleteBrian Paul
2006-10-15minor clean-up: s/intel->driDrawable/dPriv/Brian Paul
2006-10-15Remove calls to _mesa_ResizeBuffersMESA() - generally replace with code toBrian Paul
check the current window size, then call _mesa_resize_framebuffer().
2006-10-15Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul
default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
2006-10-15Use endianness test function provided by mesa.Jerome Glisse
Use the _mesa_little_endian helper function insted of the MESA_BIG_ENDIAN flag. There is still place using this flag but we need to find how to submit 16bits elements on big endian computer.
2006-10-15Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul
This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
2006-10-15increate MaxTextureLevels to 11 (bug 3130)Brian Paul
2006-10-15check if files exist before installing (Thierry Reding)Brian Paul
2006-10-14allow specifying image size on cmd lineBrian Paul
2006-10-14Some code movement so that the gl_framebuffer is fully initialized beforeBrian Paul
calling _mesa_make_current() to avoid hitting the initialize_framebuffer_size() stuff in context.c
2006-10-14Big re-org of buffer size management.Brian Paul
All buffer resizes now handled by xmesa_check_and_update_buffer_size() which uses the _mesa_resize_framebuffer() function. Moved all low-level XImage/Pixmap resizing into xm_buffers.c file. Also, update lots of comments for Doxygen.
2006-10-14cut and paste error: s/Width/Height/Brian Paul
2006-10-14build fix: s/Table/TableUB/Brian Paul