~ubuntu-branches/ubuntu/vivid/libxrender/vivid

« back to all changes in this revision

Viewing changes to src/Filter.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau, Timo Aaltonen, Julien Cristau
  • Date: 2009-11-25 19:38:16 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091125193816-i8z1czm0p4kzen9g
Tags: 1:0.9.5-1
[ Timo Aaltonen ]
* New upstream release.
* Run autoreconf on build. Add build-deps on automake, libtool
  and xutils-dev.
* Parse space-separated DEB_BUILD_OPTIONS, and handle parallel=N.
* Bump Standards-Version to 3.8.3.
* Move -dbg package to section debug.
* Drop pre-dependency on x11-common from libxrender-dev. This was needed
  for upgrades from sarge.

[ Julien Cristau ]
* Install the libXrender doc in libxrender-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    long                        nbytes, nbytesAlias, nbytesName;
41
41
    
42
42
    if (!RenderHasExtension (info))
43
 
        return 0;
 
43
        return NULL;
44
44
 
45
45
    if (!XRenderQueryFormats (dpy))
46
 
        return 0;
 
46
        return NULL;
47
47
 
48
48
    xri = info->info;
49
49
    if (xri->minor_version < 6)
50
 
        return 0;
 
50
        return NULL;
51
51
    
52
52
    LockDisplay (dpy);
53
53
    GetReq (RenderQueryFilters, req);
58
58
    {
59
59
        UnlockDisplay (dpy);
60
60
        SyncHandle ();
61
 
        return 0;
 
61
        return NULL;
62
62
    }
63
63
    /*
64
64
     * Compute total number of bytes for filter names
82
82
        _XEatData (dpy, (unsigned long) rep.length << 2);
83
83
        UnlockDisplay (dpy);
84
84
        SyncHandle ();
85
 
        return 0;
 
85
        return NULL;
86
86
    }
87
87
 
88
88
    /*
146
146
    req->nbytes = nbytes;
147
147
    req->length += ((nbytes + 3) >> 2) + nparams;
148
148
    Data (dpy, filter, nbytes);
149
 
    Data (dpy, params, nparams << 2);
 
149
    Data (dpy, (_Xconst char *)params, nparams << 2);
150
150
    UnlockDisplay(dpy);
151
151
    SyncHandle();
152
152
}