summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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
2005-10-03disable a warningBrian Paul
2005-10-03added a few calls to _mesa_update_framebuffer_visual()Brian Paul
2005-10-03finish up some missing codeBrian Paul
2005-10-03Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". ThisIan Romanick
signals to the script (glX_proto_size.py) that generates the server-side size functions that a handcoded query is needed to determine the data size. Also do s/FOG_COORD_SOURCE/FOG_COORD_SRC/. When initializing the count in glx_enum::__init__, cast the local property to int. Thanks to Python's dynamic typing, if this isn't done the type of stored count will be a string instead of an int.
2005-10-03Remove the non-existant --get-alias-set option from the help text.Ian Romanick
Update printPixelFunction (which is only used to generate code for the server-side) to use the correct method for obtaining the dimensions of the image parameter to a function. Only use byteswap.h when building generated code on Linux. Elsewhere use the (horrible!) macros from X11/misc.h. Make sure that enums associated with the generic "Get" function get applied to GetIntegerv, GetBooleanv, GetFloatv, and GetDoublev.
2005-10-01check for GL_DEPTH_STENCIL_EXTBrian Paul
2005-10-01plug in _mesa_texstore_z24_s8()Brian Paul
2005-10-01added _mesa_texstore_z24_s8()Brian Paul