summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
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-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-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-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-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
2006-10-14assorted clean-upsBrian Paul
2006-10-13implement ARB_point_parameters and ARB_point_sprite on r200. The code is ↵Roland Scheidegger
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.
2006-10-13remove needless conditionBrian Paul
2006-10-13Consolidate, move, fix code related to color index and stencil image transferBrian Paul
operations (shift, offset, table lookup, etc).
2006-10-13Fix dumb build errors.Ian Romanick
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.
2006-10-13In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul
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.
2006-10-13s/GLuint/GLbitfield/Brian Paul
2006-10-13s/GL_FALSE/0x0/Brian Paul
2006-10-13removed obsolete _mesa_pack_rgba_span_chan()Brian Paul
2006-10-13include glapi.h to fix broken buildBrian Paul
2006-10-13Upload of interleaved arrays currently assumes that position is theKeith Whitwell
first element in the interleaved group. Add a test to catch cases where this isn't true and use per-array uploads instead. Fixes compiz glitches on x64.
2006-10-13Make sure instructions are zero'd out before use.Keith Whitwell