~ubuntu-branches/ubuntu/edgy/xorg-server/edgy-updates

« back to all changes in this revision

Viewing changes to mi/miinitext.c

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Parra Novo
  • Date: 2006-07-25 20:06:28 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060725200628-gjmmd9gxfxdc4ejs
Tags: 1:1.1.1-0ubuntu1
* New Upstream version
* Changed Build-Depends from mesa-swrast-source to mesa-swx11-source,
  following Debian package nomenclature
* Re-did 12_security_policy_in_etc.diff for 1.1.1
* Dropped 15_security_allocate_local.diff (applied upstream)
* Dropped 16_SECURITY_setuid.diff (applied upstream)
* Dropped 000_ubuntu_fix_read_kernel_mapping.patch (applied upstream)
* Dropped 002_ubuntu_fix_for_certain_intel_chipsets.patch (applied upstream)
* Updated versioned Build-Depends on mesa-swx11-source to version
  6.5.0.cvs.20060725-0ubuntu1
* Added arrayobj.c, arrayobj.h, bitset.h & rbadaptors.h to
  GL/symlink-mesa.sh (linked from mesa-swx11-source)
* Added arrayobj.c to default build target on GL/mesa/main

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $XdotOrg: xserver/xorg/mi/miinitext.c,v 1.26 2005/07/16 03:49:59 kem Exp $ */
 
1
/* $XdotOrg: xserver/xorg/mi/miinitext.c,v 1.31 2006/02/15 19:05:54 ajax Exp $ */
2
2
/* $XFree86: xc/programs/Xserver/mi/miinitext.c,v 3.67 2003/01/12 02:44:27 dawes Exp $ */
3
3
/***********************************************************
4
4
 
65
65
#undef DPMSExtension
66
66
#endif
67
67
 
 
68
#ifdef HAVE_KDRIVE_CONFIG_H
 
69
#include <kdrive-config.h>
 
70
/* there must be a better way... */
 
71
#undef XF86MISC
 
72
#undef XFreeXDGA
 
73
#undef XF86DRI
 
74
#undef XF86VIDMODE
 
75
#endif
 
76
 
 
77
#ifdef HAVE_XGL_CONFIG_H
 
78
#include <xgl-config.h>
 
79
#undef XF86MISC
 
80
#undef XFreeXDGA
 
81
#undef XF86DRI
 
82
#undef XF86VIDMODE
 
83
#endif
 
84
 
68
85
#include "misc.h"
69
86
#include "extension.h"
70
87
#include "micmap.h"
89
106
#undef XFreeXDGA
90
107
#undef XF86DRI
91
108
#undef DPMSExtension
92
 
#undef DPSEXT
93
109
#undef FONTCACHE
94
110
#undef DAMAGE
95
111
#undef XFIXES
115
131
#ifdef DBE
116
132
extern Bool noDbeExtension;
117
133
#endif
118
 
#ifdef DPSEXT
119
 
extern Bool noDPSExtension;
120
 
#endif
121
134
#ifdef DPMSExtension
122
135
extern Bool noDPMSExtension;
123
136
#endif
233
246
#include <X11/extensions/lbxstr.h>
234
247
#endif
235
248
#ifdef XPRINT
236
 
#include "Print.h"
 
249
#include <X11/extensions/Print.h>
237
250
#endif
238
251
#ifdef XAPPGROUP
239
252
#define _XAG_SERVER_
337
350
extern void XFree86DGAExtensionInit(INITARGS);
338
351
#endif
339
352
#ifdef GLXEXT
 
353
typedef struct __GLXprovider __GLXprovider;
 
354
extern __GLXprovider __glXMesaProvider;
 
355
extern void GlxPushProvider(__GLXprovider *impl);
340
356
#ifndef __DARWIN__
341
357
extern void GlxExtensionInit(INITARGS);
342
358
extern void GlxWrapInitVisuals(miInitVisualsProcPtr *);
354
370
#ifdef DPMSExtension
355
371
extern void DPMSExtensionInit(INITARGS);
356
372
#endif
357
 
#ifdef DPSEXT
358
 
extern void DPSExtensionInit(INITARGS);
359
 
#endif
360
373
#ifdef FONTCACHE
361
374
extern void FontCacheExtensionInit(INITARGS);
362
375
#endif
408
421
#ifdef DBE
409
422
    { "DOUBLE-BUFFER", &noDbeExtension },
410
423
#endif
411
 
#ifdef DPSEXT
412
 
    { "DPSExtension", &noDPSExtension },
413
 
#endif
414
424
#ifdef DPMSExtension
415
425
    { "DPMS", &noDPMSExtension },
416
426
#endif
636
646
#endif
637
647
#endif
638
648
#ifdef GLXEXT
 
649
 
 
650
    GlxPushProvider(&__glXMesaProvider);
639
651
#ifndef __DARWIN__
640
652
    if (!noGlxExtension) GlxExtensionInit();
641
653
#else
642
654
    if (!noGlxExtension) DarwinGlxExtensionInit();
643
655
#endif
644
656
#endif
645
 
#ifdef DPSEXT
646
 
#ifndef XPRINT
647
 
    if (!noDPSExtension) DPSExtensionInit();
648
 
#endif
649
 
#endif
650
657
#ifdef XFIXES
651
658
    /* must be before Render to layer DisplayCursor correctly */
652
659
    if (!noXFixesExtension) XFixesExtensionInit();
788
795
        (*__miHookInitVisualsFunction)(&miInitVisualsProc);
789
796
}
790
797
 
791
 
void miHookInitVisuals(void (**old)(miInitVisualsProcPtr *),
792
 
                       void (*new)(miInitVisualsProcPtr *))
 
798
_X_EXPORT void
 
799
miHookInitVisuals(void (**old)(miInitVisualsProcPtr *),
 
800
                  void (*new)(miInitVisualsProcPtr *))
793
801
{
794
802
    if (old)
795
803
        *old = __miHookInitVisualsFunction;