Alan Swanson [Mon, 12 Mar 2007 08:59:28 +0000 (09:59 +0100)]
radeon: Adapt cliprect fixes from r300.
Xiang, Haihao [Sun, 11 Mar 2007 14:41:26 +0000 (22:41 +0800)]
fix for bug#10196
Compute half if LOCAL_VIEWER is enabled and the light is
a directional source.
Aapo Tahkola [Sun, 11 Mar 2007 09:47:03 +0000 (11:47 +0200)]
Guess another unknown register in R300 command buffer initialization. (Oliver McFadden)
Oliver McFadden [Sun, 11 Mar 2007 01:18:27 +0000 (12:18 +1100)]
Renamed some of the unkXXX variables in the command buffer init
ialization code.
Note that there are still plenty of actual unknown variables left that should
probably be deciphered.
There are a number of things incomplete in the driver; the different polygon
offset modes (line, point, etc), the other texture filter, texture chroma key,
etc. These should probably be fixed in the future, or at least added to the TODO
list.
Brian [Sat, 10 Mar 2007 18:50:50 +0000 (11:50 -0700)]
Fix TEXREL issues.
Patch submitted by Christoph Brill.
See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml
Brian [Sat, 10 Mar 2007 18:48:59 +0000 (11:48 -0700)]
check for EXT_blend_equation_separate for 2.0
Michel Dänzer [Sat, 10 Mar 2007 16:12:58 +0000 (17:12 +0100)]
i915tex: Fix build against libdrm git...
Michel Dänzer [Sat, 10 Mar 2007 15:40:22 +0000 (16:40 +0100)]
i915tex: Fix intel_wait_flips being declared implicitly.
Michel Dänzer [Sat, 10 Mar 2007 15:06:38 +0000 (16:06 +0100)]
i915tex: Fix build against released version of libdrm.
Stephane Marchesin [Sat, 10 Mar 2007 12:46:26 +0000 (13:46 +0100)]
nouveau: fix nv04 swtcl.
Stephane Marchesin [Sat, 10 Mar 2007 00:25:51 +0000 (01:25 +0100)]
nouveau: fix the nv04 swtcl code.
Stephane Marchesin [Sat, 10 Mar 2007 00:24:32 +0000 (01:24 +0100)]
nouveau: oops don't debug by default.
Stephane Marchesin [Sat, 10 Mar 2007 00:23:40 +0000 (01:23 +0100)]
nouveau: some fixes to the nv04 state code.
Stephane Marchesin [Sat, 10 Mar 2007 00:23:14 +0000 (01:23 +0100)]
nouveau: add a fifo size debug check.
Michel Dänzer [Fri, 9 Mar 2007 23:19:17 +0000 (00:19 +0100)]
Merge branch 'i915tex-pageflip'
Michel Dänzer [Fri, 9 Mar 2007 19:00:13 +0000 (20:00 +0100)]
i915tex: Wait for pending scheduled flips before switching vsync pipe.
This avoids hangs when the vblank sequence numbers are not in sync between
pipes, in particular when they run at different refresh rates.
Michel Dänzer [Fri, 9 Mar 2007 18:56:55 +0000 (19:56 +0100)]
i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.
Michel Dänzer [Fri, 9 Mar 2007 16:52:29 +0000 (17:52 +0100)]
i915tex: Sync pages between pipes immediately again.
This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction
incorrectly and should also work correctly with applications that render to the
front buffer.
Michel Dänzer [Fri, 9 Mar 2007 16:41:04 +0000 (17:41 +0100)]
i915tex: Do not wait for pending flips on both pipes at the same time.
The MI_WAIT_FOR_EVENT instruction does not support waiting for several events
at once, so this should fix the lockups with page flipping when both pipes are
enabled.
Brian [Fri, 9 Mar 2007 16:08:41 +0000 (09:08 -0700)]
New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to fix glGetTexImage(GL_LUMINANCE) bug #10232.
Michel Dänzer [Fri, 9 Mar 2007 08:43:17 +0000 (09:43 +0100)]
r300: Also update window state when it's already bound but its stamp changed.
And set new cliprects before deriving other state from them. This ensures
cliprects aren't accessed after having been freed.
Thanks to Panagiotis Papadakos for testing various iterations of this.
Xiang, Haihao [Thu, 8 Mar 2007 14:54:14 +0000 (22:54 +0800)]
remove a if-statement
glMaterial changes the current specular exponent or glLight changes
the intensity distribution of the light, but _mesa_update_state doesn't
update the corresponding light table. So they must be updated at this time.
J.Jansen [Thu, 8 Mar 2007 08:53:28 +0000 (09:53 +0100)]
Updates of the OpenVMS makefiles.
-include missing definitions
-add files to compile
-remove files from compile list which are removed from the repositry
-add support for vbo
new file: src/mesa/vbo/descrip.mms
modified: src/mesa/descrip.mms
modified: src/mesa/drivers/osmesa/descrip.mms
modified: src/mesa/drivers/x11/descrip.mms
modified: src/mesa/swrast_setup/descrip.mms
modified: src/mesa/tnl/descrip.mms
Michel Dänzer [Wed, 7 Mar 2007 17:01:39 +0000 (18:01 +0100)]
i915tex: Set framebuffer size to match window before calling _mesa_make_current.
Fixes issues with apps that don't call glViewport by default.
Michel Dänzer [Wed, 7 Mar 2007 16:52:44 +0000 (17:52 +0100)]
i945_miptree_layout: Adapt cubemap fixes from i915_miptree_layout.
Cubemaps aren't working fully correctly yet, but at least they don't seem to
cause crashes anymore.
Brian [Tue, 6 Mar 2007 23:33:00 +0000 (16:33 -0700)]
destroy window during cleanup
Brian [Tue, 6 Mar 2007 23:27:23 +0000 (16:27 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Tue, 6 Mar 2007 23:26:22 +0000 (16:26 -0700)]
explicit calls to _mesa_unreference_framebuffer() not always needed now
Brian [Tue, 6 Mar 2007 23:26:02 +0000 (16:26 -0700)]
unreference old framebuffer, if needed, in _mesa_reference_framebuffer()
Brian [Tue, 6 Mar 2007 23:25:07 +0000 (16:25 -0700)]
fix renderbuffer mem leak
Brian [Tue, 6 Mar 2007 23:24:48 +0000 (16:24 -0700)]
formatting fix
Ian Romanick [Tue, 6 Mar 2007 19:50:33 +0000 (11:50 -0800)]
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
Ian Romanick [Tue, 6 Mar 2007 19:50:21 +0000 (11:50 -0800)]
Fix cut-and-paste error in the name of GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB.
Brian [Tue, 6 Mar 2007 17:07:59 +0000 (10:07 -0700)]
Fix/improve framebuffer object reference counting.
Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions
to be sure reference counting is done correctly. Additional assertions are
done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as
that's more accurate.
Brian [Tue, 6 Mar 2007 16:49:15 +0000 (09:49 -0700)]
Take care of texObj reference in _mesa_free_framebuffer_data()
Brian [Tue, 6 Mar 2007 16:03:18 +0000 (09:03 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Michel Dänzer [Tue, 6 Mar 2007 12:22:35 +0000 (13:22 +0100)]
r300: Call radeonSetCliprects from radeonMakeCurrent.
Based on a patch by Panagiotis Papadakos.
Among other things, this makes sure the framebuffer object associated with the
drawable has the correct size when _mesa_make_current is called, so the default
viewport is set up correctly.
Also update radeon->lastStamp in radeonSetCliprects.
Xiang, Haihao [Tue, 6 Mar 2007 07:47:37 +0000 (15:47 +0800)]
fix for bug#10182
call _mesa_dereference_framebuffer instead of _mesa_dereference_framebuffer
in i810, i915, i915tex, i965 drivers.
Xiang, Haihao [Mon, 5 Mar 2007 14:18:21 +0000 (22:18 +0800)]
fix for bug#9971
call swsetup_Wakeup before falling back to software rendering
Keith Whitwell [Sun, 4 Mar 2007 21:47:05 +0000 (21:47 +0000)]
Propogate UsesKill information.
Christoph Bill [Thu, 1 Mar 2007 20:11:45 +0000 (21:11 +0100)]
r300: Use register name & add a register about shading.
Christoph Bill [Thu, 1 Mar 2007 19:45:04 +0000 (20:45 +0100)]
r300: Use reg definition when available & add missing reg definition.
Christoph Bill [Thu, 1 Mar 2007 19:40:25 +0000 (20:40 +0100)]
Add early register descritpion.
This need more work on case where we can disable
or enable early (stencil, alpha might need it to
be disable).
Rune Petersen [Thu, 1 Mar 2007 19:36:19 +0000 (20:36 +0100)]
Optimize cos&sin instruction a bit more.
Brian [Thu, 1 Mar 2007 16:40:21 +0000 (09:40 -0700)]
move oldFb decl into tighter scopes
Brian [Thu, 1 Mar 2007 16:17:01 +0000 (09:17 -0700)]
fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in general
Brian [Thu, 1 Mar 2007 14:56:11 +0000 (07:56 -0700)]
fix clipping, display name, warnings
Brian [Thu, 1 Mar 2007 14:42:42 +0000 (07:42 -0700)]
s/unsigned int/size_t/ (bug 10135)
Brian [Thu, 1 Mar 2007 14:39:27 +0000 (07:39 -0700)]
include assert.h
Brian [Wed, 28 Feb 2007 18:58:30 +0000 (11:58 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Wed, 28 Feb 2007 18:58:06 +0000 (11:58 -0700)]
s/ARB/MESA/ in extension check (bug 10126)
Michel Dänzer [Wed, 28 Feb 2007 16:46:07 +0000 (17:46 +0100)]
i915tex: Sync pages differently when crossing pipe borders.
Don't flip (up to twice) immediately but just arrange things such that the
pages will be in sync on both pipes on the next flip.
Michel Dänzer [Wed, 28 Feb 2007 16:42:54 +0000 (17:42 +0100)]
i915tex: Check that intel_rb is valid before trying to add it to an fbo.
Michel Dänzer [Wed, 28 Feb 2007 15:05:49 +0000 (16:05 +0100)]
i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip.
Ben Skeggs [Wed, 28 Feb 2007 04:31:28 +0000 (15:31 +1100)]
nouveau: drm interface changes
Brian [Tue, 27 Feb 2007 18:09:48 +0000 (11:09 -0700)]
fix comment
Brian [Tue, 27 Feb 2007 18:09:28 +0000 (11:09 -0700)]
assert that fb->RefCount==0 in _mesa_free_framebuffer_data()
Brian [Tue, 27 Feb 2007 00:05:52 +0000 (17:05 -0700)]
fix mem leak
Brian [Mon, 26 Feb 2007 18:39:17 +0000 (11:39 -0700)]
Rewrite code related to buffer destruction.
Do proper reference counting so that we don't wind up with dangling
references to deleted windows/framebuffers. Should help with bug 7205.
Brian [Mon, 26 Feb 2007 18:37:52 +0000 (11:37 -0700)]
if renderbuffer ptr is null, just return
Brian [Mon, 26 Feb 2007 18:37:37 +0000 (11:37 -0700)]
Do proper framebuffer refcounting in _mesa_make_current().
Also, added DeletePending field to gl_framebuffer used when a window has been
deleted, but there still may be rendering contexts attached to the
gl_framebuffer object.
Brian [Mon, 26 Feb 2007 16:19:32 +0000 (09:19 -0700)]
updated version with new Khronos license/copyright
Panagiotis Papadakos [Mon, 26 Feb 2007 14:59:14 +0000 (07:59 -0700)]
s/pdp/prp/ in DoBindContext()
Panagiotis Papadakos [Mon, 26 Feb 2007 14:57:31 +0000 (07:57 -0700)]
add missing param to _mesa_warning()
Brian [Mon, 26 Feb 2007 14:56:43 +0000 (07:56 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Aapo Tahkola [Sun, 25 Feb 2007 23:51:39 +0000 (01:51 +0200)]
Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)
Brian [Sun, 25 Feb 2007 01:29:57 +0000 (18:29 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Sun, 25 Feb 2007 01:15:45 +0000 (18:15 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Brian [Sun, 25 Feb 2007 01:14:53 +0000 (18:14 -0700)]
Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting).
In i915_miptree_layout() change the width, height parameters that are passed
to intel_miptree_set_level_info(). As it was, the width, height values were
larger than the source image dimensions and we segfaulted in memcpy() when
copying the original texture data into the texture buffer region.
This fix should probably be checked by someone more familiar with the code (Keith?)
Brian [Sun, 25 Feb 2007 01:11:09 +0000 (18:11 -0700)]
clean-up, comment code
Brian [Sun, 25 Feb 2007 01:10:41 +0000 (18:10 -0700)]
make src ptr const
Ian Romanick [Fri, 23 Feb 2007 23:15:50 +0000 (15:15 -0800)]
Fix GLAPIENTRYP for OS X.
Fix build problems related to incorrect define of GLAPIENTRYP on OS X.
Reported by bushing on IRC.
Roland Scheidegger [Fri, 23 Feb 2007 00:43:13 +0000 (01:43 +0100)]
r200 fix broken (by new input handling) fogcoord
Michel Dänzer [Thu, 22 Feb 2007 16:24:09 +0000 (17:24 +0100)]
i915tex: Schedule flips when possible.
Also move vsync related state from context to window, so it's possible to
schedule several flips ahead of time with triple buffering.
Brian [Thu, 22 Feb 2007 15:57:36 +0000 (08:57 -0700)]
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Dave Airlie [Thu, 22 Feb 2007 08:33:50 +0000 (19:33 +1100)]
r300: get rid of CB_DPATH legacy
Ian Romanick [Tue, 20 Feb 2007 23:19:23 +0000 (15:19 -0800)]
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
Ian Romanick [Tue, 20 Feb 2007 23:18:53 +0000 (15:18 -0800)]
Delete two invalid assertions.
These two assertions are invalid for a couple reasons. Primarily,
when this code is compiled into the X-server, the symbols
"glSecondaryColor3fEXT" and "glPointParameterivNV" do not exist.
Patrice Mandin [Tue, 20 Feb 2007 22:17:09 +0000 (23:17 +0100)]
nouveau: nv10: grr, ctx->DrawBuffer invalid?
Patrice Mandin [Tue, 20 Feb 2007 22:13:48 +0000 (23:13 +0100)]
nouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScale
Patrice Mandin [Tue, 20 Feb 2007 22:04:21 +0000 (23:04 +0100)]
nouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bits
Michel Dänzer [Tue, 20 Feb 2007 18:14:23 +0000 (19:14 +0100)]
i915tex: Triple buffering support, only effective with page flipping so far.
Pending flips are tracked per renderbuffer and the colour renderbuffer
attachments of window framebuffer objects are rotated on flips to avoid
stalling the pipeline for pending flips unnecessarily.
Michel Dänzer [Thu, 15 Feb 2007 17:43:46 +0000 (18:43 +0100)]
intelWindowMoved: Some debugging output was accidentally left always enabled.
Michel Dänzer [Thu, 15 Feb 2007 17:41:40 +0000 (18:41 +0100)]
intelRotateWindow: Only use back buffer and cliprects in very specific cases.
Michel Dänzer [Thu, 15 Feb 2007 17:33:53 +0000 (18:33 +0100)]
intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests.
intel_get_rb_region already takes the current page into account.
This would result in broken rendering when multiple 3D windows are visible
and the pages are reversed.
Michel Dänzer [Thu, 15 Feb 2007 15:30:40 +0000 (16:30 +0100)]
i915tex: Support page flipping on both CRTCs independently.
No longer track page flipping state per context but per window, via struct
intel_framebuffer which wraps struct gl_framebuffer for windows.
Michel Dänzer [Fri, 2 Feb 2007 16:10:25 +0000 (17:10 +0100)]
i915tex: Make page flipping work again.
Adam Jackson [Tue, 20 Feb 2007 17:48:50 +0000 (12:48 -0500)]
Fix parallel make in r300 driver.
Brian [Tue, 20 Feb 2007 16:24:06 +0000 (09:24 -0700)]
more branch info
Brian [Tue, 20 Feb 2007 15:41:15 +0000 (08:41 -0700)]
glxext.h version 18
Brian [Tue, 20 Feb 2007 15:40:55 +0000 (08:40 -0700)]
updated to version 18
Brian [Tue, 20 Feb 2007 15:38:46 +0000 (08:38 -0700)]
glext.h version 39
Brian [Tue, 20 Feb 2007 15:38:29 +0000 (08:38 -0700)]
updated to version 39
Christian Neumair [Tue, 20 Feb 2007 15:11:11 +0000 (08:11 -0700)]
set log level w/ env var
Thomas Hellstrom [Mon, 19 Feb 2007 18:57:30 +0000 (19:57 +0100)]
i915tex: Fix performance regression with new vbo code and latest drm.
With current memory preferences, vbos ended up in AGP space
where reading from them got a bit slow.
Make sure buffer objects are initially created in system memory.
Sean D'Epagnier [Sat, 17 Feb 2007 00:46:11 +0000 (17:46 -0700)]
Merge branch 'master' of git+ssh://geckosenator@git.freedesktop.org/git/mesa/mesa
Sean D'Epagnier [Sat, 17 Feb 2007 00:44:13 +0000 (17:44 -0700)]
Commiting a few minor fixes to glut fbdev (segfault on a separate stack)
Updated all drivers that used the old _ac_ functions to use
the new _vbo_ functions. I know this fixed the fbdev driver,
it looks like it might fix some other drivers too.
Jerome Glisse [Fri, 16 Feb 2007 22:22:04 +0000 (23:22 +0100)]
doxygen: update doxygen project number to 6.5
doxygen number was laggin behind a bit.
Jerome Glisse [Fri, 16 Feb 2007 22:18:56 +0000 (23:18 +0100)]
Update doxygen doc to reflet vbo changes.
Update doxygen doc, array_cache no longuer exist,
new shiny vbo modules is there. Tested on unix,
but i think i didn't broke that bat :).
Patrice Mandin [Fri, 16 Feb 2007 21:39:28 +0000 (22:39 +0100)]
nouveau: nv50: update