Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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. | ||||
* | check for PIXMAP in clip routine (SF bug 1323215) | Brian Paul | 2005-10-11 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | 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 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. | ||||
* | s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table. | Brian Paul | 2005-10-05 | 2 | -3/+3 |
| | |||||
* | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | 2005-10-05 | 19 | -85/+88 |
| | | | | _BaseFormat to be consistant with gl_renderbuffer. | ||||
* | updated assertions (see bug 4590) | Brian Paul | 2005-09-28 | 1 | -1/+5 |
| | |||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 1 | -8/+10 |
| | | | | glReadPixels done, glDrawPixels mostly done. | ||||
* | remove identity check for texgen planes (which was just plain wrong). | Roland Scheidegger | 2005-09-26 | 1 | -16/+12 |
| | |||||
* | fix projective texturing for (swtcl) texture rectangles. Fix wrong argument ↵ | Roland Scheidegger | 2005-09-26 | 2 | -7/+17 |
| | | | | order for texgen/texmat matrix multiplication. | ||||
* | Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places instead | Brian Paul | 2005-09-26 | 4 | -96/+120 |
| | | | | of the XMesaPixmap field to avoid some X server-side issues with casting. | ||||
* | Add support for texture compression to R300 driver | Dave Airlie | 2005-09-25 | 6 | -214/+409 |
| | | | | | This isn't perfect, texcmp still has some issues with the small textures.. but its a good start | ||||
* | add link for radeon_egl.c | Dave Airlie | 2005-09-25 | 1 | -1/+2 |
| | |||||
* | Committing in . | Jouk Jansen | 2005-09-23 | 3 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ---------------------------------------------------------------------- | ||||
* | Added a fast xor_line() function. Uses XDrawLine with GXxor mode. | Brian Paul | 2005-09-23 | 1 | -3/+56 |
| | | | | | Only used for front-buffer window/pixmap rendering, GL_FLAT shade model, no Z test or other fragment operations. | ||||
* | Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbuffer | Brian Paul | 2005-09-23 | 2 | -4/+3 |
| | | | | | | | | with another, such as wrapping a hardware/win-sys RGB renderbuffer with a software-based alpha buffer. Previous alpha buffer wrapping was conflicting with the X driver's xmesa_renderbuffer structure containment/inheritance. That lead to memory corruption. | ||||
* | improve the test for using software alpha buffer | Brian Paul | 2005-09-23 | 1 | -1/+16 |
| | |||||
* | Enable GL_ARB_texture_mirrored_repeat on Savage4. Refactor the code that | Ian Romanick | 2005-09-22 | 3 | -69/+80 |
| | | | | | | | sets the texture wrap mode and texture filter mode for Savage4 to the new functions savage4_set_wrap_mode and savage4_set_filter_mode. This was tested with texwrap and tunnel. | ||||
* | Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits, | Brian Paul | 2005-09-22 | 2 | -2/+2 |
| | | | | BlueBits, etc fields. | ||||
* | Remove ACCUM_BITS. | Brian Paul | 2005-09-21 | 1 | -8/+15 |
| | |||||
* | replace GLdepth with GLuint | Brian Paul | 2005-09-21 | 6 | -14/+14 |
| | |||||
* | remove 31-bit Z buffer work-around | Brian Paul | 2005-09-20 | 1 | -2/+2 |
| | |||||
* | additional wrapper updates, bug 4468 | Brian Paul | 2005-09-19 | 1 | -0/+25 |
| | |||||
* | compilation fixes, don't know if runtime works | Brian Paul | 2005-09-19 | 3 | -6/+18 |
| | |||||
* | remove unused vars | Brian Paul | 2005-09-14 | 1 | -60/+1 |
| | |||||
* | remove _tnl_MakeCurrent call | Brian Paul | 2005-09-14 | 1 | -4/+0 |
| | |||||
* | Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback. | Brian Paul | 2005-09-14 | 1 | -1/+0 |
| | |||||
* | fix breakage from Brians changes earlier | Dave Airlie | 2005-09-14 | 1 | -3/+3 |
| | |||||
* | pageflip change from radeon driver | Brian Paul | 2005-09-14 | 1 | -0/+5 |
| | |||||
* | Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function, | Brian Paul | 2005-09-14 | 4 | -6/+3 |
| | | | | call driUpdateFramebufferSize() when window size/position changes. | ||||
* | make some funcs static | Brian Paul | 2005-09-14 | 1 | -2/+4 |
| | |||||
* | Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function, | Brian Paul | 2005-09-14 | 22 | -41/+51 |
| | | | | call driUpdateFramebufferSize() when window size/position changes. | ||||
* | use mklib script to make drivers instead of gcc -shared | Brian Paul | 2005-09-14 | 1 | -3/+2 |
| | |||||
* | updated comment | Brian Paul | 2005-09-14 | 1 | -2/+4 |
| | |||||
* | make some functions static | Brian Paul | 2005-09-14 | 1 | -2/+4 |
| | |||||
* | Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function, | Brian Paul | 2005-09-14 | 2 | -7/+3 |
| | | | | | call driUpdateFramebufferSize() when we detect changes in window size/ position in radeonGetLock(). | ||||
* | added driUpdateFramebufferSize() | Brian Paul | 2005-09-14 | 2 | -2/+29 |
| |