Revisions of Mesa

Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 77)
- Mesa 7.5 RC1
  * new features like e.g. Gallium3D
  * various bug fixes
  * removed some GL_SGIX_* extensions, which have been superseded
    by ARB versions
- obsoletes mesa-commit-88b702e.diff, mesa-commit-954dfba.diff,
  intel_release_static_region.patch
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 76)
- Mesa 7.4.4
  * Fixed i965/i915 segfault in screen destruction (bfo #22408) 
- adjusted intel_release_static_region.patch
- obsoletes Mesa-intel_unref_fb.patch
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 75)
- Mesa-intel_unref_fb.patch
  * intel: call _mesa_unreference_framebuffer() in
    intelDestroyBuffer(). This was a call to 
    _mesa_reference_framebuffer(ptr, NULL) but the NULL pointer is
    incorrect in Mesa 7.4.x. Fixes a failed assertion during screen
    tear-down.
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 74)
Copy from home:j-engel:branches:X11:XOrg/Mesa via accept of submit request 12926
Request was accepted with message:
reviewed ok.
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 73)
- Mesa 7.4.3
  * Fixed texture object reference counting bug (bug 21756)
  * Allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT point
    (SF bug 2793846)
  * Added missing glGet case for GL_VERTEX_ARRAY_BINDING_APPLE
  * Fixed some OSMesa build issues
  * Fixed a vertex buffer object crash
  * Fixed broken glTexImage3D() when image type = GL_BITMAP
  * Fixed some GLSL preprocessor bugs
  * Fixed framebuffer mem leak in i945/i965 DRI drivers
  * Fixed texture coordinate repeat bug in swrast (bug 21872)
  * Fixed incorrect viewport clamping (lower bound is zero, not one)
  * GLX fix for glean's makeCurrent test case
- obsoletes reverted applied mesa_7_4_branch-commit-63cde0e.diff
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 72)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 71)
- mesa_7_4_branch-commit-63cde0e.diff
  * commit, which introduced a regression; revert it (bnc #504578) 
--This line, and those below, will be ignored--

M    Mesa.changes
M    Mesa.spec
A    mesa_7_4_branch-commit-63cde0e.diff

Diff for working copy: .
Index: Mesa.changes
===================================================================

--- Mesa.changes     (revision 70) 
+++ Mesa.changes     (working copy) 
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue May 19 22:23:57 CEST 2009 - sndirsch@suse.de
+
+- mesa_7_4_branch-commit-63cde0e.diff
+  * commit, which introduced a regression; revert it (bnc #504578) 
+
 -------------------------------------------------------------------
 Fri May 15 18:25:09 CEST 2009 - sndirsch@suse.de
 

Index: Mesa.spec
===================================================================

--- Mesa.spec     (revision 70) 
+++ Mesa.spec     (working copy) 
@@ -33,7 +33,7 @@
 %endif
 #
 Version:        7.4.2
-Release:        1
+Release:        2
 Summary:        Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL
 Source:         MesaLib-%{version}.tar.bz2
 Source1:        MesaDemos-%{version}.tar.bz2
@@ -47,6 +47,7 @@
 Patch10:        mesa-commit-88b702e.diff
 Patch14:        intel_release_static_region.patch
 Patch15:        Mesa_indirect_old_xserver_compatibility.diff
+Patch16:        mesa_7_4_branch-commit-63cde0e.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -123,6 +124,7 @@
 %patch10 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1 -R
 
 %build
 
@@ -211,6 +213,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Tue May 19 2009 sndirsch@suse.de
+- mesa_7_4_branch-commit-63cde0e.diff
+  * commit, which introduced a regression; revert it (bnc #504578)
 * Fri May 15 2009 sndirsch@suse.de
 - Mesa 7.4.2
   * Fixed segfault when rendering to front buffer with DRI 1.

Index: mesa_7_4_branch-commit-63cde0e.diff
===================================================================

--- mesa_7_4_branch-commit-63cde0e.diff     (revision 70) 
+++ mesa_7_4_branch-commit-63cde0e.diff     (working copy) 
@@ -1,0 +1,32 @@
+commit 63cde0ea0e2bc85005136c353c363777488804d2
+Author: Brian Paul <brianp@vmware.com>
+Date:   Mon May 11 09:47:17 2009 -0600
+
+    mesa: Fixed a texture memory leak
+    
+    The current texture for any particular texture unit is given an additional
+    reference in update_texture_state(); but if the context is closed before
+    that texture can be released (which is quite frequent in normal use, unless
+    a program unbinds and deletes the texture and renders without it to force
+    a call to update_texture_state(), the memory is lost.
+    
+    This affects general Mesa; but the i965 is particularly affected because
+    it allocates a considerable amount of additional memory for each allocated
+    texture.
+    
+    (cherry picked from master, commit c230767d6956b63a2b101acb48f98823bb5dd31a)
+
+diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
+index d172c5b..348a2d9 100644
+--- a/src/mesa/main/texstate.c
++++ b/src/mesa/main/texstate.c
+@@ -802,6 +802,9 @@ _mesa_free_texture_data(GLcontext *ctx)
+    /* unreference current textures */
+    for (u = 0; u < MAX_TEXTURE_IMAGE_UNITS; u++) {
+       struct gl_texture_unit *unit = ctx->Texture.Unit + u;
++      /* The _Current texture could account for another reference */
++      _mesa_reference_texobj(&ctx->Texture.Unit[u]._Current, NULL);
++
+       for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) {
+          _mesa_reference_texobj(&unit->CurrentTex[tgt], NULL);
+       }
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 70)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 69)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 68)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 67)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 66)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 65)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 64)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 63)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 62)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 61)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 60)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 59)
Stefan Dirsch's avatar Stefan Dirsch (sndirsch) committed (revision 58)
Displaying revisions 1221 - 1240 of 1297
openSUSE Build Service is sponsored by