~ubuntu-branches/ubuntu/vivid/virtualbox-ose/vivid

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/vboxvideo/vboxvideo_68.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-03-11 17:16:37 UTC
  • mfrom: (0.3.4 upstream) (0.4.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100311171637-43z64ia3ccpj8vqn
Tags: 3.1.4-dfsg-2ubuntu1
* Merge from Debian unstable (LP: #528561), remaining changes:
  - VirtualBox should go in Accessories, not in System tools (LP: #288590)
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Add Launchpad integration
    - debian/control
    - debian/lpi-bug.xpm
    - debian/patches/u02-lp-integration.dpatch
  - Replace *-source packages with transitional packages for *-dkms
* Fix crash in vboxvideo_drm with kernel 2.6.33 / backported drm code
  (LP: #535297)
* Add a list of linux-headers packages to the apport hook
* Update debian/patches/u02-lp-integration.dpatch with a
  DEP-3 compliant header
* Add ${misc:Depends} to virtualbox-ose-source and virtualbox-ose-guest-source
  Depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
    pciVideoPtr pciInfo;
135
135
    PCITAG pciTag;
136
136
    CARD16 maxBytesPerScanline;
137
 
    int mapPhys, mapOff, mapSize;       /* video memory */
 
137
    unsigned long mapPhys, mapOff, mapSize;     /* video memory */
138
138
    void *base, *VGAbase;
139
139
    CARD8 *state, *pstate;      /* SVGA state */
140
140
    int statePage, stateSize, stateMode;
175
175
 
176
176
extern Bool vboxDisableVbva(ScrnInfoPtr pScrn);
177
177
 
178
 
extern Bool vboxGetDisplayChangeRequest(ScrnInfoPtr pScrn, uint32_t *pcx,
179
 
                                        uint32_t *pcy, uint32_t *pcBits,
180
 
                                        uint32_t *piDisplay);
 
178
/**
 
179
 * Query the last display change request.
 
180
 *
 
181
 * @returns boolean success indicator.
 
182
 * @param   pScrn       Pointer to the X screen info structure.
 
183
 * @param   pcx         Where to store the horizontal pixel resolution (0 = do not change).
 
184
 * @param   pcy         Where to store the vertical pixel resolution (0 = do not change).
 
185
 * @param   pcBits      Where to store the bits per pixel (0 = do not change).
 
186
 * @param   fEventAck   Flag that the request is an acknowlegement for the
 
187
 *                      VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST.
 
188
 *                      Values:
 
189
 *                          0                                   - just querying,
 
190
 *                          VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST - event acknowledged.
 
191
 * @param   iDisplay    0 for primary display, 1 for the first secondary, etc.
 
192
 */
 
193
extern Bool
 
194
vboxGetDisplayChangeRequest(ScrnInfoPtr pScrn, uint32_t *pcx, uint32_t *pcy,
 
195
                                    uint32_t *pcBits, uint32_t fEventAck, uint32_t iDisplay);
181
196
 
182
197
#endif /* _VBOXVIDEO_H_ */