Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | minor clean-up: s/intel->driDrawable/dPriv/ | Brian Paul | 2006-10-15 | 1 | -1/+1 |
| | |||||
* | Remove calls to _mesa_ResizeBuffersMESA() - generally replace with code to | Brian Paul | 2006-10-15 | 6 | -12/+72 |
| | | | | check the current window size, then call _mesa_resize_framebuffer(). | ||||
* | Remove a bunch of "ctx->Driver.function = _swrast_Function" lines since | Brian Paul | 2006-10-15 | 20 | -252/+15 |
| | | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions(). | ||||
* | Use endianness test function provided by mesa. | Jerome Glisse | 2006-10-15 | 2 | -9/+6 |
| | | | | | | | 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. | ||||
* | Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines. | Brian Paul | 2006-10-15 | 18 | -19/+0 |
| | | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that. | ||||
* | increate MaxTextureLevels to 11 (bug 3130) | Brian Paul | 2006-10-15 | 2 | -2/+9 |
| | |||||
* | check if files exist before installing (Thierry Reding) | Brian Paul | 2006-10-15 | 1 | -2/+7 |
| | |||||
* | allow specifying image size on cmd line | Brian Paul | 2006-10-14 | 1 | -19/+26 |
| | |||||
* | Some code movement so that the gl_framebuffer is fully initialized before | Brian Paul | 2006-10-14 | 1 | -5/+9 |
| | | | | | calling _mesa_make_current() to avoid hitting the initialize_framebuffer_size() stuff in context.c | ||||
* | Big re-org of buffer size management. | Brian Paul | 2006-10-14 | 4 | -491/+526 |
| | | | | | | | 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. | ||||
* | cut and paste error: s/Width/Height/ | Brian Paul | 2006-10-14 | 1 | -1/+1 |
| | |||||
* | build fix: s/Table/TableUB/ | Brian Paul | 2006-10-14 | 1 | -1/+1 |
| | |||||
* | assorted clean-ups | Brian Paul | 2006-10-14 | 1 | -56/+38 |
| | |||||
* | implement ARB_point_parameters and ARB_point_sprite on r200. The code is ↵ | Roland Scheidegger | 2006-10-13 | 10 | -18/+238 |
| | | | | 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. | ||||
* | remove needless condition | Brian Paul | 2006-10-13 | 1 | -3/+1 |
| | |||||
* | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | 2006-10-13 | 7 | -186/+135 |
| | | | | operations (shift, offset, table lookup, etc). | ||||
* | Fix dumb build errors. | Ian Romanick | 2006-10-13 | 2 | -1/+2 |
| | | | | | | I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is required in some places because _glapi_Dispatch is declared there, but _glapi_tls_Dispatch is declared in glthread.h. | ||||
* | In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of | Brian Paul | 2006-10-13 | 7 | -48/+37 |
| | | | | | | | incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified. | ||||
* | s/GLuint/GLbitfield/ | Brian Paul | 2006-10-13 | 5 | -17/+17 |
| | |||||
* | s/GL_FALSE/0x0/ | Brian Paul | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | removed obsolete _mesa_pack_rgba_span_chan() | Brian Paul | 2006-10-13 | 2 | -80/+0 |
| |