summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-18Attempt to fix libGL on FreeBSD, where the library was being built without anyEric Anholt
dependencies, breaking builds of third-party software.
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-17added some header files to DRI_FILES (Donnie Berkholz)Brian Paul
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-12fix GLAPI/extern problem (bug 4757)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.
2005-10-08do not set format of the incoming vertices needed for fog_coord in the ↵Roland Scheidegger
generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.
2005-10-08remove code dealing with drm versions older than 1.3. The driver requires ↵Roland Scheidegger
(and requests) 1.3 since quite some time already to work at all.
2005-10-08change test for presence of accum bufferBrian Paul
2005-10-08Query/print GL_RED/GREEN/BLUE/ALPHA_BITSBrian Paul
2005-10-08Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul
etc. after calling glRenderBufferStorageEXT gave undefined results.
2005-10-07MATH_DEBUG changes from bug #4468.Brian Paul
2005-10-07Populate arb_fp_instruction negate field correctly.Keith Whitwell
2005-10-07Fix a number of point size attenuation problems.Brian Paul
Move size clamping into the rasterization function.
2005-10-05fix problems with some texgen modes by putting the chip into LOCAL_VIEWER ↵Roland Scheidegger
mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).
2005-10-05reverse accidentally commited part of last commit (makes it compile again...).Roland Scheidegger
2005-10-05enable point sizes larger than 1 (for aliased points only) by using the hw ↵Roland Scheidegger
point sprite primitive.
2005-10-05fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)Brian Paul
2005-10-05fix typo in radeon_maos_arrays.c from last commit (code currently unused, ↵Roland Scheidegger
that path is compile-tested only).
2005-10-05remove unneeded parameter from radeonUploadTexMatrix.Roland Scheidegger
2005-10-05Remove the tcl fallback for texture rectangle (by manipulating the texture ↵Roland Scheidegger
matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.
2005-10-05Remove _IsPowerOfTwo from gl_texture_object, not really needed.Brian Paul
2005-10-05s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul
2005-10-05added GL_INVALID_FRAMEBUFFER_OPERATION_EXT to gluErrorString()Brian Paul
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-10-04check if deleting currently bound frame/renderbuffer objectBrian Paul
2005-10-04glBindTexture changes, new assertionsBrian Paul
2005-10-04fix glIsRender/FramebufferEXT() assertionsBrian Paul
2005-10-04fix behaviour of glIsFrame/Renderbuffer()Brian Paul
2005-10-04Use Visual.depthBits rather than Renderbuffer::DepthBits for depth bufferBrian Paul
operations.
2005-10-04change initialization of renderbuffer DepthBitsBrian Paul
2005-10-03Bug #1155: Define IEEE_ONE on Super-H as well.Adam Jackson