Find a file
George Staplin d0bb22ed78 XQuartz: Fix a memory leak with surfaces that a new test found.
xp_destroy_surface was called with a surface id of 0, due to some
premature cleanup that set it to 0.  This means the surfaces
weren't being destroyed until the window was.

The code that did that was: pDRIDrawablePriv->sid = 0;

In long running applications this leak may or may not have been
harmful.  With the old libGL the surfaces weren't destroyed until
the context was destroyed or a new context created.  In the new
libGL they are reference counted, and released much sooner, so we
ran into a resource leak more noticeably with some tests.

Make the Apple DRI code dispatch events to the client(s) for
destroyed surfaces, when a resource is destroyed.  This seems to
work in my tests, however this clearly wasn't working for a while,
so bugs may result in the future if it enables some new (unexpected)
side effects.

Also add a few helpful comments to aid in understanding the code
in the future.

Tested with the test suite, Pymol, and various Mesa demos.
(cherry picked from commit bede83eb19)
(cherry picked from commit 4fe7df2653)
2011-07-19 23:02:13 -07:00
composite composite: Support updating an arbitrary subtree 2011-01-05 11:57:31 -08:00
config config: handle device change event properly 2011-03-28 12:18:21 -07:00
damageext Set DamageSetReportAfterOp to true for the damage extension 2010-11-10 15:51:27 -08:00
dbe Clean up memory better when GetVisualInfo fails in ProcDbeGetVisualInfo 2011-05-13 23:36:28 -07:00
dix input: add POINTER_NORAW to avoid generation of raw events (#30068) 2011-07-09 14:28:28 -07:00
doc man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
exa EXA/mixed: ModifyPixmapHeader pitch fixes. (bug #33929) 2011-02-24 19:38:20 -08:00
fb fbbltone.c: Mark bitmasks as unsigned ints 2011-06-11 10:00:04 -07:00
glx glx: Remove a few lingering traces of __GLXscreen.GLXVersion 2011-07-16 13:19:27 -07:00
hw XQuartz: Fix a memory leak with surfaces that a new test found. 2011-07-19 23:02:13 -07:00
include input: add POINTER_NORAW to avoid generation of raw events (#30068) 2011-07-09 14:28:28 -07:00
m4 Add macro for detecting thread local storage support. 2011-01-08 08:42:49 -08:00
mi input: add POINTER_NORAW to avoid generation of raw events (#30068) 2011-07-09 14:28:28 -07:00
miext rootless: Fix a typo in RootlessGlyphs which resulted in a garbage value 2011-04-27 18:57:06 -07:00
os os: Silence warnings when building with clang 2011-05-11 12:26:53 -07:00
randr randr: void function cannot return value 2011-06-06 12:39:10 -04:00
record Only free pContext once when AddResource fails in ProcRecordCreateContext 2011-05-13 23:35:43 -07:00
render render: fix memory leaks in ProcRenderCompositeGlyphs 2011-04-04 17:27:12 +03:00
test test: don't test for double alignment on i386. (#36986) 2011-06-11 10:05:43 -07:00
Xext Xext: Fix buggy checks. 2011-06-29 21:38:33 -07:00
xfixes xorg: remove unused pointer values all over the server 2011-04-04 17:27:12 +03:00
Xi input: Only release SD buttons for explicit floating/reattachment (#36146) 2011-06-20 15:33:16 +10:00
xkb XkbAddGeomProperty: Fix checks for malloc failure 2011-04-07 08:36:57 +10:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac configure.ac: Bump version to 1.10.3 2011-07-08 12:12:16 -07:00
COPYING Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00
fix-miregion Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-miregion-private Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-patch-whitespace Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
fix-region Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
Makefile.am remove dolt 2010-09-30 17:44:59 -07:00
manpages.am man: refactor common code in the man pages makefiles 2011-01-18 15:11:10 -08:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
xorg-server.m4 macros: use PKG_CONFIG variable rather than executable name 2010-01-07 12:57:23 -08:00
xorg-server.pc.in config: declare xserver private dependencies in xorg-server.pc 2010-06-22 11:34:47 -07:00

					X Server

The X server accepts requests from client applications to create windows,
which are (normally rectangular) "virtual screens" that the client program
can draw into.

Windows are then composed on the actual screen by the X server
(or by a separate composite manager) as directed by the window manager,
which usually communicates with the user via graphical controls such as buttons
and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the
following article:
http://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/xserver

        http://cgit.freedesktop.org/xorg/xserver

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage