summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* move _mesa_exec_malloc/free() up near other malloc/free prototypesBrian Paul2005-10-181-11/+8
|
* Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul2005-10-183-50/+134
| | | | | _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
* Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell2005-10-1811-7/+122
| | | | | executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
* on r200, don't emit fog coords when fog isn't actually enabled. Fix bug with ↵Roland Scheidegger2005-10-183-4/+7
| | | | vtxfmt not causing a fallback when fog coords are active.
* add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses ↵Roland Scheidegger2005-10-179-57/+215
| | | | 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).
* fix some obvious typos in radeon_reg.h (only currently unused bits affected)Roland Scheidegger2005-10-161-4/+4
|
* enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵Roland Scheidegger2005-10-1513-19/+201
| | | | generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
* fix two bugs wrt calculating max possible texture sizes for texture ↵Roland Scheidegger2005-10-151-3/+3
| | | | rectangles/cube maps.
* enable 3rd texture unit on radeon (default still 2 enabled units). Disable ↵Roland Scheidegger2005-10-1317-251/+285
| | | | 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.)
* make sure texture matrix is updated often enough with texture rectanglesRoland Scheidegger2005-10-131-0/+2
|
* fix potential bug when emitting elts with lots of componentsRoland Scheidegger2005-10-131-1/+2
|
* remove unused _mesa_log2() (bug 4468)Brian Paul2005-10-121-3/+0
|
* change includes (bug 4468)Brian Paul2005-10-121-6/+3
|
* Minor driver cleanup. Remove unnecessery/unneded ↵Roland Scheidegger2005-10-117-45/+4
| | | | 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.
* ifdef out some code to make glapi.c linkable in libglx.so (on theIan Romanick2005-10-111-1/+5
| | | | | 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.
* check for PIXMAP in clip routine (SF bug 1323215)Brian Paul2005-10-111-1/+1
|
* fixed constant fogcoord bug (#4729)Brian Paul2005-10-101-2/+8
|
* Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.Ian Romanick2005-10-102-6/+16
| | | | Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.
* do not set format of the incoming vertices needed for fog_coord in the ↵Roland Scheidegger2005-10-081-6/+1
| | | | generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.
* remove code dealing with drm versions older than 1.3. The driver requires ↵Roland Scheidegger2005-10-081-34/+16
| | | | (and requests) 1.3 since quite some time already to work at all.
* change test for presence of accum bufferBrian Paul2005-10-081-1/+1
|
* Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul2005-10-084-28/+64
| | | | etc. after calling glRenderBufferStorageEXT gave undefined results.
* MATH_DEBUG changes from bug #4468.Brian Paul2005-10-078-19/+18
|
* Populate arb_fp_instruction negate field correctly.Keith Whitwell2005-10-071-1/+1
|
* Fix a number of point size attenuation problems.Brian Paul2005-10-075-85/+115
| | | | Move size clamping into the rasterization function.
* fix problems with some texgen modes by putting the chip into LOCAL_VIEWER ↵Roland Scheidegger2005-10-051-7/+21
| | | | mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).
* reverse accidentally commited part of last commit (makes it compile again...).Roland Scheidegger2005-10-051-0/+1
|
* enable point sizes larger than 1 (for aliased points only) by using the hw ↵Roland Scheidegger2005-10-059-25/+59
| | | | point sprite primitive.
* fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)Brian Paul2005-10-051-7/+7
|
* fix typo in radeon_maos_arrays.c from last commit (code currently unused, ↵Roland Scheidegger2005-10-051-2/+2
| | | | that path is compile-tested only).
* remove unneeded parameter from radeonUploadTexMatrix.Roland Scheidegger2005-10-054-8/+9
|
* Remove the tcl fallback for texture rectangle (by manipulating the texture ↵Roland Scheidegger2005-10-0510-100/+299
| | | | 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.
* Remove _IsPowerOfTwo from gl_texture_object, not really needed.Brian Paul2005-10-054-32/+24
|
* s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul2005-10-056-26/+26
|
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-0530-155/+163
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* check if deleting currently bound frame/renderbuffer objectBrian Paul2005-10-041-1/+16
|
* fix behaviour of glIsFrame/Renderbuffer()Brian Paul2005-10-041-8/+12
|
* Use Visual.depthBits rather than Renderbuffer::DepthBits for depth bufferBrian Paul2005-10-043-14/+13
| | | | operations.
* change initialization of renderbuffer DepthBitsBrian Paul2005-10-042-3/+13
|
* Bug #1155: Define IEEE_ONE on Super-H as well.Adam Jackson2005-10-031-0/+1
|
* disable a warningBrian Paul2005-10-031-1/+1
|
* added a few calls to _mesa_update_framebuffer_visual()Brian Paul2005-10-031-0/+4
|
* finish up some missing codeBrian Paul2005-10-031-2/+24
|
* Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". ThisIan Romanick2005-10-032-2/+4
| | | | | | | | | | | 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.
* Remove the non-existant --get-alias-set option from the help text.Ian Romanick2005-10-031-11/+30
| | | | | | | | | | | | 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.
* check for GL_DEPTH_STENCIL_EXTBrian Paul2005-10-011-1/+2
|
* plug in _mesa_texstore_z24_s8()Brian Paul2005-10-011-1/+1
|
* added _mesa_texstore_z24_s8()Brian Paul2005-10-011-8/+40
|
* GL_EXT_packed_depth_stencil changesBrian Paul2005-10-012-4/+6
|
* additional error checking for GL_EXT_packed_depth_stencilBrian Paul2005-10-011-13/+50
|