summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-16Don't use _mesa_swizzle_ubyte_image if all three texture formatsFelix Kuehling
involved in _mesa_textore_argb/rgba8888 (source, base-internal, destination) differ. _mesa_swizzle_ubyte_image knows only about two of the formats and can't handle the case that all three are different correctly. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3111.
2005-05-16remove -ansi -pedantic -D_POSIX_C_SOURCE=199309L from CXXFLAGSBrian Paul
2005-05-16Implement query of surface type.Jon Smirl
2005-05-16Add error about write permission to fbdev attribsJon Smirl
2005-05-16another GLX / XCB patch (Jeremy Kolb)Brian Paul
2005-05-16Deal better with indirection and indirection accounting, developedKeith Whitwell
with Ben Skeggs.
2005-05-16Apply r200 tcl fix to radeon - compiles but untested.Keith Whitwell
2005-05-16EGL_MESA_copy_context stuffBrian Paul
2005-05-16use EGLint instead of unsigned long for eglCopyContextMESA, added commentsBrian Paul
2005-05-16separate ext strings with a spaceBrian Paul
2005-05-16s/Atrib/Attrib/, set extension enable flagsBrian Paul
2005-05-16added boolean extension flags to _EGLDriverBrian Paul
2005-05-16restore _eglSetConfigAttrib (for now), added prototype ↵Brian Paul
_eglConfigToContextModesRec()
2005-05-16define M_E if neededBrian Paul
2005-05-16make _eglSetConfigAtrib() a static function, and rename itBrian Paul
2005-05-16remove MESA suffix from _eglInitScreenSurface, use swAlpha valueBrian Paul
2005-05-16minor tweaksBrian Paul
2005-05-15fix GetRow parameters (Nicolai Haehnle)Brian Paul
2005-05-15A few egl patches needed for glitz, mainly config BITSJon Smirl
2005-05-14Make gleans polyoffset test happy.Aapo Tahkola
2005-05-14Dont assume GLbooleans are ones when true.Aapo Tahkola
2005-05-14Cleanup blend state generation.Nicolai Haehnle
Do not set the NO_SEPARATE bit, as it causes problems with some combinations of blend functions.
2005-05-14Add empty placeholder for eglCopyContextMESAJon Smirl
2005-05-14The kernel doesn't like command buffers over 64KB, so we don'tNicolai Haehnle
allocate buffers bigger than that.
2005-05-14Fix compiler warning about missing parameter listJon Smirl
2005-05-14Remove dead span functions code.Nicolai Haehnle
2005-05-14Fix span functions for stencil buffer access.Nicolai Haehnle
2005-05-14Don't print debug messages unless the user explicitly requested themNicolai Haehnle
using the RADEON_DEBUG environment variable.
2005-05-14Add forgotten demo2.cJon Smirl
VS: ----------------------------------------------------------------------
2005-05-14Fix compile error in demo egl driverJon Smirl
2005-05-14Forgot to add fb_egl.cJon Smirl
2005-05-13Make software fallbacks work again:Nicolai Haehnle
We need to plug in swsetup functions into the TNL module's callbacks. Also, resize the framebuffer size when the drawable size changes.
2005-05-13Remove quiescence sequence from r300ClearBuffer.Nicolai Haehnle
The DRM is responsible for emitting this quiescence sequence when appropriate.
2005-05-13First attempt at getting egl support up on dumb framebuffer.Jon Smirl
Seems to be mostly working. Not all of egl API is implemented.
2005-05-13Patch from Jeff Smith:Nicolai Haehnle
The type of vertex data is opaque in the emit_* functions, so use GLvoid* instead of char*. This also eliminates some compiler warnings.
2005-05-13Patch from Jeff Smith:Nicolai Haehnle
Fix a WARN_ONCE format string.
2005-05-13Remove MAX_VISUAL limitations of 100. If running dual head this canAlan Hourihane
be easily consumed. There are no limitations now and the VisualTable is realloced when necessary.
2005-05-13Calculate render inputs for tcl stage correctly (hint: they aren't theKeith Whitwell
same as tnl->render_inputs). Fixes recent tcl problems.
2005-05-12Remove some unused structure fields, add some comments, and ifdef out someIan Romanick
dead code. This is just some clean-up work which should not have any functional impact.
2005-05-12new MESA_DEBUG option: disassemKeith Whitwell
2005-05-12Rein in debug slightlyKeith Whitwell
2005-05-12Turn disassem off (oops).Keith Whitwell
2005-05-12Add check for mask == NULL to the one routine missing it.Keith Whitwell
2005-05-12When lighting is enabled, but no lights are enabled, the scenecolorKeith Whitwell
becomes the result of lighting. When lighting is disabled, pass-through incoming color value. Likewise, pass through incoming texture values. (Based on patch by Aapo Tahkola) Add compile-time configuration to switch between DP4 and MUL/MAD for matrix-vector multiplications.
2005-05-12fix warnings in r300_texstate.c (Jeff Smith)Ben Skeggs
2005-05-11The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers toKarl Schultz
functions, not for functions that return pointers. Restore protoype for glGetString back to its correct form.
2005-05-11VBOs.Aapo Tahkola
2005-05-11Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell
fog.
2005-05-11Previously in TXP and TEX instructions, lambda was passed toKeith Whitwell
fetch_texel as zero, but I believe this is incorrect. The spec uses a pseudocode function: vec4 TextureSample(float s, float t, float r, float lodBias, int texImageUnit, enum texTarget); to specify the behaviour of TEX, TXB and TXP instructions. For TEX and TXP, lodBias is passed as zero, TXB is passed with texcoord[4]. In our code we have static void fetch_texel( GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4] ) and were passing zero and a biased lambda value respectively. The difference is that TextureSample() would add in the lambda term itself, while in our code the caller is expected to do this. Thus in the TEX and TXP cases, it is necessary to pass an unbiased lambda value for things to work out correctly.
2005-05-11Use _mesa_memset rather than memsetKeith Whitwell