- 26 Sep, 2011 21 commits
-
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
Prototypes are fixed, and we don't need to flush on wakeup.
-
Emma Anholt authored
This will hide all sorts of extension stuff from us.
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
I'm experimenting with that because of conflicts with GL dispatch tables.
-
Emma Anholt authored
-
Emma Anholt authored
-
Emma Anholt authored
-
- 21 Sep, 2011 19 commits
-
-
Keith Packard authored
-
Keith Packard authored
-
Keith Packard authored
-
Caught during review of e095369bf. Signed-off-by:
Peter Harris <pharris@opentext.com> Reviewed-by-by:
Matt Turner <mattst88@gmail.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
If the address of the swapped memory location is known at compile time, we can check its alignment at no runtime cost and use lswapl instead. text data bss dec hex filename before: 1872820 52136 78040 2002996 1e9034 hw/xfree86/Xorg after: 1864396 52136 78040 1994572 1e6f4c hw/xfree86/Xorg bswap instructions: 131 -> 308 (used in lswapl) rol instructions: 943 -> 1174 (used in lswaps) Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Should be safe since cpswap isn't used on pointers. text data bss dec hex filename before: 1875588 52136 78040 2005764 1e9b04 hw/xfree86/Xorg after: 1872820 52136 78040 2002996 1e9034 hw/xfree86/Xorg bswap instructions: 5 -> 131 (used in lswapl) rol instructions: 811 -> 943 (used in lswaps) Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
text data bss dec hex filename before: 1875668 52136 78040 2005844 1e9b54 hw/xfree86/Xorg after: 1875588 52136 78040 2005764 1e9b04 hw/xfree86/Xorg Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
The original macros are retained (instead of replacing them with inline functions) because of implicit type promotion. That is, an int16 passed to an inline function taking int32 would be implicitly promoted to int32 without a warning. Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Swapping the wrong size was never caught because swap{l,s} are macros. It's clear in the case of Xext/xres.c, that the author believed client_major/minor to be CARD16 from looking at the code in the first hunk. v2: dmx.c fixes from Keith. Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
These symbols were not renamed when they were added to libfb: # nm -D libwfb.so | grep ' fb' 0000000000028d00 T fbTrapezoids 0000000000028d60 T fbTriangles This causes corruption and/or crashes on wfb-ful drivers like nvidia: Program received signal SIGABRT, Aborted. 0x00007fd67f3a0405 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) bt #0 0x00007fd67f3a0405 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007fd67f3a3680 in *__GI_abort () at abort.c:92 #2 0x00007fd67f3995b1 in *__GI___assert_fail (assertion=0x7fd679ecb804 "key->initialized", file=<optimized out>, line=116, function=0x7fd679ecbbc0 "dixGetPrivateAddr") at assert.c:81 #3 0x00007fd679ec55b6 in ?? () from /usr/lib/xorg/modules/libfb.so #4 0x00007fd679eca9ef in ?? () from /usr/lib/xorg/modules/libfb.so #5 0x00007fd679ecae20 in fbTriangles () from /usr/lib/xorg/modules/libfb.so #6 0x00007fd67a58fc55 in ?? () from /usr/lib/xorg/modules/drivers/nvidia_drv.so #7 0x00000000004f38d1 in ?? () #8 0x0000000000437ae9 in ?? () #9 0x0000000000426eaa in ?? () #10 0x00007fd67f38cead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff99860d78) at libc-start.c:228 #11 0x000000000042719d in _start () Signed-off-by:
Aaron Plattner <aplattner@nvidia.com> Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Matt Turner authored
Also, fix whitespace, mainly around swaps(&rep.sequenceNumber) Reviewed-by:
Peter Harris <pharris@opentext.com> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
gcc generates better code with fabs() anyway. Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Tested-by:
Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
Matt Turner authored
Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Tested-by:
Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by:
Daniel Stone <daniel@fooishbar.org> Signed-off-by:
Matt Turner <mattst88@gmail.com>
-
The developer docs are generated from a subset of docbook.am which is sometimes updated. The one difference for xserver is the embedded css style in the HEAD element. Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by:
Gaetan Nadon <memsize@videotron.ca> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by:
Gaetan Nadon <memsize@videotron.ca> Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Adding support in libX11 for html chunking caused a reorg of docbook.am as well as the xorg-sgml-doctools masterdb for olinking. The parameter img.src.path is added for pdf images. A searchpath to the root builddir is added for local entities, if present. This feature was initiated by xserver module and made available to all. The docbook.am makefile hides all the details and is identical for all 22 modules having DocBook documentation. It is included by a thin Makefile.am which requires no docbook knowledge. Reviewed-by:
Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by:
Gaetan Nadon <memsize@videotron.ca> Signed-off-by:
Keith Packard <keithp@keithp.com>
-