Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Color clamping fixes. | Brian Paul | 2006-10-22 | 6 | -8/+52 |
| | |||||
* | move/improve comments, clean up code in a few places | Brian Paul | 2006-10-21 | 1 | -21/+16 |
| | |||||
* | fix another logic error in computing deferredTexture | Brian Paul | 2006-10-21 | 1 | -5/+9 |
| | |||||
* | For deferredTexture, need to check if the fragment program/shader writes | Brian Paul | 2006-10-21 | 1 | -6/+31 |
| | | | | the fragment Z. | ||||
* | move interpolate_varying() call | Brian Paul | 2006-10-21 | 1 | -4/+2 |
| | |||||
* | don't use params passed to Clear() | Brian Paul | 2006-10-21 | 1 | -2/+6 |
| | |||||
* | Move interpolate_texcoords() and interpolate_varying() calls into ↵ | Brian Paul | 2006-10-21 | 1 | -21/+18 |
| | | | | | | shade_texture_span(). Added some INLINE hints. | ||||
* | Consolidate some code into shade_texture_span(). | Brian Paul | 2006-10-19 | 1 | -84/+81 |
| | | | | Clean up logic for deferred texturing/shading. | ||||
* | fixed Fixed/Int bug | Brian Paul | 2006-10-19 | 1 | -2/+2 |
| | |||||
* | remove temp code | Brian Paul | 2006-10-19 | 1 | -22/+15 |
| | |||||
* | remove some debug/test changes | Brian Paul | 2006-10-19 | 1 | -2/+1 |
| | |||||
* | New bin/minstall script - a minimal replacement for 'install'. | Brian Paul | 2006-10-19 | 9 | -13/+97 |
| | | | | Correctly handles symlinks so we can get rid of the COPY_LIBS stuff. | ||||
* | fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertion | Brian Paul | 2006-10-19 | 1 | -1/+4 |
| | |||||
* | Fix nonportable pointer+unsigned arithmetic. Use pointer+int. | Michal Krol | 2006-10-19 | 1 | -25/+28 |
| | |||||
* | added clamp_colors(), updated assertions | Brian Paul | 2006-10-18 | 1 | -21/+33 |
| | |||||
* | minor re-org, doxygen comments | Brian Paul | 2006-10-18 | 1 | -11/+13 |
| | |||||
* | Changed install filenames to libGL* and libOSMesa* so things work on Darwin | Brian Paul | 2006-10-18 | 1 | -5/+5 |
| | | | | | | | 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 | ||||
* | Enable GLX_SGI_make_current_read for radeon. | Ian Romanick | 2006-10-18 | 5 | -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). | ||||
* | Don't use x/y/w/h params given to Clear(). | Brian Paul | 2006-10-18 | 2 | -160/+59 |
| | |||||
* | Want to stop passing x/y/width/height to Clear() function. | Brian Paul | 2006-10-18 | 15 | -122/+168 |
| | | | | | | | 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. | ||||
* | Don't pass x/y/width/height to ctx->Driver.Accum(). | Brian Paul | 2006-10-18 | 4 | -15/+14 |
| | | | | | Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear(). | ||||
* | glDrawPixels, line clipping bug fixes | Brian Paul | 2006-10-18 | 1 | -0/+2 |
| | |||||
* | Fix broken line clipping. | Brian Paul | 2006-10-18 | 1 | -3/+8 |
| | | | | | | | 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. | ||||
* | Fix a dangerous use of ASSERT in an else-clause not enclosed in braces. | Brian Paul | 2006-10-18 | 1 | -2/+4 |
| | | | | We've been lucky if this hasn't been causing line rendering bugs. | ||||
* | Always convert colors to float before running a fragment shader/program. | Brian Paul | 2006-10-17 | 4 | -145/+61 |
| | |||||
* | fix fog color bug | Brian Paul | 2006-10-17 | 1 | -3/+18 |
| | |||||
* | Move struct atifs_machine into s_atifragshader.c | Brian Paul | 2006-10-17 | 3 | -55/+129 |
| | | | | Add support for runtime colorbuffer types. | ||||
* | Seperate interpolate_colors() and interpolate_specular(). | Brian Paul | 2006-10-17 | 1 | -174/+192 |
| | | | | Fix bugs in apply_aa_coverage(). | ||||
* | apply_aa_coverage() for ubyte/ushort/float | Brian Paul | 2006-10-17 | 1 | -6/+32 |
| | |||||
* | new assertions - one of which is currently failing with arbfslight.c | Brian Paul | 2006-10-17 | 1 | -0/+4 |
| | |||||
* | remove obsolete intelBufferSize(), bump driver date | Brian Paul | 2006-10-17 | 1 | -23/+2 |
| | |||||
* | Remove get_buffer_size() | Brian Paul | 2006-10-17 | 2 | -15/+4 |
| | | | | | Always check window size in XMesaMakeCurrent() in case glViewport is not called. | ||||
* | Lots of fixes/changes to select color depth at runtime. | Brian Paul | 2006-10-17 | 1 | -109/+100 |
| | |||||
* | check if ctx->Driver.GetBufferSize==NULL and no-op | Brian Paul | 2006-10-17 | 2 | -5/+10 |
| | |||||
* | include x86-64.h to silence warning | Brian Paul | 2006-10-17 | 1 | -1/+4 |
| | |||||
* | Fix CHAN_BITS=32 issues. | Brian Paul | 2006-10-17 | 1 | -0/+7 |
| | | | | Save/restore array->ChanType in case colors are converted. | ||||
* | Added -clip option to test glCopyPixels beyond window bounds. | Brian Paul | 2006-10-16 | 1 | -18/+17 |
| | | | | | Clear dest window to black before copying. Use glWindowPos2iARB(). | ||||
* | Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this ↵ | Brian Paul | 2006-10-16 | 1 | -0/+1 |
| | | | | may be temporary | ||||
* | Updates to intelWindowMoved(): | Brian Paul | 2006-10-16 | 1 | -6/+8 |
| | | | | | | | 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. | ||||
* | Track the currently bound read drawable and make sure its info is up | Ian Romanick | 2006-10-16 | 2 | -2/+15 |
| | | | | to date. | ||||
* | Fix build when DEBUG is defined but DEBUG_MATH is not. | Ian Romanick | 2006-10-16 | 2 | -3/+3 |
| | | | | | | A couple places attempted to call _math_test_all_*_functions when DEBUG was defined. These routines only exist when DEBUG_MATH is defined. | ||||
* | s/X86_SOURCES/ASM_SOURCES/ in ALL_SOURCES to try to fix make depend warnings ↵ | Brian Paul | 2006-10-16 | 1 | -1/+1 |
| | | | | (bug 8669) | ||||
* | Fix bug #8563. | Ian Romanick | 2006-10-16 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrast | Brian Paul | 2006-10-16 | 1 | -2/+7 |
| | | | | | module updates its state (CLIP_BIT) upon resizes. The driver could do this instead, but doing it here is safer. | ||||
* | remove some old code that could cause infinite recursion | Brian Paul | 2006-10-16 | 1 | -7/+0 |
| | |||||
* | allow >10 mipmap levels (patch by Benno Schulenberg) (bug 3130) | Brian Paul | 2006-10-15 | 4 | -19/+25 |
| | |||||
* | regenerated to get DRI_CONF_EXCESS_MIPMAP() | Brian Paul | 2006-10-15 | 1 | -0/+5 |
| | |||||
* | fix handling of textures with a base internal format that does not have all ↵ | Roland Scheidegger | 2006-10-15 | 2 | -11/+30 |
| | | | | 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). | ||||
* | Added #if / #else / #endif around code related to framebuffer initialization | Brian Paul | 2006-10-15 | 1 | -0/+20 |
| | | | | to describe what should be changed in the drivers. | ||||
* | updated comments, mark GetBufferSize() and ResizeBuffers() as obsolete | Brian Paul | 2006-10-15 | 2 | -11/+20 |
| |