VirtualBox

Changeset 55559 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Apr 30, 2015 2:55:23 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99927
Message:

Additions/x11/vboxvideo: print the subversion revision to the X.Org log file.

Location:
trunk/src/VBox/Additions/x11/vboxvideo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r55196 r55559  
    4747        $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
    4848        $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
     49
     50vboxvideo.c_DEPS = $(VBOX_SVN_REV_KMK)
    4951
    5052#
     
    382384vboxvideo_drv_117_SOURCES := $(vboxvideo_drv_17_SOURCES)
    383385
    384 
    385386ifdef VBOX_USE_SYSTEM_XORG_HEADERS
    386387 # Build using local X.Org headers.  We assume X.Org Server 1.7 or later.
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r55471 r55559  
    6060#include "version-generated.h"
    6161#include "product-generated.h"
     62#include "revision-generated.h"
    6263
    6364/* Basic definitions and functions needed by all drivers. */
     
    340341     * See the work-around in PreInit. */
    341342    xf86RandR12GetOriginalVirtualSize(pScrn, &originalX, &originalY);
    342     VBVXASSERT(originalX == VBOX_VIDEO_MAX_VIRTUAL && originalY == VBOX_VIDEO_MAX_VIRTUAL, (""));
     343    VBVXASSERT(originalX == VBOX_VIDEO_MAX_VIRTUAL && originalY == VBOX_VIDEO_MAX_VIRTUAL, ("OriginalSize=%dx%d",
     344               originalX, originalY));
    343345    for (i = cFirst; i < cLast; ++i)
    344346        if (pVBox->pScreens[i].paCrtcs->mode.HDisplay != 0 && pVBox->pScreens[i].paCrtcs->mode.VDisplay != 0)
     
    824826        return (FALSE);
    825827
    826     xf86DrvMsg(pScrn->scrnIndex, X_INFO,
    827                "VirtualBox guest additions video driver version "
    828                VBOX_VERSION_STRING "\n");
     828    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "VirtualBox guest additions video driver version " VBOX_VERSION_STRING "r%d\n",
     829               VBOX_SVN_REV);
    829830
    830831    /* Get our private data from the ScrnInfoRec structure. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette