Commit Graph

2770 Commits

Author SHA1 Message Date
matthieu
95d684a05b Update to xserver 1.8. Tested by many. Ok oga@, todd@. 2010-07-27 19:02:24 +00:00
jakemsr
bdc0c150f3 $OpenBSD$ and compare width to width, not width to height 2010-07-26 23:02:06 +00:00
matthieu
ae10e3711f avoid segfault in pci_device_vgaarb_fini() when called without
initializing the library first. (This happens when invalid options
are passed to X for instance). ok kettenis@
2010-07-26 18:48:48 +00:00
sobrado
9e6242225e sort options as usual in our operating system; `usage:' is lower case;
improve usage()'s output; better indentation in usage() function.

ok jakemsr@
2010-07-26 08:09:33 +00:00
matthieu
d437e8db6c update 2010-07-25 19:55:00 +00:00
matthieu
9f50d18e65 kill trailing white space. 2010-07-25 19:53:35 +00:00
matthieu
67355d758b Fix configurations with both a stylus and an eraser.
The previous code was working by luck, since the "device busy" error
when opening the 2nd device was ignored. With xserver 1.8, xinput2 is
a bit less tolerant and causes a segfault. Problem reported by sthen@
Thanks.
2010-07-25 19:52:23 +00:00
matthieu
0f0c4a9fa0 Get rid of unused callbacks. 2010-07-25 14:35:53 +00:00
matthieu
8e75be5a1f LocalDevicePtr and InputInfoPtr are the same. Use the latter everywhere
for consistency. No code change.
2010-07-25 14:15:49 +00:00
matthieu
ef05bb6d86 A batch of font packages updates, only build-system related:
font-adobe-100dpi		1.0.1
font-adobe-75dpi		1.0.1
font-adobe-utopia-100dpi	1.0.2
font-adobe-utopia-75dpi		1.0.2
font-adobe-utopia-type1		1.0.2
font-arabic-misc		1.0.1
font-bh-100dpi			1.0.1
font-bh-75dpi			1.0.1
font-bh-lucidatypewriter-100dpi	1.0.1
font-bh-lucidatypewriter-75dpi	1.0.1
font-bh-ttf			1.0.1
font-bh-type1			1.0.1
font-bitstream-100dpi		1.0.1
font-bitstream-75dpi		1.0.1
font-bitstream-type1		1.0.1
font-cronyx-cyrillic		1.0.1
font-cursor-misc		1.0.1
font-daewoo-misc		1.0.1
font-dec-misc			1.0.1
font-ibm-type1			1.0.1
font-isas-misc			1.0.1
font-jis-misc			1.0.1
font-micro-misc			1.0.1
font-misc-cyrillic		1.0.1
font-misc-ethiopic		1.0.1
font-misc-meltho		1.0.1
font-mutt-misc			1.0.1
font-screen-cyrillic		1.0.2
font-sony-misc			1.0.1
font-sun-misc			1.0.1
font-winitzki-cyrillic		1.0.1
font-xfree86-type1		1.0.2
2010-07-25 12:04:56 +00:00
matthieu
38e36a814e Update to font-schumacher-misc 1.1.0.
Sync with Markus Kuhn's repository.
2010-07-25 11:47:40 +00:00
matthieu
7fdd9ab1f3 Update to font-misc-misc 1.1.0.
Sync with Markus Kuhn's repository.
2010-07-25 10:50:56 +00:00
jakemsr
63de478659 do not add the same size twice, and do not fall of the end of
the frame sizes array.
reported/tested mglocker
2010-07-24 22:09:08 +00:00
matthieu
62df325a54 Update font/alias to 1.0.2 2010-07-24 21:02:30 +00:00
matthieu
407bd7f69e Update fonts/encodings to 1.0.3 2010-07-24 20:54:34 +00:00
matthieu
46bd21e1f7 Update to DejaVu TrueType fonts 2.31.
This release adds a bunch of new glyphs and fixes some existing ones.
2010-07-24 20:35:26 +00:00
matthieu
2ea3879e85 Update to xf86-video-voodoo 1.2.4 2010-07-24 20:23:16 +00:00
matthieu
905ad8720a Update to xf86-video-tseng 1.2.4 2010-07-24 20:20:16 +00:00
matthieu
5ef42429ee Update to xf86-video-trident 1.3.4 2010-07-24 20:15:44 +00:00
matthieu
b797fa7ce1 Update to xf86-video-sisusb 0.9.4 2010-07-24 20:11:58 +00:00
matthieu
c339d15bc3 Update to xf86-video-rendition 4.2.4 2010-07-24 20:09:35 +00:00
matthieu
aba38d2910 Update to xf86-video-chips 1.2.3 2010-07-24 20:05:02 +00:00
matthieu
c5080356d2 Update to xf86-video-ark 0.7.3. 2010-07-24 19:56:24 +00:00
matthieu
dc70d574a1 Update to xmore 1.0.2. 2010-07-24 19:15:36 +00:00
oga
ed108ba924 Two patches cherry picked from mesa master just after 7.8 was branched
(but never made it into the 7.8 branch).

first:
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Apr 22 12:47:41 2010 -0700

    DRI2: add config query extension

    Add a new DRI2 configuration query extension.  Allows for DRI2
    client code to query for common DRI2 configuration options.

second:
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Apr 22 12:49:03 2010 -0700

    DRI2/GLX: check for vblank_mode in DRI2 GLX code

    Re-add support for the vblank_mode environment and configuration
    variable.  Useful for benchmarking and app control.

The final affect being that config and environment variables for
controlling swap mode work with dri2 now. which helps me a lot with
debugging.

ok matthieu@.
2010-07-24 19:03:21 +00:00
matthieu
5b42098572 update 2010-07-24 18:55:17 +00:00
oga
ee7fac2a85 When a dri driver dlopen()s libGL to try and get the correct symbols (in
case libGL itself was dlopen()ed), it was using "libGL.so.1" (linux
convention, doesn't work on OpenBSD). Change it to "libGL.so" so it has
a hope in hell of working.

I finally wrote this patch when trying to port perl's OpenGL modules
ages ago and i finally decided that hacking each instance of dlopening
libGL to use RTLD_GLOBAL was dumb.

ok matthieu@
2010-07-24 18:16:40 +00:00
oga
5e874c650c This is a hack.
Since mesa changed some code, GL applications have been rather nasty to
the xserver, if they are unconstrained rendering wise they spam too many
requests at the xserver and make it slow as hell (even if the cpu is
fairly idle).

There is a throttling mechanism in the xserver (1.8 at least), but that
only really works if you are doing vblank syncing (which is turned off
in our intel driver right now for unrelated reasons), and even then an unsynced
client can cause the same problem.

While a proper fix is being worked on (I am in discussion with X
developers), comment out two conditionals in the intel mesa driver so
that even when using dri2 swapbuffers we wait on the swapbuffers before
last before rendeing more, this prevents almost DoSing the server.

Tested on ironlake, 855 and 965 by me (and my matthieu as well). ok
matthieu@
2010-07-24 18:13:33 +00:00
ckuethe
e8d40eb136 allow "make build" to work, ok matthieu@ 2010-07-23 19:46:00 +00:00
miod
d2d87933f1 Remove redundant struct initialization in WildcatFBLoadPalette().
ok matthieu@
2010-07-23 15:20:33 +00:00
okan
eb3cfa8f7c fix backwards example (after r1.45 of group.c); noticed by phessler@
ok oga@ phessler@
2010-07-23 15:13:00 +00:00
jakemsr
ba52f51a58 decend into video/
reminded by phessler
2010-07-23 12:23:25 +00:00
jakemsr
3838c3aada import video(1), an application for recording and/or displaying
images from a video(4) device
ok matthieu, todd; prodding from deraadt
2010-07-23 11:33:52 +00:00
todd
08c1bbed23 sync 2010-07-20 13:51:19 +00:00
matthieu
d33a367729 One more tweak for compatibility with xserver 1.8. 2010-07-19 23:29:18 +00:00
matthieu
3b1209ba03 update 2010-07-18 21:16:55 +00:00
oga
e4c82170c3 Support the apis for getting vblank events from the drm fd. (only vblank
events for now, pageflip events require kms and thus have not yet been
added).

Bumps libdrm minor version.
2010-07-18 21:02:35 +00:00
matthieu
dd67e97c72 Fix allocation size of shadow framebuffer. Use byes, not bits.
Since the shadowfb is only used for bitsPerPixel >= 8, bitsPerPixel/8
is always the correct amount of bytes. ok miod@.
2010-07-18 20:10:12 +00:00
matthieu
3ad3fc2056 Make wildcardfb driver compatible with xserver 1.8 2010-07-18 17:49:46 +00:00
oga
1cf6df0168 Update the intel driver to (mostly) a backport of 2.12.
It is missing a few commits that I have yet to verify (ones that try and
continue if we lock the gpu rendering engine and can't reset it, for
example) taht will be verified and sent out for extra testing soon.

Should contain a bunch of speedups and some correctness improvements
(though rendercheck still gives some errors that I am looking into).

This has been in snaps since the first day of c2k10, any known issues
with just this driver have (to my knowledge) been fixed since. A problem
with macbooks pointed out by otto happens with both this and the in-tree
driver and thus doesn't stop this moving forward.

As well as the 2.12 improvements, this driver also has a backport
(partially aided by the backports in RHEL 5 kindly provided by Dave
Airlie) from the kms code of modesetting support for ironlake (arrandale
and clarkdale: the IGDs build into intel nehalem cpu dies) which has
been tested on a number of chipsets. Note that Display port and eDP
displays have not yet been worked on (and probably won't until I can
find a displayport monitor), but VGA and lvds at least are known to
work, sure beats vesa.

"no objection on my side" matthieu@, prodding (as always) from princess
marco.
2010-07-18 14:47:47 +00:00
matthieu
2afd40f212 Do not call shawdowRemove() if shadow fb was disabled. 2010-07-17 17:15:14 +00:00
matthieu
f7508ba344 update to libXext 1.1.2 2010-07-17 15:31:12 +00:00
matthieu
7da8b0321b update to libXrender 0.9.6 2010-07-17 15:28:21 +00:00
matthieu
47798031f8 Update to libXfixes 4.0.5 2010-07-17 15:21:59 +00:00
matthieu
dc33408b31 update to libXdamage 1.1.3 2010-07-17 15:16:03 +00:00
matthieu
93bf0d405e Update to libXcomposite 0.4.2 2010-07-17 15:07:18 +00:00
matthieu
06e2ad8311 Update to xf86-video-sis 0.10.3 2010-07-17 14:52:29 +00:00
matthieu
e9a503f8f7 Update to xf86-video-neomagic 1.2.5 2010-07-17 14:43:51 +00:00
matthieu
08a8cd010e Update to xf86-video-dummy 0.3.4 2010-07-17 14:39:15 +00:00
matthieu
2b3e93e33b patches from Freetype.org for the security issues found by Robert Swiecki:
CVE-2010-2497 freetype integer underflow
CVE-2010-2498 freetype invalid free
CVE-2010-2499 freetype buffer overflow
CVE-2010-2500 freetype integer overflow
CVE-2010-2519 freetype heap buffer overflow
CVE-2010-2520 freetype buffer overflow on heap
2010-07-17 14:06:43 +00:00