Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move _mesa_exec_malloc/free() up near other malloc/free prototypes | Brian Paul | 2005-10-18 | 1 | -11/+8 |
| | |||||
* | Lots of clean-ups. Replace __inline__ with INLINE macro. Use the | Brian Paul | 2005-10-18 | 3 | -50/+134 |
| | | | | | _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments. | ||||
* | Add _mesa_exec_malloc() and _mesa_exec_free() for allocating | Keith Whitwell | 2005-10-18 | 11 | -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 Scheidegger | 2005-10-18 | 3 | -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 Scheidegger | 2005-10-17 | 9 | -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 Scheidegger | 2005-10-16 | 1 | -4/+4 |
| | |||||
* | enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just ↵ | Roland Scheidegger | 2005-10-15 | 13 | -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 Scheidegger | 2005-10-15 | 1 | -3/+3 |
| | | | | rectangles/cube maps. | ||||
* | enable 3rd texture unit on radeon (default still 2 enabled units). Disable ↵ | Roland Scheidegger | 2005-10-13 | 17 | -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 rectangles | Roland Scheidegger | 2005-10-13 | 1 | -0/+2 |
| | |||||
* | fix potential bug when emitting elts with lots of components | Roland Scheidegger | 2005-10-13 | 1 | -1/+2 |
| | |||||
* | remove unused _mesa_log2() (bug 4468) | Brian Paul | 2005-10-12 | 1 | -3/+0 |
| | |||||
* | change includes (bug 4468) | Brian Paul | 2005-10-12 | 1 | -6/+3 |
| | |||||
* | Minor driver cleanup. Remove unnecessery/unneded ↵ | Roland Scheidegger | 2005-10-11 | 7 | -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 the | Ian Romanick | 2005-10-11 | 1 | -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 Paul | 2005-10-11 | 1 | -1/+1 |
| | |||||
* | fixed constant fogcoord bug (#4729) | Brian Paul | 2005-10-10 | 1 | -2/+8 |
| | |||||
* | Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums. | Ian Romanick | 2005-10-10 | 2 | -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 Scheidegger | 2005-10-08 | 1 | -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 Scheidegger | 2005-10-08 | 1 | -34/+16 |
| | | | | (and requests) 1.3 since quite some time already to work at all. | ||||
* | change test for presence of accum buffer | Brian Paul | 2005-10-08 | 1 | -1/+1 |
| | |||||
* | Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS, | Brian Paul | 2005-10-08 | 4 | -28/+64 |
| | | | | etc. after calling glRenderBufferStorageEXT gave undefined results. | ||||
* | MATH_DEBUG changes from bug #4468. | Brian Paul | 2005-10-07 | 8 | -19/+18 |
| | |||||
* | Populate arb_fp_instruction negate field correctly. | Keith Whitwell | 2005-10-07 | 1 | -1/+1 |
| | |||||
* | Fix a number of point size attenuation problems. | Brian Paul | 2005-10-07 | 5 | -85/+115 |
| | | | | Move size clamping into the rasterization function. | ||||
* | fix problems with some texgen modes by putting the chip into LOCAL_VIEWER ↵ | Roland Scheidegger | 2005-10-05 | 1 | -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 Scheidegger | 2005-10-05 | 1 | -0/+1 |
| | |||||
* | enable point sizes larger than 1 (for aliased points only) by using the hw ↵ | Roland Scheidegger | 2005-10-05 | 9 | -25/+59 |
| | | | | point sprite primitive. | ||||
* | fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt) | Brian Paul | 2005-10-05 | 1 | -7/+7 |
| | |||||
* | fix typo in radeon_maos_arrays.c from last commit (code currently unused, ↵ | Roland Scheidegger | 2005-10-05 | 1 | -2/+2 |
| | | | | that path is compile-tested only). | ||||
* | remove unneeded parameter from radeonUploadTexMatrix. | Roland Scheidegger | 2005-10-05 | 4 | -8/+9 |
| | |||||
* | Remove the tcl fallback for texture rectangle (by manipulating the texture ↵ | Roland Scheidegger | 2005-10-05 | 10 | -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 Paul | 2005-10-05 | 4 | -32/+24 |
| | |||||
* | s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table. | Brian Paul | 2005-10-05 | 6 | -26/+26 |
| | |||||
* | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | 2005-10-05 | 30 | -155/+163 |
| | | | | _BaseFormat to be consistant with gl_renderbuffer. | ||||
* | check if deleting currently bound frame/renderbuffer object | Brian Paul | 2005-10-04 | 1 | -1/+16 |
| | |||||
* | fix behaviour of glIsFrame/Renderbuffer() | Brian Paul | 2005-10-04 | 1 | -8/+12 |
| | |||||
* | Use Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer | Brian Paul | 2005-10-04 | 3 | -14/+13 |
| | | | | operations. | ||||
* | change initialization of renderbuffer DepthBits | Brian Paul | 2005-10-04 | 2 | -3/+13 |
| | |||||
* | Bug #1155: Define IEEE_ONE on Super-H as well. | Adam Jackson | 2005-10-03 | 1 | -0/+1 |
| | |||||
* | disable a warning | Brian Paul | 2005-10-03 | 1 | -1/+1 |
| | |||||
* | added a few calls to _mesa_update_framebuffer_visual() | Brian Paul | 2005-10-03 | 1 | -0/+4 |
| | |||||
* | finish up some missing code | Brian Paul | 2005-10-03 | 1 | -2/+24 |
| | |||||
* | Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". This | Ian Romanick | 2005-10-03 | 2 | -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 Romanick | 2005-10-03 | 1 | -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_EXT | Brian Paul | 2005-10-01 | 1 | -1/+2 |
| | |||||
* | plug in _mesa_texstore_z24_s8() | Brian Paul | 2005-10-01 | 1 | -1/+1 |
| | |||||
* | added _mesa_texstore_z24_s8() | Brian Paul | 2005-10-01 | 1 | -8/+40 |
| | |||||
* | GL_EXT_packed_depth_stencil changes | Brian Paul | 2005-10-01 | 2 | -4/+6 |
| | |||||
* | additional error checking for GL_EXT_packed_depth_stencil | Brian Paul | 2005-10-01 | 1 | -13/+50 |
| |