Micah Dowty [Tue, 12 May 2009 23:46:39 +0000 (16:46 -0700)]
Better cursor size limit and explanation
Increase the cursor size limit to 64x64, and give a
better explanation of the host's cursor size limits.
Micah Dowty [Tue, 12 May 2009 23:46:00 +0000 (16:46 -0700)]
Allow cursor updates while unhidden
This change just adds a flag to our hardware cursor,
telling Xorg that it doesn't need to hide the cursor
when updating its shape. This fixes the cursor flicker
in X11.
Micah Dowty [Tue, 12 May 2009 23:45:29 +0000 (16:45 -0700)]
Unbreak vmwarectrl setres
The vmwarectrl tool's "setres" command was unusable,
because it looks like someone added the settopology
test without updating the argument indices for setres.
This patch makes setres usable again.
Micah Dowty [Tue, 12 May 2009 23:44:42 +0000 (16:44 -0700)]
Fix dynamic mode edge cases
The VMware Xorg driver supports dynamic modelines that can be set from
userspace via an X extension. These are used to implement VM features
which need to automatically change the resolution of the guest OS.
This driver implements the feature using two modelines. The driver
would alternately update one mode then the other, so that in typical
usage one mode is current and the other is available for the next mode
switch.
This usually worked, but there were many edge cases that could cause
this alternating pattern to get 'out of sync', so we'd end up changing
the resolution of the current video mode. This could end up putting
the X server in a state where the screen resolution has been changed,
but the hardware was never reprogrammed for the new resolution.
This patch fixes the problem by explicitly searching for a dynamic
mode that isn't currently in use. We no longer rely on the alternating
pattern.
Micah Dowty [Tue, 12 May 2009 23:43:13 +0000 (16:43 -0700)]
Update README
Updates the copyright date, and replaces the rather out-of-date
2D documentation with a link to the updated 2D and 3D docs on
Source Forge.
Shelley Gong [Thu, 16 Apr 2009 20:28:47 +0000 (13:28 -0700)]
Automatically add modelines for the driver's built-in set of modes.
The driver has had a built-in set of modes for a while, but there
was nothing adding modelines to back them up, causing initial modes
to be rejected at startup with certain Xorg versions.
This change adds the actual modelines for sufficiently new versions
of the server (>= 1.2), as the necessary calls were only introduced
at that time.
Alan Coopersmith [Sat, 10 Jan 2009 00:39:07 +0000 (16:39 -0800)]
Remove xorgconfig & xorgcfg from See Also list in man page
Philip Langdale [Tue, 19 Aug 2008 18:23:44 +0000 (11:23 -0700)]
Bump version for 10.16.5 release.
Bankim Bhavsar [Tue, 19 Aug 2008 18:23:02 +0000 (11:23 -0700)]
Add RegionEqual function for older XFree86 versions.
Fixes bug : http://bugzilla.eng.vmware.com/show_bug.cgi?id=312853
When we added AUTOPAINT_COLORKEY capability to our VMware video driver,
region functions were used to keep track of colorkey painting.
REGION_EQUAL was one of them.
Unfortunately REGION_EQUAL was not present in regionstr.h shipped with XFree86 version
4.3.0.
This version is used by TurboLinux 10; causing X server to crash while playing videos.
REGION_EQUAL was added in revision 1.8 of regionstr.h and available for xfree86 version
4.3.99
onwards.
Reference:
http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/include/regionstr.h.diff?r1=1.7&r2=1.8
When I compiled the existing code(without my change), I see a warning was generated
indicating REGION_EQUAL is not present.
Too bad we missed it.
This patch includes
1) Slightly modified version of miRegionEqual from miRegion.c
2) Some formating cleanup.
Philip Langdale [Mon, 21 Jul 2008 22:26:01 +0000 (15:26 -0700)]
Prepare for 10.16.4 release.
Philip Langdale [Mon, 21 Jul 2008 22:23:50 +0000 (15:23 -0700)]
Video Overlay: Handle clipping correctly with AutoPaint colorkey.
We recently added XV_AUTOPAINT_COLORKEY attribute to the X video driver
to enable applications like Real player that rely on this attribute to
display video frames in Linux guest.
When this attribute is SET, we paint the colorkey on 1st frame and from
there on only when the video is moved.
This introduced a bug 305202 with clipping.
Consider a case when the video is playing, obscure the player window
with another window, without moving the player window, move the other
window away. The part of the window that was obscured didn't display
the video.
With this patch instead of relying on the target rectangle, we use
the clipBoxes supplied in every frame.
Philip Langdale [Fri, 18 Jul 2008 21:03:09 +0000 (14:03 -0700)]
Prepare for 10.16.3
Bump up version numbers.
Philip Langdale [Fri, 18 Jul 2008 20:59:34 +0000 (13:59 -0700)]
Video Overlay: Add XV_AUTOPAINT_COLORKEY capability to the Xv extension of Linux guest driver.
Applications use XV_AUTOPAINT_COLORKEY capability to let the driver handle the painting
of colorkey.
Real Player assumes this capability as ON by default and hence prior to this patch videos
didn't play with Real player.
With this patch:
a) If AUTOPAINT_COLORKEY is SET then the driver handles the painting of the colorkey.
Painting is done on the 1st frame and from there on only if the video frame moves.
b) Adds UYVY fourcc format to keep it consistent with Windows SVGA driver and the host backends.
c) Changes the default colorkey from a pungent GREEN to a darker shade.
Real Player sets this colorkey and it looks better when the video is moved around.
Vinay Bondhugula [Thu, 3 Jul 2008 01:32:44 +0000 (21:32 -0400)]
Trivial fix: Delete ASSERT() statement
Delete the ASSERT() statement that got introduced in the previous check-in.
Vinay Bondhugula [Wed, 2 Jul 2008 22:17:58 +0000 (18:17 -0400)]
Fix video overlay offscreen allocation bug
When Kaffeine player stops a video, it sets the cleanup flag to FALSE and may
start playing the next video. In its present state the driver does not check or
clean up the offscreen area. This is a bug as the newer video might need more
offscreen space for its frame. The fix is to check for the offscreen frame size
in videoPlay and restart the stream if necessary.
Vinay Bondhugula [Thu, 12 Jun 2008 21:34:30 +0000 (17:34 -0400)]
Prepare for 10.16.2
Bump up version numbers.
Vinay Bondhugula [Tue, 29 Apr 2008 22:29:11 +0000 (18:29 -0400)]
Fix VMWARE_CTRL and Xinerama Initialization
Move initialization code for the vmware control and xinerama extensions to
VMWAREScreenInit(), so that auto-resize and multi-mon work fine after a user
logs out and logs in again in a graphical display manager.
Vinay Bondhugula [Tue, 22 Apr 2008 18:18:45 +0000 (14:18 -0400)]
More xorg and xfree86 backwards compatibility
Push most of the xorg-server version checking into the configure script. With
this change, unmodified driver source compiles in the XFree86 4.3 tree.
Vinay Bondhugula [Fri, 18 Apr 2008 22:00:38 +0000 (18:00 -0400)]
Change // comments to /*
This will make it easier to compile the driver against ancient versions of X.
Paulo Cesar Pereira de Andrade [Fri, 18 Apr 2008 03:04:45 +0000 (23:04 -0400)]
Compile warning fixes
Major problem was prototype vmwareInitVideo not matching implementation
vmwareVideoInit. Remaining are adding an "ansification" of a function without
arguments, and removing/disabling unused variables/functions.
Vinay Bondhugula [Fri, 18 Apr 2008 00:54:23 +0000 (20:54 -0400)]
Bump version to 10.16.1 in configure.ac
The previous change didn't bump up the version in configure.ac.
Vinay Bondhugula [Fri, 18 Apr 2008 00:39:02 +0000 (20:39 -0400)]
Prepare for 10.16.1
Update the modinfo section and make a configure.ac fix.
Vinay Bondhugula [Thu, 17 Apr 2008 23:16:48 +0000 (19:16 -0400)]
Fix build for all modular versions of Xorg
This change makes the video driver compile with Xorg 7.0. There are a couple of
trivial changes that bring down the maximum Xserver version down to 2.0. Hacky,
but good enough for now.
Vinay Bondhugula [Thu, 27 Mar 2008 01:32:47 +0000 (21:32 -0400)]
Send down guest display topology
Send down the Xinerama topology from the guest down to the host, by setting
display topology registers in the SVGA device.
Adam Jackson [Wed, 19 Mar 2008 21:03:18 +0000 (17:03 -0400)]
vmware 10.16.0
Adam Jackson [Wed, 19 Mar 2008 21:00:41 +0000 (17:00 -0400)]
Fix distcheck.
Bankim Bhavsar [Fri, 14 Mar 2008 16:42:40 +0000 (12:42 -0400)]
Video Overlay: Source video parameters
This patch adds parameters to the source video frame. Applications can request
only a subset of the source video frame to be displayed. These parameters are
srcX, srcY, srcWidth and srcHeight. width and height represent the entire
source video frame.
Matthieu Herrb [Sat, 8 Mar 2008 23:08:32 +0000 (00:08 +0100)]
Makefile.am: nuke RCS Id
Bankim Bhavsar [Thu, 24 Jan 2008 06:13:07 +0000 (22:13 -0800)]
Xv extension for VMware's video driver
This patch implements the Xv extension for VMware's X video driver.
The Xv specification can be found here
http://www.xfree86.org/current/DESIGN16.html
I've written a trivial offscreen memory manager that allocates memory from the
bottom part of the Video RAM and it can handle only 1 video-stream. Eventually
we intend to support upto 32 video-streams (there is already support for
multiple video streams in respective backends).
Vinay [Sat, 19 Jan 2008 16:39:24 +0000 (08:39 -0800)]
Trivial libpciaccess related fix
Fix VMWAREUnmapMem to correctly unmap memory for the libpciaccess case.
Vinay Bondhugula [Mon, 8 Oct 2007 17:54:04 +0000 (10:54 -0700)]
Port to libpciaccess.
Philip Langdale [Tue, 25 Sep 2007 23:06:38 +0000 (16:06 -0700)]
Update for 10.15.2 release
Philip Langdale [Mon, 24 Sep 2007 18:48:12 +0000 (11:48 -0700)]
There are problems when running with old X releases with a
global symbol collision with the mouse driver.
Philip Langdale [Tue, 11 Sep 2007 04:19:38 +0000 (21:19 -0700)]
Guard modinfo section against gcc.
Philip Langdale [Tue, 11 Sep 2007 04:16:04 +0000 (21:16 -0700)]
Ready 10.15.1 release.
To allow for easier detection of driver version by other VMware tools,
we are embedding the version in a .modinfo section so that the Linux
kernel 'modinfo' tool can be (ab)used to check it.
James Cloos [Mon, 3 Sep 2007 09:52:51 +0000 (05:52 -0400)]
Add *~ to .gitignore to skip patch/emacs droppings
Philip Langdale [Mon, 9 Jul 2007 20:45:22 +0000 (13:45 -0700)]
Update copyright date.
Philip Langdale [Fri, 9 Feb 2007 23:06:17 +0000 (15:06 -0800)]
Add svga_modes.h to Makefile.am
Philip Langdale [Fri, 9 Feb 2007 19:09:17 +0000 (11:09 -0800)]
Filter out default modes that are larger than the hardware
maxmimum size and add an explicit mode for the hardware
maximum.
Philip Langdale [Fri, 9 Feb 2007 18:00:32 +0000 (10:00 -0800)]
Correct the incorrect 1080p resolution.
Should be 1920x1080 and not 1900x1080. Whoops.
Philip Langdale [Fri, 9 Feb 2007 02:22:16 +0000 (18:22 -0800)]
Bump version to 10.15.0
This release adds truely usable resizing support by
removing the restriction that the you cannot resize
larger than the initial mode.
Philip Langdale [Fri, 9 Feb 2007 02:07:19 +0000 (18:07 -0800)]
Fix a race condition when switching to a multihead fullscreen mode.
Due to implemtation details on the host side, switching to a multihead
fullscreen mode means multiple mode changes along the way. However,
because rrSetScreenConfig returns before the mode change completes,
we can enter a race, where a subsequent SetDisplayTopology overrides
the current pending one, leading to a mode switch where the resolution
and topology are no longer consistent.
So, we fix this by ignoring any attempts to set the pending topology if
one is already pending.
Philip Langdale [Fri, 9 Feb 2007 01:08:08 +0000 (17:08 -0800)]
Add a bunch of useful modes to the mode list.
The X server prunes modes above the initial mode and
the number of default modes varies with distro and
server version. As it's easy to do, let's add a bunch
of useful versions in the driver so that users don't
have to mess with their config files as often.
Philip Langdale [Thu, 8 Feb 2007 21:44:57 +0000 (13:44 -0800)]
Update man page to remove mention of the NoAccel option which
no longer exists as we don't do any 'acceleration'.
Philip Langdale [Thu, 8 Feb 2007 21:42:31 +0000 (13:42 -0800)]
Remove XAA 'acceleration'.
We have a lot of stale code to 'accelerate' certain operations
through XAA. However, in practice, this acceleration is
completely unhelpful because whenever we encounter an
unaccelerated action, we have to sync and flush the fifo
which kills any performance gain.
As such, the virtual hardware doesn't even advertise these
acceleration capabilities anymore, so the code is completely
unusued.
In addition, XAA is on the way out, so there's no point
leaving in dead code which will have to go in the fairly
near future.
The one operation we can meaningfully accelerate is a
front-only fill and when we get around to implementing
that, we'll use EXA instead.
Philip Langdale [Thu, 8 Feb 2007 18:33:14 +0000 (10:33 -0800)]
Make resizing work once and for all.
This change removes the limitation on resizing larger than the
initial size and removes the need for pitch-locking bu resizing
the screen pixmap. Now the only limit on the screen size is
the maximum width/height reported by the virtual hardware which
is configured on the host side.
Eamon Walsh [Mon, 18 Dec 2006 19:05:19 +0000 (14:05 -0500)]
Revert "Convert callers of LookupWindow() to dixLookupWindow()."
This reverts commit
1f298c24fe1dde35f0d77cc34518eb9c2b873fc5.
Eamon Walsh [Fri, 15 Dec 2006 22:41:52 +0000 (17:41 -0500)]
Convert callers of LookupWindow() to dixLookupWindow().
Philip Langdale [Thu, 7 Dec 2006 00:48:12 +0000 (16:48 -0800)]
Explicitly initialise buffer to NULL for parsing xinerama topologies.
Philip Langdale [Wed, 1 Nov 2006 03:17:39 +0000 (19:17 -0800)]
Update man page to document "StaticXinerama"
Philip Langdale [Wed, 1 Nov 2006 03:12:29 +0000 (19:12 -0800)]
Bump version to 10.14.0
Philip Langdale [Mon, 30 Oct 2006 19:52:57 +0000 (11:52 -0800)]
Fix more warnings.
Philip Langdale [Mon, 30 Oct 2006 18:53:18 +0000 (10:53 -0800)]
Fix some warnings noted when compiling the code against
older Xorg versions.
Philip Langdale [Thu, 26 Oct 2006 01:06:13 +0000 (18:06 -0700)]
Refactor static Xinerama parsing.
Philip Langdale [Wed, 25 Oct 2006 17:49:27 +0000 (10:49 -0700)]
Add support for a static Xinerama configuration to be specified
in xorg.conf. This static configuration will always be used and
any attempts to update it will be ignored.
Note that all xinerama aware apps that I have seen will not
sanity check the xinerama extents against the screen size, so
if the screen doesn't properly enclose the xinerama extents,
expect your apps to punish you accordingly.
Philip Langdale [Wed, 11 Oct 2006 18:47:39 +0000 (11:47 -0700)]
Update .gitignore
Philip Langdale [Wed, 11 Oct 2006 18:47:25 +0000 (11:47 -0700)]
Add vmwarectrl sample client.
Philip Langdale [Wed, 11 Oct 2006 18:36:22 +0000 (11:36 -0700)]
Add .gitignore files.
Philip Langdale [Wed, 11 Oct 2006 18:32:18 +0000 (11:32 -0700)]
Document the 'Xinerama' option and tweak the default to reflect
the capabilites of the underlying hardware.
Philip Langdale [Wed, 11 Oct 2006 18:26:04 +0000 (11:26 -0700)]
Check for xinerama in configure.ac
Philip Langdale [Wed, 11 Oct 2006 17:57:57 +0000 (10:57 -0700)]
Add xinerama support to the vmware video driver. (Better late than never).
With this change, the VMWARE_CTRL extension is updated so that it can
receive topology updates at runtime. I will add some sample client code
separately.
I also intend to add support for a static initial topology defined in
xorg.conf but I haven't got around to it yet due to hating to write
string parsing code.
Philip Langdale [Wed, 20 Sep 2006 18:40:54 +0000 (11:40 -0700)]
Add support for the upcoming PITCHLOCK register. The FIFO register
is deprecated but support is retained so the driver works with
Workstation 5.5 and friends.
Philip Langdale [Sun, 3 Sep 2006 17:45:22 +0000 (10:45 -0700)]
Fix https://bugs.freedesktop.org/show_bug.cgi?id=8094
Lazily allocate the dynamic modes used for pixel precise guest
resizing. They will not appear until they are neeed.
Adam Jackson [Fri, 7 Apr 2006 21:57:24 +0000 (21:57 +0000)]
Unlibcwrap. Bump server version requirement. Bump to 1.1.0.
Adam Jackson [Fri, 7 Apr 2006 21:55:49 +0000 (21:55 +0000)]
Unlibcwrap. Bump server version requirement. Bump to 10.13.0.
philipl [Tue, 7 Feb 2006 18:51:35 +0000 (18:51 +0000)]
Add VMWARE_CTRL extension.
philipl [Tue, 17 Jan 2006 00:40:43 +0000 (00:40 +0000)]
Use DriverFunc to adjust physical size to keep DPI constant.
Kevin E Martin [Wed, 21 Dec 2005 02:30:04 +0000 (02:30 +0000)]
Update package version for X11R7 release.
Adam Jackson [Mon, 19 Dec 2005 16:25:56 +0000 (16:25 +0000)]
Stub COPYING files
Kevin E Martin [Thu, 15 Dec 2005 00:24:21 +0000 (00:24 +0000)]
Update package version number for final X11R7 release candidate.
Kevin E Martin [Tue, 6 Dec 2005 22:48:41 +0000 (22:48 +0000)]
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
Kevin E Martin [Sat, 3 Dec 2005 05:49:37 +0000 (05:49 +0000)]
Update package version number for X11R7 RC3 release.
Kevin E Martin [Fri, 2 Dec 2005 02:16:12 +0000 (02:16 +0000)]
Remove extraneous AC_MSG_RESULT.
Adam Jackson [Tue, 29 Nov 2005 23:30:06 +0000 (23:30 +0000)]
Only build dlloader modules by default.
Alan Coopersmith [Mon, 28 Nov 2005 22:04:15 +0000 (22:04 +0000)]
Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
Eric Anholt [Mon, 21 Nov 2005 10:49:23 +0000 (10:49 +0000)]
Add .cvsignores for drivers.
Kevin E Martin [Wed, 9 Nov 2005 21:31:21 +0000 (21:31 +0000)]
Bump version numbers for X11R6.9/X11R7 RC2.
Kevin E Martin [Wed, 9 Nov 2005 21:15:23 +0000 (21:15 +0000)]
Update package version number for X11R7 RC2 release.
nolan [Thu, 3 Nov 2005 04:26:00 +0000 (04:26 +0000)]
Fix a bug where the cursor disappears. Committed on behalf of Shelley Gong
(shelleygong@vmware.com).
Kevin E Martin [Tue, 1 Nov 2005 15:08:57 +0000 (15:08 +0000)]
Update pkgcheck depedencies to work with separate build roots.
Kevin E Martin [Wed, 19 Oct 2005 02:48:06 +0000 (02:48 +0000)]
Update package version number for RC1 release.
Alan Coopersmith [Tue, 18 Oct 2005 00:01:55 +0000 (00:01 +0000)]
Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro
substitutions to work better with BSD make
Adam Jackson [Mon, 17 Oct 2005 22:57:38 +0000 (22:57 +0000)]
More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead
of indirectly
Alan Coopersmith [Mon, 17 Oct 2005 00:09:09 +0000 (00:09 +0000)]
Use sed & cpp to substitute variables in driver man pages
nolan [Fri, 23 Sep 2005 02:55:25 +0000 (02:55 +0000)]
Support for XRandR in the VMware driver. Committed on behalf of Phil
Langdale (plangdale@vmware.com)
Daniel Stone [Thu, 18 Aug 2005 09:03:55 +0000 (09:03 +0000)]
Update autogen.sh to one that does objdir != srcdir.
Kevin E Martin [Fri, 29 Jul 2005 21:22:46 +0000 (21:22 +0000)]
Various changes preparing packages for RC0:
- Verify and update package version numbers as needed
- Implement versioning scheme
- Change bug address to point to bugzilla bug entry form
- Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
reenable it)
- Fix makedepend to use pkgconfig and pass distcheck
- Update build script to build macros first
- Update modular Xorg version
Søren Sandmann Pedersen [Tue, 26 Jul 2005 23:57:30 +0000 (23:57 +0000)]
Build system for vmware
Adam Jackson [Mon, 11 Jul 2005 02:30:07 +0000 (02:30 +0000)]
Prep for modular builds by adding guarded #include "config.h" everywhere.
Daniel Stone [Fri, 1 Jul 2005 22:43:21 +0000 (22:43 +0000)]
Change all misc.h and os.h references to <X11/foo.h>.
Adam Jackson [Sat, 25 Jun 2005 21:17:00 +0000 (21:17 +0000)]
Bug #3626: _X_EXPORT tags for video and input drivers.
nolan [Fri, 18 Feb 2005 23:15:59 +0000 (23:15 +0000)]
updated copyright string in man page of VMware SVGA driver.
nolan [Thu, 30 Sep 2004 21:44:35 +0000 (21:44 +0000)]
Bugfix for Alpha Texture acceleration from Constantine Sapuntzakis.
nolan [Sat, 14 Aug 2004 01:03:55 +0000 (01:03 +0000)]
Save the register state before we write to any of them. This makes the
VMware driver coexist with VESA fbcon.
nolan [Tue, 29 Jun 2004 02:20:25 +0000 (02:20 +0000)]
Send cursor hotspot through the FIFO. This fixes host cursor. Allow any bpp
when 8BIT_EMULATION is set. Save/restore the ID register.
Eric Anholt [Wed, 16 Jun 2004 09:22:38 +0000 (09:22 +0000)]
DRI XFree86-4_3_99_12-merge import
Egbert Eich [Fri, 23 Apr 2004 19:53:57 +0000 (19:53 +0000)]
Merging XORG-CURRENT into trunk
Egbert Eich [Sun, 14 Mar 2004 08:33:42 +0000 (08:33 +0000)]
Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
Egbert Eich [Wed, 3 Mar 2004 12:12:28 +0000 (12:12 +0000)]
Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
Egbert Eich [Thu, 26 Feb 2004 13:35:56 +0000 (13:35 +0000)]
readding XFree86's cvs IDs