Commit Graph

67 Commits

Author SHA1 Message Date
Daniel Stone
825a95a1fa Remove use of dix-config and xorg-config.h from public headers. 2005-08-24 11:18:35 +00:00
Søren Sandmann Pedersen
bed3235d22 Thu Aug 18 17:27:09 2005 Søren Sandmann <sandmann@redhat.com>
Move fbmmx to a convenience library since the mmx flags may be harmful when
    applied to non-mmx code.
2005-08-18 21:28:09 +00:00
Søren Sandmann Pedersen
f2f6820c3f Wed Aug 17 13:13:00 2005 Søren Sandmann <sandmann@redhat.com>
Make asm labels local. Bug 4073, patch from Diego Pettenò.
2005-08-17 17:20:13 +00:00
Søren Sandmann Pedersen
616a65c4cc Fri Aug 12 14:49:24 2005 Søren Sandmann <sandmann@redhat.com>
Apply another patch from Billy Biggs to fix precision issues.
2005-08-12 18:50:33 +00:00
Søren Sandmann Pedersen
1eed84f227 Fri Aug 12 14:45:54 2005 Søren Sandmann <sandmann@redhat.com>
Fix up multiplications based on patch by Billy Biggs. Part of bug 3945.
2005-08-12 18:47:17 +00:00
Søren Sandmann Pedersen
8bfffb96b5 Fri Aug 12 14:29:09 2005 Søren Sandmann <sandmann@redhat.com>
Apply patch from Billy Biggs that fixes rounding problems with division.
    Part of bug 3945.
2005-08-12 18:31:07 +00:00
Søren Sandmann Pedersen
812ed2e17b Fri Aug 12 10:45:01 2005 S%Gï¿¿%@ren Sandmann <sandmann@redhat.com>
Make this function compute the same results as the fbByteMul macro.
2005-08-12 17:43:38 +00:00
Søren Sandmann Pedersen
3e471ddf1d Add check for whether the platform is MMX capable and add the relevant
flags if so.
2005-08-11 14:36:29 +00:00
Søren Sandmann Pedersen
130fffc0cd Wed Aug 10 16:17:38 2005 Søren Sandmann <sandmann@redhat.com>
Add back non-SSE implementations. Define USE_SSE if the CPU is amd64/x86-64
2005-08-10 20:22:57 +00:00
Søren Sandmann Pedersen
ed4d77a16a Thu Aug 4 16:08:00 2005 Søren Sandmann <sandmann@redhat.com>
Make the fbCompose paths use the existing inline functions instead of
    macros. Various other cleanups.
Remove macro definitions, move typedef to fbmmx.c
2005-08-04 21:05:12 +00:00
Alan Coopersmith
7c84189ea1 Bugzilla #3566 <https://bugs.freedesktop.org/show_bug.cgi?id=3566> Patch
#2906 <https://bugs.freedesktop.org/attachment.cgi?id=2906> Fix for
    RENDER, repeating pictures and offscreen memory (Owen Taylor)
2005-08-01 22:22:16 +00:00
Søren Sandmann Pedersen
78d51253e2 Fri Jul 29 17:20:53 2005 Søren Sandmann <sandmann@redhat.com>
Fix rounding bug.
2005-08-01 16:07:14 +00:00
Søren Sandmann Pedersen
df5d47560c xserver/xorg/fb/Makefile.am: install fboverlay.h 2005-07-26 18:56:45 +00:00
Søren Sandmann Pedersen
b25e6f82a1 fb/Makefile.am: add fbpseudocolor.h to sdk_HEADERS
hw/xfree86/xaa/Makefile.am: add xaaWrapper.h to sdk_HEADERS
2005-07-26 18:21:22 +00:00
Lars Knoll
19e20c1470 don't clobber %ebx in the assembler. 2005-07-13 08:58:37 +00:00
Lars Knoll
bfb10bd2dc Fix potential buffer overflow and a smaller bug in the convolution filter 2005-07-13 07:28:17 +00:00
Lars Knoll
778a2703b2 fix compilation 2005-07-13 07:12:33 +00:00
Lars Knoll
41002623f3 Add MMX Code paths for the basic composition operations in
fbComposeGeneral.
2005-07-12 10:02:10 +00:00
Alexander Gottwald
845a0ac68b Revert last changes. They have to be addressed in a different way 2005-07-04 23:11:20 +00:00
Alexander Gottwald
048045a9e7 Add XWin DDX, make Xorg DDX conditional Make XF86VidMode and XF86Misc
conditional
Add XWin DDX
Added DDXTIME, DDXOSFATALERROR, DDXOSVERRORF and DDXBEFORERESET
Added fbcmap.c
Added miinitext.c
Added -I$(top_srcdir)/Xext/extmod to INCLUDES
2005-07-04 22:18:40 +00:00
Lars Knoll
ba011dc77d don't be too smart and try to replace PictOpOver by PictOpSrc when we have
an external alpha map.
Make fbmmx.c compile on gcc 4.0.1.
2005-07-04 14:47:03 +00:00
Lars Knoll
a4df8ad755 Fix handling of "super luminescent" colors Fix off by one error in the
transformation handling.
2005-07-04 14:23:59 +00:00
Daniel Stone
46b64bd5c6 Fix more include paths; add dix-config.h to XKB code. 2005-07-03 07:37:35 +00:00
Daniel Stone
e03198972c Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
    source files in the xserver/xorg tree, predicated on defines of
    HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
    <X11/fonts/foo.h>.
2005-07-03 07:02:09 +00:00
Daniel Stone
826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +00:00
Daniel Stone
9b1debcdb6 Change all misc.h and os.h references to <X11/foo.h>. 2005-07-01 22:43:43 +00:00
Daniel Stone
7ecc2d526c Remove fbcmap.c hacks from the DIX. 2005-07-01 21:12:24 +00:00
Daniel Stone
ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00
Lars Knoll
b5b2a0522e Add support for gradients and solid fills to Render.
Changed the semantics of the Convolution filter a bit. It now doesn't try
    to normalize the filter values but leaves this to the client. This
    gives more reasonable behaviour in the limit where the filter
    parameters sum up to 0.
2005-07-01 10:05:43 +00:00
Lars Knoll
c6166ee741 Fix projective transformations in fbcompose.c Bugfix for convolution
filters
2005-06-15 14:51:12 +00:00
Lars Knoll
49476ca73c add the convolution filter from xserver to xorg 2005-06-13 14:40:25 +00:00
Adam Jackson
0f7136191b Bug #3434: Don't define fbAddTraps twice. (Mike A. Harris) 2005-06-09 02:03:50 +00:00
Søren Sandmann Pedersen
1e51e18382 Wed May 18 21:20:35 2005 Søren Sandmann <sandmann@redhat.com>
s/dst/src that I missed in the previous patch. Pointed out by Owen Taylor.
2005-05-19 01:25:02 +00:00
Søren Sandmann Pedersen
be3875994d Wed May 18 16:47:44 2005 Søren Sandmann <sandmann@redhat.com>
Actually assign the computed results. (Reported by Michael Dänzer, patch
    by Owen Taylor).
2005-05-18 20:49:31 +00:00
Alan Coopersmith
f58a54668b Change return statements to fix compiler errors: "fbcompose.c", line 2815:
void function cannot return value "fbcompose.c", line 2861: void
    function cannot return value
2005-05-14 20:13:45 +00:00
Adam Jackson
2de24db63e Render performance improvements. (Lars Knoll, Zack Rusin) 2005-05-08 23:34:15 +00:00
Daniel Stone
abd246c6c2 Add glyphstr.h to includes. 2005-04-20 13:01:55 +00:00
Daniel Stone
292c4cff26 Fix includes right throughout the Xserver tree:
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
    <X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-20 12:25:48 +00:00
Søren Sandmann Pedersen
59d7222b13 Sat Mar 26 19:00:30 2005 Søren Sandmann <sandmann@redhat.com>
Remove accidentally committed prototype.
2005-03-27 00:17:12 +00:00
Søren Sandmann Pedersen
476ae15640 Sat Mar 26 18:49:21 2005 Soeren Sandmann <sandmann@redhat.com>
programs/Xserver/fb/fbmmx.h
New function.
Hook it up here
2005-03-26 23:50:24 +00:00
Adam Jackson
79a7120983 Bug #1895: Fix fbComposeGetSolid for BGR. (David S. Miller) 2005-01-16 01:59:23 +00:00
Søren Sandmann Pedersen
7db2e666e2 Fri Jan 14 11:12:46 2005 Søren Sandmann <sandmann@redhat.com>
Use mmx CopyArea in a few more places.
2005-01-14 21:56:51 +00:00
Søren Sandmann Pedersen
433c38f22f Thu Jan 13 15:40:29 2005 Søren Sandmann <sandmann@redhat.com>
Add MMX implementation of non-repeating source IN repeating mask, aka
    "translucent window".
Add MMX implementation of CopyArea.
Use MMX implementation of CopyArea.
Use the new implementations.
2005-01-13 20:49:21 +00:00
Søren Sandmann Pedersen
af8bd71617 Mon Jan 3 12:45:10 2005 Søren Sandmann <sandmann@redhat.com>
Clean-ups and support for AMD64. Bug 1067. Patch by Nicholas Miell
    (nmiell@comcast.net)
Add support for AMD64
Many cleanups using <mmintrin.h> instead of __builin_ia32_*, and intrinsics
    instead of inline assembly. Also unconditionally use pshufw on AMD64.
s/USE_GCC34_MMX/USE_MMX/g
2005-01-03 21:32:22 +00:00
Egbert Eich
9c94971617 Use the same method of finding the screen pixmap of COMPOSITE extension is
compiled in or not.
Removed stale make variable.
Updated xaaWrapper.c: Under certain circumstances the accel path was not
    used when possible. Removed some debugging stuff and stale code that
    had been commented out.
Check if maps are really installed before attempting to list them.
2004-12-06 15:53:00 +00:00
Markus Kuhn
44f4713a05 Encoding of numerous files changed to UTF-8 2004-12-04 00:43:13 +00:00
Torrey Lyons
16ee24cd99 Use ROOTLESS instead of platform specific defines. 2004-11-05 19:51:38 +00:00
Keith Packard
a29bfbd3d0 Empty damage object when freeing pixmap.
Wrap InstallColormap so that the DDX doesn't see colormaps from our ARGB
    visual (avoids lovely green tint to screen). Also, set visual->nplanes
    of ARGB visual to all used (including alpha) planes so DIX can set
    pixel values correctly.
Translate automatic update regions correctly to account for borders
When nplanes == 32 (ARGB visuals), mask in all ones for alpha values to
    allocated pixel values.
Remove redundant fbAddTraps declaration
Fix fbCopyWindow to work on non-screen pixmaps (not needed yet)
Replace broken clipping code with that from modular tree.
Respect subWindowMode.
2004-08-13 08:16:14 +00:00
Keith Packard
fd439afdfe Add COMPOSITE change to fbCopyWindow (not needed yet)
Xnest was half-using midispcur and doing a bad job of it. Replace all of
    that code with mipointer which does a lot of the work.
Support DDXen which don't provide GetWindowPixmap, or which return NULL for
    the root pixmap.
2004-08-11 22:40:14 +00:00
Kevin E Martin
f77f1d5072 Apply PPC64 build patch (Bug #303, Mike A. Harris, Alan Coopersmith). 2004-08-11 21:14:18 +00:00