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

« back to all changes in this revision

Viewing changes to hw/xfree86/common/xisb.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:
68
68
 *      Function Definitions
69
69
 ****************************************************************************/
70
70
 
71
 
XISBuffer *
72
 
XisbNew (int fd, xf86ssize_t size)
 
71
_X_EXPORT XISBuffer *
 
72
XisbNew (int fd, ssize_t size)
73
73
{
74
74
        XISBuffer *b;
75
75
 
92
92
        return (b);
93
93
}
94
94
 
95
 
void
 
95
_X_EXPORT void
96
96
XisbFree (XISBuffer *b)
97
97
{
98
98
        xfree (b->buf);
99
99
        xfree (b);
100
100
}
101
101
 
102
 
int
 
102
_X_EXPORT int
103
103
XisbRead (XISBuffer *b)
104
104
{
105
105
        int ret;
142
142
}
143
143
 
144
144
/* the only purpose of this function is to provide output tracing */
145
 
xf86ssize_t
146
 
XisbWrite (XISBuffer *b, unsigned char *msg, xf86ssize_t len)
 
145
_X_EXPORT ssize_t
 
146
XisbWrite (XISBuffer *b, unsigned char *msg, ssize_t len)
147
147
{
148
148
    if (b->trace)
149
149
    {
155
155
}
156
156
 
157
157
/* turn tracing of this buffer on (1) or off (0) */
158
 
void
 
158
_X_EXPORT void
159
159
XisbTrace (XISBuffer *b, int trace)
160
160
{
161
161
        b->trace = trace;
173
173
 * give duration in usecs.
174
174
 */
175
175
 
176
 
void
 
176
_X_EXPORT void
177
177
XisbBlockDuration (XISBuffer *b, int block_duration)
178
178
{
179
179
        b->block_duration = block_duration;