Commit Graph

582 Commits

Author SHA1 Message Date
Keith Packard
196aafb19a Add RenderAddTraps. Rewrite trapezoid rendering code. 2004-08-06 23:42:10 +00:00
Eric Anholt
e847bcda08 Fix missing ';' in cw.c and unwrap the render wrapper properly. 2004-08-06 00:31:28 +00:00
Eric Anholt
ae1580c494 - Add a new Render function, CopyPicture, which will update a picture with
the flagged bits from a source picture. Approved in principle by
    keithp.
- Use CopyPicture and SetTransform to update most of the backing picture's
    state in the composite wrapper. Filters are still missing.
- Don't allocate a picture private, now that we calculate clipping properly
    and don't need the serialNumber or stateChanges.
- Use the format of the source pixmap rather than generating the format
    from the window's visual.
- Wrap the rest of the Render primitives that were stubbed out before.
2004-08-05 18:24:58 +00:00
Eric Anholt
73e14bd611 - Always validate the backing GC in cwValidateGC, not just when the clip
list changes.
- Use FillTiled instead of FillSolid for painting tiled border/background
    pixmaps, and don't needlessly change the scratch GC's defaults.
- Use the preferred dixChangeGC instead of DoChangeGC.
- Simplify a silly loop and clean up a couple of comments.
2004-08-04 23:18:38 +00:00
Egbert Eich
d240c41a3a Optimization of CJK rendering when using versions of freetype prior to
2.1.8 (Chisato Yamauchi).
A small backward compatibility fix to make the freetype module build with
    freetype version < 2.1.7.
Fixed/added some debugging code.
2004-08-04 12:21:48 +00:00
Eric Anholt
751fd11a9a - Add two new XAA hooks, SetupForCPUToScreenTexture2 and
SetupForCPUToScreenAlphaTexture2. These add a dstFormat argument after
    the previous format argument, which the driver needs to use to properly
    set up the destination format. Two new arrays are added for the list of
    destination formats supported that correspond to the previous format
    arrays for sources.
- Make Render acceleration only occur when the new hook for that
    acceleration type is supplied and the dst format list is set, along
    with the src format list being set. Without knowing the destination
    format, the Render acceleration couldn't properly support all the
    destinations it might encounter.
- Bump XAA module minor version.
- Update the Radeon Render acceleration to use the new hooks when the XAA
    module is sufficiently new. Fix a bug in the src/dst alpha booleans for
    ops, and use them to set blend_cntl to support destinations without
    alpha. Add missing PICT_a1r5g5b5 texture format, and add list
    terminator. (!)
2004-08-04 10:05:37 +00:00
Alexander Gottwald
9c1d52a69d Merge from CYGWIN branch
2004-08-02 Kensuke Matsuzaki
Fix the bug that we can't copy & paste multi-byte string to Unicode-base
    Windows application. Rename fUnicodeSupport to fUseUnicode, because it
    don't mean wheather Windows support Unicode or not.
2004-08-03 10:12:25 +00:00
Matthieu Herrb
defcfe3c7e programs/Xserver/hw/xfree86/ddc/xf86DDC.h
programs/Xserver/hw/xfree86/vgahw/vgaHW.c
programs/Xserver/hw/xfree86/vgahw/vgaHW.h
programs/Xserver/miext/shadow/shadow.h
programs/Xserver/miext/shadow/shpacked.c
programs/Xserver/miext/shadow/shplanar.c
programs/Xserver/miext/shadow/shrotate.c Fix glitches in pointer to
    functions declarations.
2004-08-03 09:33:54 +00:00
Matthieu Herrb
e6d0b18c24 Fix declaration of XAACachePlanarMonoStippleProc. Rename
XAACachePlanarMonoStippleWeak to XAAGetCachePlanarMonoStipple() for
    consistency with other parts of xaa and fix forward declaration in
    xaalocal.h. Fixes last comments on Bug #962.
2004-08-03 08:52:17 +00:00
Eric Anholt
bfbb40c28c Major improvements to Composite wrapper. Several issues remain, but it now
appears stable in limited testing.
- Allocate the picture private, avoiding segfault.
- Wrap PaintWindow to draw the background/border to the backing pixmap
    (based on Deron Johnson's comptran.c).
- Set the x_off/y_off returns to translate coordinates properly.
- Don't bother allocating temporary areas for the modified coordinates.
    Layers above are responsible for handling lower layers changing the
    arguments, so cw doesn't have to worry about it. mibstore.c has to do
    the allocation because it calls down twice (front buffer and backing
    store). (Suggested by keithp)
- Handle the mode argument to PolyPoint, Polylines, and FillPolygon.
- Remove some dead elements in the cw privates.
- Kill a prototype warning in compinit.c by adding the cw.h header.
2004-08-03 05:49:48 +00:00
Eric Anholt
b7ba272da0 The Damage extension has to wrap after (be called before) the Composite
extension so that the redirecting of drawables by the wrapper doesn't
    confuse Damage.
2004-08-03 05:39:19 +00:00
Adam Jackson
d112e55992 Bug #962: Remove LoaderSymbol calls introduced by the dlloader work so
DoLoadableServer NO builds work again.
2004-08-03 02:44:23 +00:00
Søren Sandmann Pedersen
734cb34dc1 Mon Aug 2 21:49:33 2004 Soeren Sandmann <sandmann@redhat.com>
Remove double cast.
2004-08-02 21:15:30 +00:00
Egbert Eich
e6b9cc79c2 Removed distro specific stuff.
Fixed FreeType module to build with FreeType versions older than 2.1.7.
Fixed typo.
Added vtSema to protect call of driver DPMS function.
removed unneeded variable
Modified RandR driver hook to reduce the number of function calls to one.
    Function is sufficiently generic to be extended in the future.
2004-08-02 19:35:07 +00:00
Alexander Gottwald
b759da83ae added README for Cygwin/X
This file currently contains the Cygwin/X specific release notes from 6.7.0
    and a first collection of what will make up the release notes for the
    next release
2004-08-01 16:16:18 +00:00
Alexander Gottwald
d638a50f3f adjust prototype for winInitCmapPrivates to match Egberts change. 2004-07-31 18:33:56 +00:00
Kevin E Martin
488be66119 Fix typo 2004-07-31 09:41:27 +00:00
Kevin E Martin
383b6b5986 Add "Extensions" section support to configuration parser 2004-07-31 09:14:06 +00:00
Eric Anholt
d690556d49 Integrate COMPOSITEWRAP branch including composite wrapper. This code still
has several issues, including:
- CopyWindow and PaintWindow wrappers missing (will be done soon)
- Some segfaults seen in the Render wrappers.
- Xprt server build breaks with Composite.
- DDXs must be recompiled for Composite due to VisualRec size change.
- Composite bugs pointed out by Deron Johnson in email.
Also, reorder XFixes initialization according to comments by Keith which
    are also in xserver CVS.
2004-07-31 08:24:14 +00:00
Eric Anholt
8763cca7f9 Update xfixes server code to major version 3 from xserver CVS, and perform
minor diff-reduction versus xserver CVS.
2004-07-31 07:26:50 +00:00
Kevin E Martin
25bd6ff4a6 Add new extension enable/disable feature. This code is a small step in the
right direction -- i.e., moving towards full run-time config of
    extensions. Currently, only XTEST, XINERAMA, RENDER, XKB, and XEVIE are
    supported.
2004-07-31 04:23:21 +00:00
Eric Anholt
326729ebca - Add some XFIXES bits apparently missed in the DAMAGE-XFIXES merge
- Add missing XCSECURITY ifdef.
- Sync some whitespace to xserver CVS and surrounding style.
2004-07-31 01:48:27 +00:00
Eric Anholt
370bda820b Integrate latest damage bits, including the addition of Composite code.
Includes REGION_INIT -> REGION_NULL necessary to avoid segfaults with
    inlined region macros.
2004-07-31 01:38:46 +00:00
Stuart Kreitman
7542d8a17a Turn on XEVIE https://freedesktop.org/bugzilla/show_bug.cgi?id=947 Modified
Files: miinitext.c
2004-07-31 01:37:47 +00:00
Stuart Kreitman
b2065f376b Integration of XEVIE branch to trunk, latest updates
https://freedesktop.org/bugzilla/show_bug.cgi?id=947 Modified Files:
    Imakefile xevie.c
2004-07-31 01:34:26 +00:00
Stuart Kreitman
e68bfc8016 Integration of XEVIE branch to trunk, Some updates from latest reviews
https://freedesktop.org/bugzilla/show_bug.cgi?id=947 Modified Files:
    events.c
2004-07-31 01:33:40 +00:00
Adam Jackson
706b2a7e02 Change several LoaderSymbol calls introduced by the bug #400 patch to
*Weak() resolver functions.
2004-07-31 01:21:19 +00:00
Alexander Gottwald
9e13805b02 adjust prototype for winInitCmapPrivates to match Egberts change. 2004-07-31 00:44:45 +00:00
Kevin E Martin
4da507a03f Fix compiler warning 2004-07-31 00:32:43 +00:00
Hui YU
64a6d3e9c8 Support for New radeon chips: R420/M18, R423, RV370/M22, RV380/M24, RS300.
Add special handlings for DELL triple-head server (RV100). Misc. bug
    fixes for flat panel, host aperture, etc (Bug #946)
2004-07-30 22:20:21 +00:00
Egbert Eich
d3c98fed2c Add support for on-the-fly screen rotation when supported by hardware (Aron
Plattner).
2004-07-30 21:53:09 +00:00
Egbert Eich
4baf002941 An experimental pseudocolor emulation layer. Not fully completed, currently
only works for 16bpp.
2004-07-30 21:46:38 +00:00
Egbert Eich
63a152f781 removing some unnecessary restricitons on the allowed visuals. 2004-07-30 21:39:20 +00:00
Egbert Eich
0ba1559946 Adding a colormap index to the InitColormapPrivate() func call. Without it
it was completely useless.
test if colormap with index really exists in the list of installed maps
    before using it.
2004-07-30 21:10:46 +00:00
Egbert Eich
bbfe7bed3f Set DPMS to ON when VT switching away or shutting down the server. Failing
to do this may leave the text console blank.
2004-07-30 20:56:53 +00:00
Egbert Eich
40b975e3ac Improved error messages.
build fixes for AMD64.
Made shm* functions in the libc_wrapper more standard conformant by setting
    errno correctly.
Use xf86ExendedInitInt10() in VBEExtendedInit() to be able to pass flags.
2004-07-30 20:51:09 +00:00
Egbert Eich
7643199de1 Fix static build.
add i845 to the list of chips that allow memory size tweaking.
2004-07-30 20:38:27 +00:00
Adam Jackson
48514fee3c Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all
framebuffer formats except cfb and the overlay modes should work, and
    r128 and radeon need to be loaded from the ati driver (both issues to
    be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga
    drivers. elfloader users shouldn't be affected.
2004-07-30 20:30:57 +00:00
Torrey Lyons
29012adb37 Add generic rootless layer documentation missed from last commit. 2004-07-30 19:28:03 +00:00
Torrey Lyons
784e4d1cc0 Merge many XDarwin improvements:
- Fix launch of X clients by double clicking in the Finder when there is a
    space in the path (Torrey T. Lyons).
- Interpret scroll wheel mouse events correctly when shift is held down
    (Benjamin Burke).
- Add option to always use Mac command key equivalents (John Harper and
    Torrey T. Lyons).
- Add support for dynamic screen configuration changes in rootless mode
    (John Harper and Torrey T. Lyons).
- Add documentation on generic rootless layer (Torrey T. Lyons).
2004-07-30 19:12:18 +00:00
Egbert Eich
c2275b31ad Removed bugs on TweakMemorySize() which prevented it from working at all.
Initialized last element of BIOS version number string to 0 to avoid random
    problems.
2004-07-30 19:04:14 +00:00
Egbert Eich
5ed0aefc67 Fixed typo in a comment.
Deleted bogus comment.
Added debugging support.
2004-07-30 18:40:36 +00:00
Torrey Lyons
d380647739 Add initial Xinput support for XDarwin (Greg Parker). 2004-07-30 18:22:13 +00:00
Torrey Lyons
41641c11ec Make XDarwin not default to StaticColor on ix86 (Shantonu Sen). 2004-07-30 17:37:09 +00:00
Roland Mainz
f4c84e7dbf Fix for http://xprint.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=940
- Filter /etc/init.d/xprint throught CPP/|MakeScriptFromCpp()| to allow
    platform-specific customisation.
2004-07-30 12:03:56 +00:00
Eric Anholt
ed923a42b8 file cw_render.c was initially added on branch COMPOSITEWRAP. 2004-07-30 06:54:41 +00:00
Eric Anholt
69e379ddaf file cw_ops.c was initially added on branch COMPOSITEWRAP. 2004-07-30 06:54:41 +00:00
Eric Anholt
0ee93acd10 file cw.c was initially added on branch COMPOSITEWRAP. 2004-07-30 06:54:40 +00:00
Eric Anholt
3bdaa0e7fa file cw.h was initially added on branch COMPOSITEWRAP. 2004-07-30 06:54:40 +00:00
Eric Anholt
94e1ea5691 file compwindow.c was initially added on branch COMPOSITEWRAP. 2004-07-30 06:54:40 +00:00