~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/7.0/xorg/shadowfb.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/shadowfb.h,v 1.3 2002/10/16 22:12:54 alanh Exp $ */
2
 
 
3
 
#ifndef _SHADOWFB_H
4
 
#define _SHADOWFB_H
5
 
 
6
 
#include "xf86str.h"
7
 
 
8
 
/*
9
 
 * User defined callback function.  Passed a pointer to the ScrnInfo struct,
10
 
 * the number of dirty rectangles, and a pointer to the first dirty rectangle
11
 
 * in the array.
12
 
 */
13
 
typedef void (*RefreshAreaFuncPtr)(ScrnInfoPtr, int, BoxPtr);
14
 
 
15
 
/*
16
 
 * ShadowFBInit initializes the shadowfb subsystem.  refreshArea is a pointer
17
 
 * to a user supplied callback function.  This function will be called after
18
 
 * any operation that modifies the framebuffer.  The newly dirtied rectangles
19
 
 * are passed to the callback.
20
 
 *
21
 
 * Returns FALSE in the event of an error.
22
 
 */
23
 
Bool
24
 
ShadowFBInit (
25
 
    ScreenPtr           pScreen,
26
 
    RefreshAreaFuncPtr  refreshArea
27
 
);
28
 
 
29
 
/*
30
 
 * ShadowFBInit2 is a more featureful refinement of the original shadowfb.
31
 
 * ShadowFBInit2 allows you to specify two callbacks, one to be called
32
 
 * immediately before an operation that modifies the framebuffer, and another
33
 
 * to be called immediately after.  
34
 
 *
35
 
 * Returns FALSE in the event of an error
36
 
 */
37
 
Bool
38
 
ShadowFBInit2 (
39
 
    ScreenPtr           pScreen,
40
 
    RefreshAreaFuncPtr  preRefreshArea,
41
 
    RefreshAreaFuncPtr  postRefreshArea
42
 
);
43
 
 
44
 
#endif /* _SHADOWFB_H */