Commit Graph

623 Commits

Author SHA1 Message Date
Kristian Høgsberg
597fdae93e More kbd fun: write out "kbd" from Xorg -configure (#1078). 2004-08-14 23:59:52 +00:00
Keith Packard
e483fe3ec3 Fix offsets again. Really, it works this time. Promise. 2004-08-14 21:57:58 +00:00
Keith Packard
e6216b48f5 Fix offsets, do whole region at once by using GC clipping 2004-08-14 21:36:10 +00:00
Eric Anholt
ed425d1d88 Bug #1077: Fix source copy performance problem exposed by Composite. 2004-08-14 20:29:28 +00:00
Keith Packard
cc3ad0ed43 Fix clip list computation and setting to ignore clip changes to "real"
GC/Picture and track serial numbers correctly when copying
    pCompositeClip down.
2004-08-14 19:53:36 +00:00
Eric Anholt
183c6d0645 Wrap CopyWindow in cw, which fixes scrolling in many apps. 2004-08-14 19:51:11 +00:00
Keith Packard
e61b5d38ab Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32
visuals. Necessary to keep Flash from crashing.
Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure
    pCompositeClip is set correctly.
Need to take the composite clip from the "real" GC/Picture and turn it into
    the clientClip for the backing version.
Adjust pixmap screen origin to account for drawable->x/y Change debugging
    output a bit (disabled by default)
2004-08-14 07:12:37 +00:00
Alan Coopersmith
05f6329eb6 Don't enable speedo & type1 modules if they're not being built
Clean up a couple of hardcoded paths & vendor names to use defines set by
    Imakefile
2004-08-13 23:57:38 +00:00
Kevin E Martin
3f84e4f71d Fix Xprt bug by disabling code that merges multiple audit messages (Bug
#964, Roland Mainz).
2004-08-13 19:51:34 +00:00
Alexander Gottwald
922fd3a2e5 Added $(MESASRCDIR)/src/mesa/glapi to INCLUDES. Removed $(SERVERSRC)/mi
from INCLUDES. Rearranged INCLUDES for better readability.
Removed mipointrst.h and miscstruct.h from #include since they are not used
    anymore.
2004-08-13 19:18:29 +00:00
Søren Sandmann Pedersen
f63f4b768c Fri Aug 13 19:53:10 2004 Soeren Sandmann <sandmann@redhat.com>
Fix for lockups on some versions of Matrox Mystique. #687, Patch from Mike
    Harris.
Call xf86EnableDisableFBAccess though the function pointer instead of
    directly. #1041, Patch from Aaron Plattner.
Swap the phsyical size of the screen when rotiation. #1050, Patch from
    Aaron Plattner.
Fri Aug 13 19:47:12 2004 Soeren Sandmann <sandmann@redhat.com>
Make HAVE_FT_BITMAP_SIZE_Y_PPEM conditional on the FreeType version instead
    of proping it. This way it will work with the monolithic version too.
    #1062, Patch by Owen Taylor.
2004-08-13 18:24:07 +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
Eric Anholt
24bed5cff9 Fix copy'n'paste-os of x/y in CopyPicture for AlphaXOrigin and ClipXOrigin. 2004-08-13 07:47:21 +00:00
Eric Anholt
5825e4559e Fix after Mesa 20040812 merge: revert glxext.h to vendor branch, and fix
bug #1022.
2004-08-12 23:14:50 +00:00
Torrey Lyons
2889ad2cb8 Fix crash in rootless XDarwin due to rootless being initialized before
damage extension.
2004-08-12 20:24:36 +00:00
Eric Anholt
961333143e Apply a kludge to initialize the composite wrapper before DamageSetup. If
not, DamageSetup will wrap some operations first, and the cw
    initializes during ExtensionInit, so cw comes higher in the wrapping
    chain. cw going first will result in damage getting confused when the
    drawables get changed around.
2004-08-12 08:45:33 +00:00
Eric Anholt
6e0228722c Fix various cw issues, including a couple reported by deronj:
- Fix wrapping of GC ops/funcs according to policy described in bug #1045.
- Remove ValidateGC/ValidatePictures on the redirected drawables/pictures
    -- it's not needed, and DDXs shouldn't be seeing redirected drawables
    in render or GC ops/funcs when cw is running.
- Mark all GC/Picture state as dirty when moving from redirected to
    non-redirected, since it hadn't been passed down in Change* or
    Validate* while redirected.
- Remove CreatePicture wrapper that didn't do anything.
- Comment on why AddTraps wrapper isn't needed.
2004-08-12 08:11:59 +00:00
Eric Anholt
789cf3ed84 Fix some issues reported by deronj:
- Hopefully fix a crash in compCheckRedirect on unrealizing windows.
- Remove an extern that doesn't point at anything.
2004-08-12 07:57:03 +00:00
Kevin E Martin
1a073786e0 Update version and date for next snapshot 2004-08-12 05:11:57 +00:00
Kristian Høgsberg
47ee5f4ba7 Add call to SourceValidate() when pDst == pSrc, so misprite.c get a chance
to remove the sprite before the area is copied. The drivers handle pDst
    != pSrc (#1030).
2004-08-12 01:57:51 +00:00
Adam Jackson
09d0056b8b Wrap the Propolice fix in #ifdef __SSP__; Propolice doesn't define this yet
but an RFE has been submitted upstream.
2004-08-12 01:30:57 +00:00
Adam Jackson
e30c22dbbf Back out the propolice fix for a second, it causes linktime errors. 2004-08-12 01:16:36 +00:00
Keith Packard
9d0213525f Paint to parent window instead of parent window's pixmap (helps for servers
that don't have a pixmap for the root)
Fix offsets for render drawing.
2004-08-12 00:09:30 +00:00
Torrey Lyons
c7bc76f663 Fix leftover XF86_VERSION_SNAP macro. 2004-08-11 23:53:36 +00:00
Adam Jackson
eb607030e3 Teach the loader about the extra symbols needed for Propolice-protected
modules to work under elfloader. From Travis Tilley (Gentoo).
2004-08-11 23:10:02 +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
f95293e525 Fix bogus contact address in Xserver/os/util.c (Bug #738). 2004-08-11 22:27:50 +00:00
Eric Anholt
56520ecd5c In CopyPicture, add missing call to ChangePicture to notify about the
changes that CopyPicture has done.
2004-08-11 22:13:01 +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
Kristian Høgsberg
3dbaeb2e12 Patch xorgconfig to generate config files with correct keyboard driver; use
"kbd" by default, "keyboard" if UseDeprecatedKeyboarDriver is YES
    (#1040).
2004-08-11 20:25:13 +00:00
Roland Mainz
ca458e3c9b Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=492 -
/etc/init.d/xprint did not source xorg.conf for font paths additionally
    to xfree86 config files
2004-08-11 13:55:03 +00:00
Kevin E Martin
81881b9686 Update version to 6.7.99.1 and fix problem with snapshot string generation. 2004-08-10 21:37:35 +00:00
Kevin E Martin
21c7c8cdc7 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339,
Harold L. Hunt II, Alexander Gottwald).
Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao,
    David Dawes).
Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson).
HP-PA build fix (Bug #828, Guy Martin, Paul Anderson).
Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine).
Fix attempt to read video ROM before enabling it (Bug #843, Ivan
    Kokshaysky, Mike A. Harris).
Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A.
    Harris).
Clarify xset man page description of how to use the keyboard repeat rate
    settings (Bug #846, Mike A. Harris).
Fix problem where print-screen key would get remapped to sys-req in certain
    keymaps, which broke GNOME printscreen functionality (Bug #847, Owen
    Taylor).
Fix several render problems:
- MMIO mode support
- Hang on IGP chips
- VT switching hang
- 3D render corruption (Bug #922, Hui Yu).
2004-08-09 22:37:22 +00:00
Kristian Høgsberg
26847ef926 Move the new render symbols to dixsym.c instead so they are grouped with
the other render symbols.
Initialize screen_x and screen_y to 0. This fixes a problem with the new
    Damage based sprite, where intersection test against the root pixmap
    would fail because the two fields were not initialized (damage.c,
    166-170).
2004-08-09 03:40:50 +00:00
Kevin E Martin
57eab4dc87 - Fix building without Xfixes extension
- Fix building without Xevie
- Fix building without DPMS
- Fix "Extensions" section config file support to accept general boolean
    options
2004-08-09 02:08:35 +00:00
Kristian Høgsberg
a2e51b13ea Disable legacy keyboard driver "keyboard", unless
USE_DEPRECATED_KEYBOARD_DRIVER is defined. Print warning if the old
    driver is used.
2004-08-08 20:56:56 +00:00
Kristian Høgsberg
3431692bf4 Add new render symbols to list of exported extension symbols so
DoLoadableServer works again.
2004-08-08 17:02:19 +00:00
Keith Packard
1e694d2b51 Fix minor timestamp lossage in mieq.
Replace miSprite implementation with Damage-based one. Otherwise damage and
    misprite conflict causing looping.
Change pScreen usage around a bit to eliminate warnings
2004-08-07 01:23:07 +00:00
Keith Packard
45fde3b041 Eliminate mfb support. Fix visuals to match "normal" PC hardware (making
lightpipe work).
2004-08-07 01:19:01 +00:00
Keith Packard
2bdbc2c0d3 Clean up cw initialization, make sure wrappers re-wrap on exit. 2004-08-07 01:02:41 +00:00
Keith Packard
cff0043a34 Remove alpha-related fields from visual structure to retain binary
compatibilty. Applications using ARGB visuals will need to use Render
    or other mechanisms to compute pixel values instead of AllocColor
2004-08-07 00:58:21 +00:00
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