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

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/xorg-server-1.5.3/extension_string.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
 
/*
2
 
 * (C) Copyright IBM Corporation 2002-2006
3
 
 * All Rights Reserved.
4
 
 *
5
 
 * Permission is hereby granted, free of charge, to any person obtaining a
6
 
 * copy of this software and associated documentation files (the "Software"),
7
 
 * to deal in the Software without restriction, including without limitation
8
 
 * on the rights to use, copy, modify, merge, publish, distribute, sub
9
 
 * license, and/or sell copies of the Software, and to permit persons to whom
10
 
 * the Software is furnished to do so, subject to the following conditions:
11
 
 *
12
 
 * The above copyright notice and this permission notice (including the next
13
 
 * paragraph) shall be included in all copies or substantial portions of the
14
 
 * Software.
15
 
 *
16
 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
 
 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
19
 
 * THE COPYRIGHT HOLDERS AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM,
20
 
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
21
 
 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
22
 
 * USE OR OTHER DEALINGS IN THE SOFTWARE.
23
 
 */
24
 
 
25
 
/**
26
 
 * \file extension_string.h
27
 
 * Routines to manage the GLX extension string and GLX version for AIGLX
28
 
 * drivers.  This code is loosely based on src/glx/x11/glxextensions.c from
29
 
 * Mesa.
30
 
 *
31
 
 * \author Ian Romanick <idr@us.ibm.com>
32
 
 */
33
 
 
34
 
#ifndef GLX_EXTENSION_STRING_H
35
 
#define GLX_EXTENSION_STRING_H
36
 
 
37
 
enum {
38
 
/*   GLX_ARB_get_proc_address is implemented on the client. */
39
 
   ARB_multisample_bit = 0,
40
 
   EXT_import_context_bit,
41
 
   EXT_texture_from_pixmap_bit,
42
 
   EXT_visual_info_bit,
43
 
   EXT_visual_rating_bit,
44
 
   MESA_copy_sub_buffer_bit,
45
 
   OML_swap_method_bit,
46
 
   SGI_make_current_read_bit,
47
 
   SGI_swap_control_bit,
48
 
   SGI_video_sync_bit,
49
 
   SGIS_multisample_bit,
50
 
   SGIX_fbconfig_bit,
51
 
   SGIX_pbuffer_bit,
52
 
   SGIX_visual_select_group_bit,
53
 
   __NUM_GLX_EXTS,
54
 
};
55
 
 
56
 
#define __GLX_EXT_BYTES ((__NUM_GLX_EXTS + 7) / 8)
57
 
 
58
 
extern int __glXGetExtensionString(const unsigned char *enable_bits,
59
 
    char *buffer);
60
 
extern void __glXEnableExtension(unsigned char *enable_bits, const char *ext);
61
 
extern void __glXInitExtensionEnableBits(unsigned char *enable_bits);
62
 
 
63
 
#endif /* GLX_EXTENSION_STRING_H */