mesa.git
18 years agoMake SiS a little more like other drivers: Add SIS_DEBUG (only option being
Eric Anholt [Wed, 19 Oct 2005 03:23:29 +0000 (03:23 +0000)]
Make SiS a little more like other drivers: Add SIS_DEBUG (only option being
"fall" so far) and make the fallback_force option be no_rast like other drivers.
Incidentally, makes no_rast not crash (though it still fails to render).

18 years agoRemove some long-dead code.
Eric Anholt [Wed, 19 Oct 2005 03:07:05 +0000 (03:07 +0000)]
Remove some long-dead code.

18 years agoFix a missed merge for idr's dispatch changes: failure to do driInitExtensions
Eric Anholt [Wed, 19 Oct 2005 02:46:42 +0000 (02:46 +0000)]
Fix a missed merge for idr's dispatch changes: failure to do driInitExtensions
in __driCreateNewScreen_20050727 resulted in crashing in dispatch.

18 years agoupdated for new mm.c, execmem.c files
Brian Paul [Wed, 19 Oct 2005 01:28:14 +0000 (01:28 +0000)]
updated for new mm.c, execmem.c files

18 years agos/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/
Brian Paul [Wed, 19 Oct 2005 01:26:48 +0000 (01:26 +0000)]
s/memcpy/_mesa_memcpy/, s/FREE/_mesa_free/

18 years agoBug #4615: Fix the SiS driver for the renderbuffer changes. Previously, all
Eric Anholt [Wed, 19 Oct 2005 00:53:05 +0000 (00:53 +0000)]
Bug #4615: Fix the SiS driver for the renderbuffer changes.  Previously, all
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.

18 years agoFix a missed merge for idr's dispatch changes: failure to do driInitExtensions
Eric Anholt [Tue, 18 Oct 2005 23:48:59 +0000 (23:48 +0000)]
Fix a missed merge for idr's dispatch changes: failure to do driInitExtensions
in __driCreateNewScreen_20050727 resulted in crashing in dispatch.  Rendering
remains broken.

18 years agoAttempt to fix libGL on FreeBSD, where the library was being built without any
Eric Anholt [Tue, 18 Oct 2005 23:36:40 +0000 (23:36 +0000)]
Attempt to fix libGL on FreeBSD, where the library was being built without any
dependencies, breaking builds of third-party software.

18 years agomove _mesa_exec_malloc/free() up near other malloc/free prototypes
Brian Paul [Tue, 18 Oct 2005 15:02:45 +0000 (15:02 +0000)]
move _mesa_exec_malloc/free() up near other malloc/free prototypes

18 years agoLots of clean-ups. Replace __inline__ with INLINE macro. Use the
Brian Paul [Tue, 18 Oct 2005 15:01:19 +0000 (15:01 +0000)]
Lots of clean-ups.  Replace __inline__ with INLINE macro.  Use the
_mesa_calloc(), _mesa_free() functions.  Clean-up formatting, doxygen-style
comments.

18 years agoAdd _mesa_exec_malloc() and _mesa_exec_free() for allocating
Keith Whitwell [Tue, 18 Oct 2005 13:29:59 +0000 (13:29 +0000)]
Add _mesa_exec_malloc() and _mesa_exec_free() for allocating
executable memory.  Based on Thomas Hellstrom's patch.
TODO: glapi.c also needs this, but cannot access this code.

18 years agoon r200, don't emit fog coords when fog isn't actually enabled. Fix bug with vtxfmt...
Roland Scheidegger [Tue, 18 Oct 2005 13:09:53 +0000 (13:09 +0000)]
on r200, don't emit fog coords when fog isn't actually enabled. Fix bug with vtxfmt not causing a fallback when fog coords are active.

18 years agoadded some header files to DRI_FILES (Donnie Berkholz)
Brian Paul [Mon, 17 Oct 2005 22:38:44 +0000 (22:38 +0000)]
added some header files to DRI_FILES (Donnie Berkholz)

18 years agoadd GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses fallback...
Roland Scheidegger [Mon, 17 Oct 2005 00:54:12 +0000 (00:54 +0000)]
add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses 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).

18 years agofix some obvious typos in radeon_reg.h (only currently unused bits affected)
Roland Scheidegger [Sun, 16 Oct 2005 22:45:59 +0000 (22:45 +0000)]
fix some obvious typos in radeon_reg.h (only currently unused bits affected)

18 years agoenable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates...
Roland Scheidegger [Sat, 15 Oct 2005 23:45:53 +0000 (23:45 +0000)]
enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.

18 years agofix two bugs wrt calculating max possible texture sizes for texture rectangles/cube...
Roland Scheidegger [Sat, 15 Oct 2005 01:07:59 +0000 (01:07 +0000)]
fix two bugs wrt calculating max possible texture sizes for texture rectangles/cube maps.

18 years agoenable 3rd texture unit on radeon (default still 2 enabled units). Disable some multi...
Roland Scheidegger [Thu, 13 Oct 2005 14:30:20 +0000 (14:30 +0000)]
enable 3rd texture unit on radeon (default still 2 enabled units). Disable 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.)

18 years agomake sure texture matrix is updated often enough with texture rectangles
Roland Scheidegger [Thu, 13 Oct 2005 00:35:51 +0000 (00:35 +0000)]
make sure texture matrix is updated often enough with texture rectangles

18 years agofix potential bug when emitting elts with lots of components
Roland Scheidegger [Thu, 13 Oct 2005 00:33:46 +0000 (00:33 +0000)]
fix potential bug when emitting elts with lots of components

18 years agoremove unused _mesa_log2() (bug 4468)
Brian Paul [Wed, 12 Oct 2005 19:46:48 +0000 (19:46 +0000)]
remove unused _mesa_log2() (bug 4468)

18 years agochange includes (bug 4468)
Brian Paul [Wed, 12 Oct 2005 19:46:29 +0000 (19:46 +0000)]
change includes (bug 4468)

18 years agofix GLAPI/extern problem (bug 4757)
Brian Paul [Wed, 12 Oct 2005 19:37:38 +0000 (19:37 +0000)]
fix GLAPI/extern problem (bug 4757)

18 years agoMinor driver cleanup. Remove unnecessery/unneded radeon/r200AllocDmaRegionVerts funct...
Roland Scheidegger [Tue, 11 Oct 2005 17:55:54 +0000 (17:55 +0000)]
Minor driver cleanup. Remove unnecessery/unneded 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.

18 years agoifdef out some code to make glapi.c linkable in libglx.so (on the
Ian Romanick [Tue, 11 Oct 2005 16:56:39 +0000 (16:56 +0000)]
ifdef out some code to make glapi.c linkable in libglx.so (on the
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.

18 years agocheck for PIXMAP in clip routine (SF bug 1323215)
Brian Paul [Tue, 11 Oct 2005 01:21:40 +0000 (01:21 +0000)]
check for PIXMAP in clip routine (SF bug 1323215)

18 years agofixed constant fogcoord bug (#4729)
Brian Paul [Mon, 10 Oct 2005 18:39:34 +0000 (18:39 +0000)]
fixed constant fogcoord bug (#4729)

18 years agoAdd 'get' data for glGetFramebufferAttachmentParameterivEXT enums.
Ian Romanick [Mon, 10 Oct 2005 17:11:02 +0000 (17:11 +0000)]
Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.

Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.

18 years agodo not set format of the incoming vertices needed for fog_coord in the generic state...
Roland Scheidegger [Sat, 8 Oct 2005 23:41:20 +0000 (23:41 +0000)]
do not set format of the incoming vertices needed for fog_coord in the generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.

18 years agoremove code dealing with drm versions older than 1.3. The driver requires (and reques...
Roland Scheidegger [Sat, 8 Oct 2005 23:36:35 +0000 (23:36 +0000)]
remove code dealing with drm versions older than 1.3. The driver requires (and requests) 1.3 since quite some time already to work at all.

18 years agochange test for presence of accum buffer
Brian Paul [Sat, 8 Oct 2005 21:36:38 +0000 (21:36 +0000)]
change test for presence of accum buffer

18 years agoQuery/print GL_RED/GREEN/BLUE/ALPHA_BITS
Brian Paul [Sat, 8 Oct 2005 14:42:51 +0000 (14:42 +0000)]
Query/print GL_RED/GREEN/BLUE/ALPHA_BITS

18 years agoFix some issues with state updates and renderbuffers. Querying GL_RED_BITS,
Brian Paul [Sat, 8 Oct 2005 14:41:17 +0000 (14:41 +0000)]
Fix some issues with state updates and renderbuffers.  Querying GL_RED_BITS,
etc. after calling glRenderBufferStorageEXT gave undefined results.

18 years agoMATH_DEBUG changes from bug #4468.
Brian Paul [Fri, 7 Oct 2005 17:18:51 +0000 (17:18 +0000)]
MATH_DEBUG changes from bug #4468.

18 years agoPopulate arb_fp_instruction negate field correctly.
Keith Whitwell [Fri, 7 Oct 2005 09:55:26 +0000 (09:55 +0000)]
Populate arb_fp_instruction negate field correctly.

18 years agoFix a number of point size attenuation problems.
Brian Paul [Fri, 7 Oct 2005 03:56:29 +0000 (03:56 +0000)]
Fix a number of point size attenuation problems.
Move size clamping into the rasterization function.

18 years agofix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for...
Roland Scheidegger [Wed, 5 Oct 2005 22:40:09 +0000 (22:40 +0000)]
fix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).

18 years agoreverse accidentally commited part of last commit (makes it compile again...).
Roland Scheidegger [Wed, 5 Oct 2005 20:28:31 +0000 (20:28 +0000)]
reverse accidentally commited part of last commit (makes it compile again...).

18 years agoenable point sizes larger than 1 (for aliased points only) by using the hw point...
Roland Scheidegger [Wed, 5 Oct 2005 16:15:16 +0000 (16:15 +0000)]
enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.

18 years agofix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)
Brian Paul [Wed, 5 Oct 2005 13:36:05 +0000 (13:36 +0000)]
fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)

18 years agofix typo in radeon_maos_arrays.c from last commit (code currently unused, that path...
Roland Scheidegger [Wed, 5 Oct 2005 13:09:15 +0000 (13:09 +0000)]
fix typo in radeon_maos_arrays.c from last commit (code currently unused, that path is compile-tested only).

18 years agoremove unneeded parameter from radeonUploadTexMatrix.
Roland Scheidegger [Wed, 5 Oct 2005 12:38:07 +0000 (12:38 +0000)]
remove unneeded parameter from radeonUploadTexMatrix.

18 years agoRemove the tcl fallback for texture rectangle (by manipulating the texture matrix...
Roland Scheidegger [Wed, 5 Oct 2005 11:42:44 +0000 (11:42 +0000)]
Remove the tcl fallback for texture rectangle (by manipulating the texture 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.

18 years agoRemove _IsPowerOfTwo from gl_texture_object, not really needed.
Brian Paul [Wed, 5 Oct 2005 04:07:50 +0000 (04:07 +0000)]
Remove _IsPowerOfTwo from gl_texture_object, not really needed.

18 years agos/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
Brian Paul [Wed, 5 Oct 2005 02:11:15 +0000 (02:11 +0000)]
s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.

18 years agoadded GL_INVALID_FRAMEBUFFER_OPERATION_EXT to gluErrorString()
Brian Paul [Wed, 5 Oct 2005 02:08:53 +0000 (02:08 +0000)]
added GL_INVALID_FRAMEBUFFER_OPERATION_EXT to gluErrorString()

18 years agoIn gl_texture_image replace IntFormat with InternalFormat and Format with
Brian Paul [Wed, 5 Oct 2005 01:48:07 +0000 (01:48 +0000)]
In gl_texture_image replace IntFormat with InternalFormat and Format with
_BaseFormat to be consistant with gl_renderbuffer.

18 years agocheck if deleting currently bound frame/renderbuffer object
Brian Paul [Tue, 4 Oct 2005 16:01:02 +0000 (16:01 +0000)]
check if deleting currently bound frame/renderbuffer object

18 years agoglBindTexture changes, new assertions
Brian Paul [Tue, 4 Oct 2005 15:16:27 +0000 (15:16 +0000)]
glBindTexture changes, new assertions

18 years agofix glIsRender/FramebufferEXT() assertions
Brian Paul [Tue, 4 Oct 2005 15:01:51 +0000 (15:01 +0000)]
fix glIsRender/FramebufferEXT() assertions

18 years agofix behaviour of glIsFrame/Renderbuffer()
Brian Paul [Tue, 4 Oct 2005 15:01:27 +0000 (15:01 +0000)]
fix behaviour of glIsFrame/Renderbuffer()

18 years agoUse Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer
Brian Paul [Tue, 4 Oct 2005 14:49:30 +0000 (14:49 +0000)]
Use Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer
operations.

18 years agochange initialization of renderbuffer DepthBits
Brian Paul [Tue, 4 Oct 2005 14:48:24 +0000 (14:48 +0000)]
change initialization of renderbuffer DepthBits

18 years agoBug #1155: Define IEEE_ONE on Super-H as well.
Adam Jackson [Mon, 3 Oct 2005 20:02:07 +0000 (20:02 +0000)]
Bug #1155: Define IEEE_ONE on Super-H as well.

18 years agodisable a warning
Brian Paul [Mon, 3 Oct 2005 16:11:47 +0000 (16:11 +0000)]
disable a warning

18 years agoadded a few calls to _mesa_update_framebuffer_visual()
Brian Paul [Mon, 3 Oct 2005 16:11:35 +0000 (16:11 +0000)]
added a few calls to _mesa_update_framebuffer_visual()

18 years agofinish up some missing code
Brian Paul [Mon, 3 Oct 2005 16:11:21 +0000 (16:11 +0000)]
finish up some missing code

18 years agoChange the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". This
Ian Romanick [Mon, 3 Oct 2005 15:05:40 +0000 (15:05 +0000)]
Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1".  This
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.

18 years agoRemove the non-existant --get-alias-set option from the help text.
Ian Romanick [Mon, 3 Oct 2005 14:59:26 +0000 (14:59 +0000)]
Remove the non-existant --get-alias-set option from the help text.

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.

18 years agocheck for GL_DEPTH_STENCIL_EXT
Brian Paul [Sat, 1 Oct 2005 16:09:45 +0000 (16:09 +0000)]
check for GL_DEPTH_STENCIL_EXT

18 years agoplug in _mesa_texstore_z24_s8()
Brian Paul [Sat, 1 Oct 2005 16:09:26 +0000 (16:09 +0000)]
plug in _mesa_texstore_z24_s8()

18 years agoadded _mesa_texstore_z24_s8()
Brian Paul [Sat, 1 Oct 2005 16:08:27 +0000 (16:08 +0000)]
added _mesa_texstore_z24_s8()

18 years agoGL_EXT_packed_depth_stencil changes
Brian Paul [Sat, 1 Oct 2005 16:06:25 +0000 (16:06 +0000)]
GL_EXT_packed_depth_stencil changes

18 years agoadditional error checking for GL_EXT_packed_depth_stencil
Brian Paul [Sat, 1 Oct 2005 16:05:30 +0000 (16:05 +0000)]
additional error checking for GL_EXT_packed_depth_stencil

18 years agofix an assertion
Brian Paul [Sat, 1 Oct 2005 16:04:38 +0000 (16:04 +0000)]
fix an assertion

18 years agosimplify the read_depth_stencil_pixels() function
Brian Paul [Sat, 1 Oct 2005 16:04:09 +0000 (16:04 +0000)]
simplify the read_depth_stencil_pixels() function

18 years agofix broken z24_s8 fetcher
Brian Paul [Sat, 1 Oct 2005 16:03:30 +0000 (16:03 +0000)]
fix broken z24_s8 fetcher

18 years agoupdated comment
Brian Paul [Sat, 1 Oct 2005 16:03:00 +0000 (16:03 +0000)]
updated comment

18 years agoadded _mesa_pack_depth_stencil_span()
Brian Paul [Sat, 1 Oct 2005 16:02:38 +0000 (16:02 +0000)]
added _mesa_pack_depth_stencil_span()

18 years agomove around some error checking
Brian Paul [Sat, 1 Oct 2005 16:02:11 +0000 (16:02 +0000)]
move around some error checking

18 years agouse fmod() to prevent overflow of angle variable
Brian Paul [Fri, 30 Sep 2005 15:03:33 +0000 (15:03 +0000)]
use fmod() to prevent overflow of angle variable

18 years agoimplemented fallbacks for GL_EXT_packed_depth_stencil
Brian Paul [Fri, 30 Sep 2005 03:01:30 +0000 (03:01 +0000)]
implemented fallbacks for GL_EXT_packed_depth_stencil

18 years agominor improvements
Brian Paul [Fri, 30 Sep 2005 03:01:11 +0000 (03:01 +0000)]
minor improvements

18 years agoadded _swrast_get_row()
Brian Paul [Fri, 30 Sep 2005 03:00:03 +0000 (03:00 +0000)]
added _swrast_get_row()

18 years agocall glFinish if drawing to front buffer
Brian Paul [Thu, 29 Sep 2005 18:46:27 +0000 (18:46 +0000)]
call glFinish if drawing to front buffer

18 years agoimplement CopyPixels for GL_DEPTH_STENCIL_EXT
Brian Paul [Thu, 29 Sep 2005 04:28:21 +0000 (04:28 +0000)]
implement CopyPixels for GL_DEPTH_STENCIL_EXT

18 years agoadded _swrast_put_row()
Brian Paul [Thu, 29 Sep 2005 04:27:47 +0000 (04:27 +0000)]
added _swrast_put_row()

18 years agoRewrite much of the pixel zoom code.
Brian Paul [Thu, 29 Sep 2005 03:20:15 +0000 (03:20 +0000)]
Rewrite much of the pixel zoom code.
Zoomed DrawPixels of packed depth/stencil works now.

18 years agoadd error checks for framebuffer completeness
Brian Paul [Wed, 28 Sep 2005 16:20:34 +0000 (16:20 +0000)]
add error checks for framebuffer completeness

18 years agocheck for framebuffer completeness, code clean-up
Brian Paul [Wed, 28 Sep 2005 15:46:46 +0000 (15:46 +0000)]
check for framebuffer completeness, code clean-up

18 years agoupdated assertions (see bug 4590)
Brian Paul [Wed, 28 Sep 2005 14:20:06 +0000 (14:20 +0000)]
updated assertions (see bug 4590)

18 years agoInitial work for GL_EXT_packed_depth_stencil extension.
Brian Paul [Wed, 28 Sep 2005 02:29:50 +0000 (02:29 +0000)]
Initial work for GL_EXT_packed_depth_stencil extension.
glReadPixels done, glDrawPixels mostly done.

18 years agochange initialization of rb->DepthBits
Brian Paul [Wed, 28 Sep 2005 02:28:42 +0000 (02:28 +0000)]
change initialization of rb->DepthBits

18 years agoadded GL_EXT_packed_depth_stencil
Brian Paul [Wed, 28 Sep 2005 02:28:00 +0000 (02:28 +0000)]
added GL_EXT_packed_depth_stencil

18 years agoadded _mesa_scale_and_bias_depth()
Brian Paul [Wed, 28 Sep 2005 02:27:22 +0000 (02:27 +0000)]
added _mesa_scale_and_bias_depth()

18 years agotweak glAccum error checking
Brian Paul [Tue, 27 Sep 2005 16:10:49 +0000 (16:10 +0000)]
tweak glAccum error checking

18 years agogenerate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same
Brian Paul [Tue, 27 Sep 2005 15:52:27 +0000 (15:52 +0000)]
generate GL_INVALID_OPERATION in glAccum if read/draw buffers aren't the same

18 years agoLift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels
Brian Paul [Tue, 27 Sep 2005 01:25:24 +0000 (01:25 +0000)]
Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels
functions into the _mesa_Draw/Read/CopyPixels functions.

18 years agoglDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.
Brian Paul [Mon, 26 Sep 2005 23:06:01 +0000 (23:06 +0000)]
glDraw/CopyPixels of stencil data didn't obey the stencil write mask. Fixed.

18 years agoremove identity check for texgen planes (which was just plain wrong).
Roland Scheidegger [Mon, 26 Sep 2005 20:31:40 +0000 (20:31 +0000)]
remove identity check for texgen planes (which was just plain wrong).

18 years agofix projective texturing for (swtcl) texture rectangles. Fix wrong argument order...
Roland Scheidegger [Mon, 26 Sep 2005 17:11:16 +0000 (17:11 +0000)]
fix projective texturing for (swtcl) texture rectangles. Fix wrong argument order for texgen/texmat matrix multiplication.

18 years agoAdded XMesaDrawable to xmesa_renderbuffer. Use it in a few places instead
Brian Paul [Mon, 26 Sep 2005 00:38:00 +0000 (00:38 +0000)]
Added XMesaDrawable to xmesa_renderbuffer.  Use it in a few places instead
of the XMesaPixmap field to avoid some X server-side issues with casting.

18 years agoAdd support for texture compression to R300 driver
Dave Airlie [Sun, 25 Sep 2005 10:20:38 +0000 (10:20 +0000)]
Add support for texture compression to R300 driver

This isn't perfect, texcmp still has some issues with the small textures..
but its a good start

18 years agoadd link for radeon_egl.c
Dave Airlie [Sun, 25 Sep 2005 09:45:42 +0000 (09:45 +0000)]
add link for radeon_egl.c

18 years ago Committing in .
Jouk Jansen [Fri, 23 Sep 2005 07:03:53 +0000 (07:03 +0000)]
 Committing in .

 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
 ----------------------------------------------------------------------

18 years agoremove printf
Brian Paul [Fri, 23 Sep 2005 03:24:27 +0000 (03:24 +0000)]
remove printf

18 years agoReplace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,
Brian Paul [Fri, 23 Sep 2005 03:22:20 +0000 (03:22 +0000)]
Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,
Streamline the _mesa_update_framebuffer() function a bit.

18 years agofix clipped glReadPixels bug
Brian Paul [Fri, 23 Sep 2005 02:16:49 +0000 (02:16 +0000)]
fix clipped glReadPixels bug

18 years agoadded XOR line optimization
Brian Paul [Fri, 23 Sep 2005 01:42:23 +0000 (01:42 +0000)]
added XOR line optimization

18 years agoAdded a fast xor_line() function. Uses XDrawLine with GXxor mode.
Brian Paul [Fri, 23 Sep 2005 01:40:59 +0000 (01:40 +0000)]
Added a fast xor_line() function.  Uses XDrawLine with GXxor mode.
Only used for front-buffer window/pixmap rendering, GL_FLAT shade model,
no Z test or other fragment operations.