Commit Graph

2236 Commits

Author SHA1 Message Date
Tilman Sauerbeck
63f13e01ee Bug #7097: do case-insensitive comparison for some hotkeys.
xkb's strcasecmp implementation has been moved to the dix so it's now
safe to just use strcasecmp().
2006-07-08 11:33:44 +02:00
Kristian Høgsberg
5416f90e9c Implement GLX_MESA_copy_sub_buffer. 2006-07-06 21:25:29 -04:00
Kristian Høgsberg
b84374b291 Add GLX_MESA_copy_sub_buffer marshalling support. 2006-07-06 21:25:29 -04:00
Ed Catmur
2152e2d364 Remove hardcoded 'lib' in XPRINTDIR. 2006-07-06 17:45:36 -07:00
Ed Catmur
233c004641 Generate xprint.pre from xprint.cpp. 2006-07-06 17:41:53 -07:00
Adam Jackson
b3e4d1d1f4 PPC64 build fix. 2006-07-06 18:51:29 -04:00
Keith Packard
f847f3c0a9 xorgcfg now needs libxkbui version 1.0.2 or better.
Old versions of libxkbui use XkbStrCaseCmp which doesn't exist any longer;
the server fails to link with that version of the libkbui library, so
require the current version (1.0.2).
2006-07-06 15:33:31 -07:00
Keith Packard
27ffd7e03c GL proto version 1.4.7 needed for texture-from-pixmap defines.
GLX_TEXTURE_TARGET_EXT and GLX_TEXTURE_RECTANGLE_EXT are defined as a part
of the new texture from pixmap GL extension in gl proto version 1.4.7 and
are now used by the X server code.
2006-07-06 14:43:10 -07:00
Adam Jackson
d7a96dd6f1 Switch the default mouse device on Linux to /dev/input/mice. 2006-07-06 17:39:14 -04:00
Ian Romanick
8d07ee070e Refactor linuxGetIOSize and linuxGetSizes. Eliminate the unnecessary
optimization in the search loop.
2006-07-06 12:48:51 -07:00
Adam Jackson
704e645207 Remind dlloader that it needs to search the global scope as well as the
loaded modules.  Fixes LoaderSymbol() on symbols provided by the server.
Spotted by Aaron Plattner.
2006-07-06 14:22:33 -04:00
Kristian Høgsberg
28b95fd9d1 Drop unused GL/include subtree.
Woo, less Makefile's to generate.
2006-07-06 03:25:38 -04:00
Kristian Høgsberg
fc1a55671d Implement glXCreateWindow and glXDestroyWindow. 2006-07-06 00:28:54 -04:00
Kristian Høgsberg
ee012588d2 Move __GLXdrawable lookup and creation into GetDrawableOrPixmap.
Also refactors __glXSwapBuffers to use GetDrawableOrPixmap for
getting the __GLXdrawable.  This patch paves the way for GLXWindows
with XIDs different from the X Windows they are created for, a
prerequisite for glXCreateWindow().
2006-07-06 00:28:54 -04:00
Kristian Høgsberg
8b5bc6a9ab Drop global GLX error integer variables and use __glXError() instead.
Also drop glxerror.h (__glXError is now declared in glxserver.h)
and global.c (last remaining globals are in glxext.c now).

With this change we now support all GLX 1.3 error codes.
2006-07-06 00:28:53 -04:00
Kristian Høgsberg
7cf3ec7b59 Move createDrawable from __GLXcontext to __GLXscreen. 2006-07-06 00:28:53 -04:00
Kristian Høgsberg
eea8efe451 Add marshalling for GLX 1.3 requests.
Also, hook up glXGetDrawableAttributes and glXQueryContext to existing
DoGetDrawableAttributes and __glXQueryContextInfoEXT.
2006-07-06 00:28:53 -04:00
Greg Kroah-Hartman
eb35f812a5 add another file to .gitignore 2006-07-05 13:27:26 -07:00
Greg Kroah-Hartman
863f5cc31b fix compiler warning in hw/xfree86/common/xf86Config.c 2006-07-05 13:26:34 -07:00
Greg Kroah-Hartman
f059b61ab3 fix compiler warning about xnestRecolorCursor() not being defined 2006-07-05 11:47:25 -07:00
Greg Kroah-Hartman
cc3e99f747 fix some more compiler warnings due to defines being declared differently 2006-07-05 10:13:19 -07:00
Greg Kroah-Hartman
59836c0f2a fix wrong function pointer type in hw/dmx/dmxcmap.c 2006-07-05 09:30:48 -07:00
Eric Anholt
12563db59d Revert "Optimize out computing a gradient pixel if the mask value is 0."
This reverts cf46242e33 commit.  It wasn't meant
to be pushed to master yet, and doesn't work.
2006-07-03 12:52:27 -07:00
Eric Anholt
002e28c12c Correct AGP memory deallocation argument on *BSD.
This fixes leaks and eventual crashes with RandR resizing on Intel.
2006-07-03 12:48:12 -07:00
Eric Anholt
cf46242e33 Optimize out computing a gradient pixel if the mask value is 0.
Obtained from:	kdrive CVS (DavidR XGL fb/ megapatch)
2006-07-03 20:00:50 +02:00
Eric Anholt
a838fb70c5 Bump server version to 7.1.99.2 for gradient and repeat fixes. 2006-07-03 19:24:01 +02:00
Eric Anholt
25d871d984 Fix source picture filter check for multiple screens.
Now, we only check for filter commonality if we're operating on a source
picture, and we compare the id (screen-independent index of the filter name)
rather than the pointer to the filter (per-screen state).
2006-07-03 19:22:26 +02:00
Eric Anholt
7106a77df3 Fix bugs in support for new repeatTypes in XAA and EXA.
EXA now won't pass pictures with new repeatTypes to drivers.  We can add a flag
for them to support it at a later time.
2006-07-03 16:41:44 +02:00
Eric Anholt
f5e92542a1 Bug #7366: Fix crashes when setting filters on source pictures.
Now, filters may only be set on source pictures when the filter is common to
all screens.  Also, like SetPictureTransform, ChangePictureFilter is now not
called on source pictures.
2006-07-03 16:40:59 +02:00
Eric Anholt
6ef4579139 Bug #7366: Fix two crashes in operations on source pictures.
A screen's ChangePictureTransform now isn't called when changing the transform,
as source pictures aren't associated with screens.  Also, attempting to set
an AlphaMap to a source picture will fail with BadMatch just like a Window
would, preventing another crash.
2006-07-03 16:40:11 +02:00
Rudo Thomas
50a3e1ad18 Missing close parenthesis in one of the setuid() fixes. 2006-07-01 12:34:36 -07:00
Keith Packard
124a81eb38 Merge branch 'origin' 2006-07-01 11:12:50 -07:00
Paul Mackerras
d3d6c5f4d0 Bug #7381: Coordinates get wrapped in accelerated line drawing on pixmap
XAAPolylinesWideSolid was adding the drawable origin onto each element in the
pPts array.  Since the values got stored back into the pPts array, they got
truncated to 16 bits, causing the overflow I saw.  This patch avoids storing
the coords back into the pPts array (and actually reduces the size of the
code too :).  Now the 32-bit sum of coords + origin doesn't get truncated to
16 bits, and the problem is solved.
2006-07-01 11:10:18 -07:00
Jens Granseuer
179737d4a0 Bug 7145: fix build with gcc 2.95 & other c89 compilers
Move variable declarations to start of blocks as required by c89
2006-06-30 15:56:40 -07:00
Martin Bochnig
6bd4c25439 Updated Solaris aperture driver to build on sun4v & amd64 kernels
Updated for Solaris 10 changes to DDI
2006-06-29 16:25:36 -07:00
Kristian Høgsberg
54d9acd511 Add damage tracking to GLX_EXT_tfp implementation.
- Only update when pixmap content actually change;
- Only update the regions that acutally changed.

This is a worthwhile optimization, but it doesn't completely remove
the bottleneck, as mesa still uploads then entire texture whenever
it changes.
2006-06-27 19:44:52 -04:00
Eric Anholt
adfe8e7437 Bump server release to 7.1.99.1.
This will be important for a couple of cairo workaround tests.
2006-06-27 21:49:00 +02:00
Eric Anholt
63c169e3b1 Fix MMX Saturate implementation.
The code was expanding the source blend factor from the wrong channel.  Fixes
cairo's clip-operator test.
2006-06-27 04:14:03 +02:00
Alan Coopersmith
ff6b59a0db Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver 2006-06-26 13:02:33 -07:00
Peter Breitenlohner
b3c869304c Free small, one-time memory leak in xdmcp -from handling
Part of Patch #6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046>
2006-06-26 10:48:44 -07:00
Eric Anholt
48c871564d Move EXA_PM_IS_SOLID() to the public API, since drivers will want it frequently. 2006-06-26 15:57:32 +02:00
George Fufutos
afb84c2fca Bug #6911: Check return value of exaGetPixelFromRGBA(). 2006-06-24 15:23:14 +02:00
Michel Dänzer
930b9a069a Bug #6818: Avoid infinite loop in exaLog2() with negative arguments. 2006-06-24 15:21:17 +02:00
Michel Dänzer
36756fdb2d Make sure <execinfo.h> is actually included when needed.
configure only defines HAVE_BACKTRACE, not HAVE_EXECINFO_H.

This could cause problems on platforms where the size of a pointer is greater
than that of an integer, see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363218 .
2006-06-24 15:09:24 +02:00
Michel Dänzer
4426215a6e Bug #7213: Fix the XFree86-DRI extension for byte-swapped clients.
These clients are by definition non-local and thus not direct rendering
capable, but they still need the QueryVersion and QueryDirectRenderingCapable
requests to find out cleanly.
2006-06-24 15:02:56 +02:00
Michel Dänzer
a195a3debc Fix byte swapping in some GLX requests. 2006-06-24 14:54:52 +02:00
Eric Anholt
bc6cfde198 Use correct OSNAME setting so we can find os-specific modules like libdrm. 2006-06-23 20:07:34 -07:00
Eric Anholt
c7ac485a59 Remove the default case from fbcompose.c switches which should cover all cases.
Instead, stick the NULL return default case afterwards, so that the compiler can
warn us when we've got unimplemented cases.  Removes some unimplemented and
unused 8bpp, depth 4 picture format names.
2006-06-23 13:56:20 -07:00
Eric Anholt
2cf1f39ca9 Add a manpage for EXA. 2006-06-23 13:56:20 -07:00
Adam Jackson
d67fd10696 Add kdrive servers to .gitignore 2006-06-22 12:47:51 -04:00