Brian Paul [Thu, 6 Apr 2006 04:23:58 +0000 (04:23 +0000)]
Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.
This allows render to depth texture (we don't support floating pt. Z buffers).
Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32.
Software fallback for glCopyTexImage now uses integer temporary image instead
of float, eliminates a lot of float/int conversions.
Brian Paul [Thu, 6 Apr 2006 04:11:28 +0000 (04:11 +0000)]
Added render to depth texture support with GL_EXT_framebuffer_object.
Only render the shadow/depth texture when really needed, not every frame.
Remove support for old SGIX shadow extensions.
Brian Paul [Thu, 6 Apr 2006 04:09:03 +0000 (04:09 +0000)]
do additional checking for setting up depth/stencil wrappers
Brian Paul [Wed, 5 Apr 2006 19:58:37 +0000 (19:58 +0000)]
remove duplicated framebuffer attachment test
Brian Paul [Wed, 5 Apr 2006 19:58:10 +0000 (19:58 +0000)]
Remove the code that checks for duplicated framebuffer attachments (which
generated the error GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT).
This was removed in version 117 of the GL_EXT_framebuffer_object spec.
Brian Paul [Wed, 5 Apr 2006 13:43:02 +0000 (13:43 +0000)]
pass -m32 or -m64 to linker for SunOS as needed (bug 6484)
Dave Airlie [Wed, 5 Apr 2006 07:13:17 +0000 (07:13 +0000)]
add tiling/fence support for the miniglx driver
Dave Airlie [Wed, 5 Apr 2006 06:20:58 +0000 (06:20 +0000)]
don't waste the reserved memory, take an approximation of the pool
allocator from the X.org driver - not as complicated
Brian Paul [Wed, 5 Apr 2006 03:29:46 +0000 (03:29 +0000)]
just some comments/docs
Brian Paul [Wed, 5 Apr 2006 03:26:12 +0000 (03:26 +0000)]
set the texture border color for the depth texture
Brian Paul [Wed, 5 Apr 2006 03:25:05 +0000 (03:25 +0000)]
first 6.5.1 bug fix - bug 6498
Brian Paul [Wed, 5 Apr 2006 03:23:44 +0000 (03:23 +0000)]
Check/use texture border color when sampling depth textures. (bug 6498)
Silence some warnings.
Brian Paul [Wed, 5 Apr 2006 03:05:17 +0000 (03:05 +0000)]
Silence minor compiler warnings (-Wextra).
Alan Hourihane [Tue, 4 Apr 2006 13:03:20 +0000 (13:03 +0000)]
We always have a back buffer. Fixes visual problems.
Dave Airlie [Tue, 4 Apr 2006 11:17:46 +0000 (11:17 +0000)]
use gart base from drm not try to work it out ourselves.. bump radeon client
to need 1.6 drm where this first appeared.. this fixes r300 on PCIE
Dave Airlie [Tue, 4 Apr 2006 11:04:30 +0000 (11:04 +0000)]
switch to card_type rather than IsPCI, doesn't change any functionality yet
Michal Krol [Tue, 4 Apr 2006 10:25:23 +0000 (10:25 +0000)]
Add bitset.h.
Michal Krol [Tue, 4 Apr 2006 10:22:05 +0000 (10:22 +0000)]
Fix texcoord interpolation for fragment shaders.
Michal Krol [Tue, 4 Apr 2006 10:18:07 +0000 (10:18 +0000)]
More GLSL code:
- add support for varyings;
GLSL fixes:
- pow was wrongly computed in x86 back-end;
Michal Krol [Tue, 4 Apr 2006 10:11:12 +0000 (10:11 +0000)]
Bit set.
Michal Krol [Tue, 4 Apr 2006 10:08:27 +0000 (10:08 +0000)]
Return GLSL version string (1.10).
Michal Krol [Tue, 4 Apr 2006 10:06:39 +0000 (10:06 +0000)]
Define MAX_VERTEX_ATTRIBS to 16.
Adam Jackson [Mon, 3 Apr 2006 22:23:52 +0000 (22:23 +0000)]
Fix license header to SGI FreeB. (Eric Kunze, SGI)
Adam Jackson [Mon, 3 Apr 2006 21:28:07 +0000 (21:28 +0000)]
Bug #5754: Allocate texture memory correctly. (Richard Drummond)
Karl Schultz [Mon, 3 Apr 2006 16:54:25 +0000 (16:54 +0000)]
Fix problem reported by Bill Newman in read_rgba_pixels for 16 and 32 bit (GDI driver). Bug would cause the wrong pixel to be read if more than one pixel requested and could cause memory access violations.
Brian Paul [Mon, 3 Apr 2006 16:09:53 +0000 (16:09 +0000)]
64-bit build for sunos5 w/ gcc
Dave Airlie [Mon, 3 Apr 2006 07:41:31 +0000 (07:41 +0000)]
add miniglx sources to i915
Dave Airlie [Mon, 3 Apr 2006 07:41:14 +0000 (07:41 +0000)]
if DDX is -1 don't do DDX check
Dave Airlie [Mon, 3 Apr 2006 07:40:44 +0000 (07:40 +0000)]
use Width
Dave Airlie [Mon, 3 Apr 2006 07:40:28 +0000 (07:40 +0000)]
add pitch support and use new Width
Dave Airlie [Mon, 3 Apr 2006 07:32:11 +0000 (07:32 +0000)]
setup to use pci access, comment out size bumps,
sest xres from real width, use new -1 ddx version
Dave Airlie [Mon, 3 Apr 2006 07:31:27 +0000 (07:31 +0000)]
do a drm lock/unlock sequence after the client close
Dave Airlie [Mon, 3 Apr 2006 07:30:48 +0000 (07:30 +0000)]
add width to struct for width != virtual width
Dave Airlie [Mon, 3 Apr 2006 07:30:23 +0000 (07:30 +0000)]
make miniglx use libdrm and libpciaccess
Adam Jackson [Mon, 3 Apr 2006 00:18:03 +0000 (00:18 +0000)]
Coverity #459: Silly off-by-one error.
Adam Jackson [Mon, 3 Apr 2006 00:00:53 +0000 (00:00 +0000)]
Coverity #468: Fill in the rest of the error_list to match the error codes
defined in glxproto.h. Avoids reading semi-random memory (and probably
crashing) when calling __glXErrorString().
Adam Jackson [Sun, 2 Apr 2006 23:51:30 +0000 (23:51 +0000)]
Coverity #476: Avoid walking off the end of ->vtx.attrsz, it's declared to
be _TNL_ATTRIB_MAX long so that's not a valid index (woo zero based
indexing).
This code still looks wrong though, the asymmetry between _tnl_copy_to_current
and _tnl_copy_from_current has me worried.
Adam Jackson [Sun, 2 Apr 2006 23:17:49 +0000 (23:17 +0000)]
Coverity #567: Fix a memory leak on a failure path.
Adam Jackson [Sun, 2 Apr 2006 23:15:35 +0000 (23:15 +0000)]
Coverity #650: Fix a memory leak when near OOM.
Daniel Borca [Sat, 1 Apr 2006 13:38:45 +0000 (13:38 +0000)]
Assorted updates.
Daniel Borca [Sat, 1 Apr 2006 13:26:31 +0000 (13:26 +0000)]
Initialize renderbuffer size.
Dave Airlie [Sat, 1 Apr 2006 04:40:01 +0000 (04:40 +0000)]
These messages really should be printed all the time, users want to
know this not have to set debug for it
Brian Paul [Sat, 1 Apr 2006 02:29:40 +0000 (02:29 +0000)]
added MD5 checksums for 6.5 files
Brian Paul [Sat, 1 Apr 2006 01:49:31 +0000 (01:49 +0000)]
added 6.5 relnotes
Eric Anholt [Sat, 1 Apr 2006 00:57:57 +0000 (00:57 +0000)]
Don't index box by the box's index within numClipRects; just dereference it.
Fixes drawing with more than one cliprect. (Keith Packard)
Eric Anholt [Sat, 1 Apr 2006 00:55:02 +0000 (00:55 +0000)]
Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp,
like other drivers. Failure to do so resulted in incorrect buffer sizes for
resized windows.
Brian Paul [Fri, 31 Mar 2006 23:10:21 +0000 (23:10 +0000)]
6.5 updates
Daniel Borca [Fri, 31 Mar 2006 20:53:12 +0000 (20:53 +0000)]
DMesa now uses OSMesa as a back-end.
Daniel Borca [Fri, 31 Mar 2006 20:49:55 +0000 (20:49 +0000)]
Removed empty arrays.
Aapo Tahkola [Fri, 31 Mar 2006 18:46:33 +0000 (18:46 +0000)]
Enough testing already
Brian Paul [Fri, 31 Mar 2006 17:31:22 +0000 (17:31 +0000)]
bump version/date
Brian Paul [Fri, 31 Mar 2006 15:48:04 +0000 (15:48 +0000)]
Dave Reveman's patch for GLX_MESA_copy_sub_buffer support
Brian Paul [Fri, 31 Mar 2006 15:22:09 +0000 (15:22 +0000)]
Fix the fetch_texel_ci8() code to deal with floating point color palettes.
Fixes Quake on Windows bug. (Karl Schultz)
Aapo Tahkola [Fri, 31 Mar 2006 14:11:41 +0000 (14:11 +0000)]
free rs300 and ban r350(according to r300.sf.net)
Aapo Tahkola [Fri, 31 Mar 2006 10:10:45 +0000 (10:10 +0000)]
make u_list adjustable
Karl Schultz [Fri, 31 Mar 2006 06:54:11 +0000 (06:54 +0000)]
updated again for 6.5.
Aapo Tahkola [Fri, 31 Mar 2006 03:54:36 +0000 (03:54 +0000)]
warn about broken dxt 3/5
Aapo Tahkola [Fri, 31 Mar 2006 03:50:29 +0000 (03:50 +0000)]
Dont rely on writebacks
Aapo Tahkola [Fri, 31 Mar 2006 03:16:39 +0000 (03:16 +0000)]
disable r300 chips. R300_FORCE_R300 to force
Aapo Tahkola [Fri, 31 Mar 2006 03:01:28 +0000 (03:01 +0000)]
More meaningful warning.
Eric Anholt [Thu, 30 Mar 2006 22:44:51 +0000 (22:44 +0000)]
The pitches of the driRenderbuffers are in bytes, so no need to multiply by cpp.
Fixes software fallbacks. (Keith Packard)
Karl Schultz [Thu, 30 Mar 2006 21:53:23 +0000 (21:53 +0000)]
Clean up data structures, finishing off some of the cleanup work suggested by Brian. Now also creating two renderbuffers, so apps can now switch with glDrawBuffer.
Adam Jackson [Thu, 30 Mar 2006 19:26:54 +0000 (19:26 +0000)]
Clarify which version of Mesa we're talking about
Adam Jackson [Thu, 30 Mar 2006 19:23:38 +0000 (19:23 +0000)]
Revert my change from 1.37 as being bogus (see ensuing list discussion for
rationale).
Adam Jackson [Thu, 30 Mar 2006 19:21:20 +0000 (19:21 +0000)]
Update the install docs to make explicit note of libdrm version dependency.
Change pdx.fd.o to {anon,}cvs.fd.o as appropriate.
Adam Jackson [Thu, 30 Mar 2006 19:20:25 +0000 (19:20 +0000)]
Style fix, drop the explicit -ldrm from the link line.
Karl Schultz [Thu, 30 Mar 2006 18:03:41 +0000 (18:03 +0000)]
Fix logic error in viewport function so that we still resize the buffers if the viewport and the window both change to the same new size. This lets the gloss demo work with the -f option.
Brian Paul [Thu, 30 Mar 2006 16:33:35 +0000 (16:33 +0000)]
When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fields
Brian Paul [Thu, 30 Mar 2006 16:32:16 +0000 (16:32 +0000)]
Init the Red/Green/Blue/Alpha/Depth/StencilBits fields in driNewRenderbuffer()
Brian Paul [Thu, 30 Mar 2006 16:29:41 +0000 (16:29 +0000)]
comments regarding assertions
Karl Schultz [Thu, 30 Mar 2006 16:26:26 +0000 (16:26 +0000)]
Use [][3] for write_rgb_span_16
Brian Paul [Thu, 30 Mar 2006 14:28:28 +0000 (14:28 +0000)]
some comments for Darwin
Brian Paul [Thu, 30 Mar 2006 14:27:25 +0000 (14:27 +0000)]
added glfbdev.h to MAIN_FILES
Brian Paul [Thu, 30 Mar 2006 14:26:29 +0000 (14:26 +0000)]
fix bad call to FindLine()
Brian Paul [Thu, 30 Mar 2006 14:25:54 +0000 (14:25 +0000)]
added -f option for full-screeen
Brian Paul [Thu, 30 Mar 2006 14:24:58 +0000 (14:24 +0000)]
press '0' for glDrawBuffer(GL_NONE)
Brian Paul [Thu, 30 Mar 2006 14:20:26 +0000 (14:20 +0000)]
XMesaDrawLine macro, not currently used
Karl Schultz [Thu, 30 Mar 2006 07:58:24 +0000 (07:58 +0000)]
Fixes from Brian to help migrate to render buffer DD interfaces. Also fix bug in the viewport function that was using the viewport size to resize the buffer, when it should have been using the window size. Fix bug in write_rgb_span_32 where the incoming pixel data parameter was coded as a [][4] instead of [][3]. Now all the demos work correctly except singlebuffer.
Karl Schultz [Thu, 30 Mar 2006 07:53:15 +0000 (07:53 +0000)]
Fixes from Brian
Dave Airlie [Thu, 30 Mar 2006 05:47:08 +0000 (05:47 +0000)]
Fix up some incorrect pointers and clear screen
Dave Airlie [Thu, 30 Mar 2006 04:33:58 +0000 (04:33 +0000)]
add initial miniglx files for i915, not integrated yet
Karl Schultz [Wed, 29 Mar 2006 23:53:43 +0000 (23:53 +0000)]
Updated for Mesa 6.5
Brian Paul [Wed, 29 Mar 2006 23:45:44 +0000 (23:45 +0000)]
Add -ansi -pedantic flags to OPT_FLAGS. This got lost at some point. Good for catching sloppy coding.
Brian Paul [Wed, 29 Mar 2006 23:44:31 +0000 (23:44 +0000)]
Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange().
This is a temporary fix for the DRI drivers.
Should really only have to update the matrix via _mesa_update_state().
Brian Paul [Wed, 29 Mar 2006 23:42:44 +0000 (23:42 +0000)]
put braces around RENDER_SPAN macro when called, not when defined. Fixes -pedantic warnings in x11 driver
Brian Paul [Wed, 29 Mar 2006 23:20:49 +0000 (23:20 +0000)]
fix GETPROCADDRESS usage, remove carriage return chars (bug 6430)
Brian Paul [Wed, 29 Mar 2006 23:18:13 +0000 (23:18 +0000)]
s/glslnose.c/glslnoise/ (bug 6430)
Kristian Høgsberg [Wed, 29 Mar 2006 22:32:38 +0000 (22:32 +0000)]
Fixes to silence warnings in code generated by glapi scripts.
Karl Schultz [Wed, 29 Mar 2006 20:55:48 +0000 (20:55 +0000)]
Add newest source code files to project.
Brian Paul [Wed, 29 Mar 2006 18:54:00 +0000 (18:54 +0000)]
added some no-op virtual destructors to silence g++ 4.0.0 warnings
Brian Paul [Wed, 29 Mar 2006 18:46:46 +0000 (18:46 +0000)]
fixes from John Shell (bug 6339)
Brian Paul [Wed, 29 Mar 2006 18:41:19 +0000 (18:41 +0000)]
minor clean-up
Brian Paul [Wed, 29 Mar 2006 15:21:01 +0000 (15:21 +0000)]
FP textures and fixes (Ewald Snel)
Brian Paul [Wed, 29 Mar 2006 15:17:57 +0000 (15:17 +0000)]
fix components initialization in two places (Ewald Snel)
Brian Paul [Wed, 29 Mar 2006 15:15:37 +0000 (15:15 +0000)]
move NumNativeAlu/TexInstruction assignments (Ewald Snel)
Jouk Jansen [Wed, 29 Mar 2006 12:09:08 +0000 (12:09 +0000)]
Committing in .
Removing <CR>
Modified Files:
Mesa/src/mesa/main/fog.c Mesa/src/mesa/main/hint.c
Mesa/src/mesa/main/mtypes.h
----------------------------------------------------------------------
Brian Paul [Wed, 29 Mar 2006 04:53:02 +0000 (04:53 +0000)]
prep for 6.5 release
Brian Paul [Wed, 29 Mar 2006 04:51:03 +0000 (04:51 +0000)]
New code for rendering to depth/stencil textures.
Re-org of the renderbuffer wrapper code.
Brian Paul [Wed, 29 Mar 2006 04:48:21 +0000 (04:48 +0000)]
new tests for GL_DEPTH_STENCIL_EXT
Brian Paul [Wed, 29 Mar 2006 04:47:34 +0000 (04:47 +0000)]
a few new assertions