matthieu
e9d6b4f7bf
Update to libxcb 1.4. tested by naddy@ on a packages bulk build.
2009-09-05 15:54:43 +00:00
matthieu
8d2fbc2a36
update
2009-09-05 15:49:29 +00:00
tobias
6e4f4540c2
style
...
ok oga
2009-09-05 14:10:11 +00:00
todd
96c773e112
sync
2009-09-02 01:08:45 +00:00
matthieu
d0027b4c73
update
2009-08-29 14:24:11 +00:00
okan
c3064dbf27
unroll the CCTOSC macro; from Thomas Pfaff
...
ok oga@
2009-08-27 01:38:08 +00:00
matthieu
7370432720
Remove compat directories that are not needed here. ok oga@.
2009-08-25 19:08:29 +00:00
matthieu
f74c2dba55
update do xf86-video-ati 6.12.2
...
This has been in snapshots for weeks. ok oga@, todd@.
2009-08-25 18:51:44 +00:00
okan
2f17ef273a
static; ok oga@
2009-08-25 12:05:11 +00:00
okan
1facf8e143
we are not doing access control here, so replace the "check if file is
...
executable" goo with access(2).
originally from jacekm@ long time ago.
"i can live with that" oga@
2009-08-25 02:02:59 +00:00
oga
1a74c54fd8
Reduce duplciation of code for checking modifiers in key/mouse bindings.
...
shaves a bunch of bytes.
ok okan@
2009-08-25 01:44:39 +00:00
oga
9924c77a57
Instead of calling conf_bind*() 50 gazillion times in a row, store an
...
array with all the parameters in and just loop over that to setup the
default keybindings - it's so much easier to read.
okan@ "love love love"ed this
2009-08-25 01:42:05 +00:00
oga
78deb6c3b0
Instead of messing around everytime we do a resize, just clamp the
...
resize increments to a minimum of one, and use it unconditionally.
"you've convinced me, do it!" okan@
2009-08-25 01:32:40 +00:00
okan
30e985c9db
unroll macro; ok oga@
2009-08-25 01:26:09 +00:00
oga
081d2deacd
Add a keybinding to allow horizontal maximisation of a window (CMS-enter).
...
based on a diff by Thomas Pfaff; thanks!
ok okan@
2009-08-24 23:54:41 +00:00
okan
5111e27310
bring together gathering, calculating and applying of size hints;
...
additionally, respect aspect ratio hints.
ok oga@
2009-08-24 23:49:04 +00:00
oga
67c21c1d1a
Instead of having a function that just calls TAILQ_INIT on a global, use
...
TAILQ_HEAD_INITIALIZER() and drop the function.
ok okan@
2009-08-24 21:22:48 +00:00
matthieu
4588004a34
updates
2009-08-24 19:16:03 +00:00
oga
5407ee5608
instead of checking for flags in the client context, then removing them.
...
e.g.:
if (flags & flags_we_care_about)
flags &= ~(flags_we_care_about);
just whack the flags unconditionally, it's simpler.
okan@ agrees.
2009-08-24 17:04:39 +00:00
todd
578cc6364e
sync
2009-08-24 14:51:03 +00:00
matthieu
7771e1d22c
update to libXt 1.0.6
2009-08-23 15:56:08 +00:00
matthieu
b821fafa65
update to libSM 1.1.1
2009-08-23 14:08:00 +00:00
matthieu
3e1072ee96
update to libFS 1.0.2
2009-08-23 14:00:11 +00:00
matthieu
06111d4dcb
updates
2009-08-18 20:46:33 +00:00
todd
774210547f
sync
2009-08-09 01:51:30 +00:00
okan
a75b749328
remove unnecessary Ar macros
...
ok jmc@
2009-08-08 17:27:51 +00:00
okan
fb65a7fcc0
remove unnecessary Dq macro; based on a diff from Martin Toft
...
feedback and ok jmc@, martynas@
2009-08-08 00:25:52 +00:00
oga
5f44320c03
Pull in some code from 2.8 and current so that dri2 works correctly with
...
xserver 1.6.2. When dri2 is not in use, this commit does nothing.
ok matthieu@
2009-08-06 16:02:07 +00:00
oga
9997d7a073
backport some code from mesa current (and 7.5) so that the dri2 protocol
...
is correctly handled. without fixes to mesa and the ddx, the so-called
backwards compat goop that was added just plain does not work and ends
up with rendering bullshit.
2009-08-06 15:50:02 +00:00
oga
11a94b33b4
update dri2proto to the latest version. (needed for dri2 with xserver
...
1.6.2 to work correctly)
ok matthieu@
2009-08-06 15:36:45 +00:00
todd
a428bddded
sync
2009-08-04 21:52:36 +00:00
todd
5438d9bb14
sync
2009-08-04 20:54:46 +00:00
matthieu
7edc2b5a56
Enable XCB on architectures with shared libs.
...
requested by sthen@.
2009-08-04 15:45:41 +00:00
matthieu
9aa70ccd38
updates
2009-08-02 17:02:09 +00:00
matthieu
b9575da0ef
OpenBSD's gcc 3.3 is capable of handling the MMX code of pixman.
...
Change the configure test so that it gets enabled.
Tested by marco@ ajacoutot@ ckuethe@ and others.
2009-07-28 19:01:29 +00:00
matthieu
63f17666fc
updates
2009-07-24 19:51:21 +00:00
matthieu
8ab3717763
add -I${XCBUTIL}/${SUBLIB} to CPPFLAGS for gcc 2.95
2009-07-20 20:57:57 +00:00
matthieu
7d22228cff
regen after gcc 2.95 build fix
2009-07-20 20:55:45 +00:00
matthieu
ee57c931d5
gcc 2.95 build fixes.
2009-07-20 20:55:10 +00:00
kettenis
276db15ee6
Disable hardware cursor before we exit. From NetBSD.
...
ok oga@
2009-07-19 14:46:59 +00:00
matthieu
160be1ef33
Initialize ed.used_stdout at the beginning of do_extract() to avoid
...
reading uninitialized memory later.
Reported by Philip Guenther. Thanks.
2009-07-19 08:12:09 +00:00
matthieu
0d63acfc0e
Fix build when XSRCDIR is not defined in /etc/mk.conf.
...
Problem reported by Chris Kuethe. Thanks.
2009-07-18 20:54:10 +00:00
matthieu
07600073fd
Correct patch for libpciaccess issue from X.Org bug 18122, by
...
Marien Zwart. Tested by Pierre Cardoso.
2009-07-18 20:16:00 +00:00
matthieu
386cb73aae
Add XCBPROTO_VERSION substitution for xcb.pc.
...
Problem reported by David Coppa. Thanks.
2009-07-18 20:06:46 +00:00
oga
9a5da84da5
Since we don't accelerate trapesoid rendering under uxa yet anyway
...
software rasterise them THEN put them into buffer objects.
read-modify-write of graphics memory is expensive.
2.5x speed increase under heavy trap rendering measured.
Another upstream backport. ok matthieu@
2009-07-18 15:02:51 +00:00
oga
2b56f07bde
Don't put glyphs pixmaps into buffer objects under uxa.
...
in the fastpath they're going straight to the glyph cache anyway and
doing so for small glyphs wastes memory since bos must be padded to page
size.
Backport from upstream (to aid gem development). ok matthieu@
2009-07-18 15:00:09 +00:00
oga
c349058b6d
Fallback if we're vt switched and we're using GEM. We're not allowed to
...
access the hardware in this situation.
Backport from upstream CURRENT.
ok matthieu@.
2009-07-18 14:58:00 +00:00
oga
37a2f39d00
Accessing a pixmap in fallback if the prepare_access() callback failed
...
is verboten
So don't do it. Treat it the same as every other prepare access call in
uxa. This patch sent upstream.
ok matthieu@
2009-07-18 14:56:03 +00:00
oga
6e3e5abe72
Fix libdrm for the buffer mapping strategy our GEM implementation will use
...
We always map through the gtt, never using the cpu mapping (this decreases
complexity a lot). Keep use of the original ioctl for this. Also don't bother
with userland domain setting, the kernel handles this correctly.
Finally, don't persist mapping across calls to unmap and remapping, this aids
with debugging, but may change later.
ok matthieu@.
2009-07-18 14:54:42 +00:00
matthieu
e7a3326e09
upstream updates
2009-07-18 07:37:15 +00:00