summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2005-10-24In the last commit I added in a fatal error on unknown base formats so IEric Anholt
wouldn't get confused when adding support for new formats. However, it resulted in dying in texenv instead of drawing something undefined for GL_DECAL. Do what GLcore apparently does and just pass the fragment through.
2005-10-24Fix and enable GL_MESA_ycbcr_texture. Looks fine with yuvrect. I'm slightlyEric Anholt
concerned that TEXEL_YUV422 looks like TEXEL_YVU422 and TEXEL_VUY422 looks like TEXEL_VYU422 in yuvrect, but I'm happy enough for now.
2005-10-24Add support for GL_EXT_secondary_color, tested with seccolor test.Eric Anholt
2005-10-24Turn off the AGP dispatch path yet again, as it seems to be broken (found withEric Anholt
tuxracer and the upcoming support for secondary color).
2005-10-24fragment program writing to result.depth.z was brokenBrian Paul
2005-10-24Add RV350 AQ chip. (popolon at popolon dot org)Adam Jackson
2005-10-24Since we memcpy texture data synchronously to the card, idle the engine beforeEric Anholt
we start copying. I haven't seen it go wrong before, but I'm pretty sure this fix is correct.
2005-10-24- Add a few more hardware internal formats that are supported. Some remainingEric Anholt
ones require custom texstore, so they aren't done yet. - Add YCBCR support commented out, since the yuvsquare test didn't work with just the bits I've added. - Add the no-compression GL_ARB_texture_compression support. - Add the driconf texture depth option and try to respect it.
2005-10-24Fix the GL_BLEND case (and remove the fallback associated with it) by convertingEric Anholt
the float values to bytes before packing them. Tested with texenv.
2005-10-24Fix texenv by moving a misplaced check for being in fallback (should cover onlyEric Anholt
render state, not texture state). While here, move a SIS_FIREVERTICES to a more appropriate location, though it was harmless.
2005-10-24Add support for GL_ARB_texture_border_clamp and GL_ARB_texture_mirrored_repeat,Eric Anholt
tested using texwrap, fixing the sourcing of border constant values (use the bytes, not the floats!). Remove the fallback on GL_CLAMP_TO_EDGE, which acts properly, and add a note to GL_CLAMP about nonconformance (whcih is what the fallback for CLAMP_TO_EDGE was probably targeting).
2005-10-24Fix a typo in a fallback string.Eric Anholt
2005-10-24Add support for GL_EXT_stencil_wrap by guessing that the skip of two values inEric Anholt
the register header was meaningful. It turns out those were the proper values for the plain INCR/DECR ops, while what we were using as INCR/DECR were the _WRAP versions. Tested with stencil_wrap (didn't expose normal/_WRAP swapping) and stencilwrap (exposed it nicely) tests. Props to idr for poking me about adding this.
2005-10-22disable yuv textures (GL_MESA_ycbcr_texture) on rv250 (hw bug, #2078). ↵Roland Scheidegger
Change the initialization to fail if an unknown pci id is detected, instead of accepting all values which are not r100-based radeons.
2005-10-21fix GLX server resize/crash when resizing windowsBrian Paul
2005-10-21check span.y >=0 (bug 4842)Brian Paul
2005-10-21fix broken SWZ instructionBrian Paul
2005-10-21fix broken KILBrian Paul
2005-10-21add the tile bits for offset, and unk bit 31 of sizeDave Airlie
2005-10-20restore FASTCALL stuffBrian Paul
2005-10-20fix another renderbuffer wrapping bugBrian Paul
2005-10-20Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul
2005-10-20Bump driver dates for the crasher fixes yesterday.Eric Anholt
2005-10-20 descrip.mms syntax correctionJouk Jansen
2005-10-20fixes for r300_tex.c from Aapo TahkolaDave Airlie
2005-10-19Make SiS a little more like other drivers: Add SIS_DEBUG (only option beingEric Anholt
"fall" so far) and make the fallback_force option be no_rast like other drivers. Incidentally, makes no_rast not crash (though it still fails to render).
2005-10-19Remove some long-dead code.Eric Anholt
2005-10-19Fix a missed merge for idr's dispatch changes: failure to do driInitExtensionsEric Anholt
in __driCreateNewScreen_20050727 resulted in crashing in dispatch.
2005-10-19updated for new mm.c, execmem.c filesBrian Paul
2005-10-19s/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/Brian Paul
2005-10-19Bug #4615: Fix the SiS driver for the renderbuffer changes. Previously, allEric Anholt
drirenderbuffers pointed at screen offset 0 and NULL. Instead, set up the front buffer at startup but leave the others for later, since sis allocates them on demand rather than using the static method of the other non-sis-descendent drivers. Some basic apps work, but fallbacks may be broken still.
2005-10-18Fix a missed merge for idr's dispatch changes: failure to do driInitExtensionsEric Anholt
in __driCreateNewScreen_20050727 resulted in crashing in dispatch. Rendering remains broken.
2005-10-18move _mesa_exec_malloc/free() up near other malloc/free prototypesBrian Paul
2005-10-18Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul
_mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
2005-10-18Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
2005-10-18on r200, don't emit fog coords when fog isn't actually enabled. Fix bug with ↵Roland Scheidegger
vtxfmt not causing a fallback when fog coords are active.
2005-10-17add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses ↵Roland Scheidegger
fallback) yet. May cause a tcl fallback if fog coord is used together with separate specular lighting. Fog factors are precomputed and then submitted instead of the raw coords (chip limitation, same as on r200).
2005-10-16fix some obvious typos in radeon_reg.h (only currently unused bits affected)Roland Scheidegger
2005-10-15enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵Roland Scheidegger
generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
2005-10-15fix two bugs wrt calculating max possible texture sizes for texture ↵Roland Scheidegger
rectangles/cube maps.
2005-10-13enable 3rd texture unit on radeon (default still 2 enabled units). Disable ↵Roland Scheidegger
some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)
2005-10-13make sure texture matrix is updated often enough with texture rectanglesRoland Scheidegger
2005-10-13fix potential bug when emitting elts with lots of componentsRoland Scheidegger
2005-10-12remove unused _mesa_log2() (bug 4468)Brian Paul
2005-10-12change includes (bug 4468)Brian Paul
2005-10-11Minor driver cleanup. Remove unnecessery/unneded ↵Roland Scheidegger
radeon/r200AllocDmaRegionVerts function. No longer compile the radeon_compat stuff which was for drm 1.1 compatibility presumably but unused since about forever into the driver.
2005-10-11ifdef out some code to make glapi.c linkable in libglx.so (on theIan Romanick
server). This isn't strictly needed yet, but it doesn't hurt anything either. However, the patches for fd.o bug #2996 require this to build.
2005-10-11check for PIXMAP in clip routine (SF bug 1323215)Brian Paul
2005-10-10fixed constant fogcoord bug (#4729)Brian Paul
2005-10-10Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.Ian Romanick
Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.