diff options
author | marha <marha@users.sourceforge.net> | 2014-02-07 23:46:30 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-02-07 23:46:30 +0100 |
commit | 6daf40f6b1138efad98dbb579cd35520cbc349bb (patch) | |
tree | 7f45dbb347f5e1a73b18a720633b9d801c968490 /xorg-server/glamor/glamor_polyops.c | |
parent | 5c64f94cf4cf8457a5616fe20b9a27174895f1a8 (diff) | |
parent | 982ac918afe6a1c02d5cf735d7b6c56443a048cc (diff) | |
download | vcxsrv-6daf40f6b1138efad98dbb579cd35520cbc349bb.tar.gz vcxsrv-6daf40f6b1138efad98dbb579cd35520cbc349bb.tar.bz2 vcxsrv-6daf40f6b1138efad98dbb579cd35520cbc349bb.zip |
Merge remote-tracking branch 'origin/released'
* origin/released:
xkbcomp xkeyboard-config libxcb libxtrans fontconfig libX11 libxcb mesa xserver git update 7 Feb 2014
Conflicts:
mesalib/src/glsl/glcpp/glcpp.c
openssl/Makefile
Diffstat (limited to 'xorg-server/glamor/glamor_polyops.c')
-rw-r--r-- | xorg-server/glamor/glamor_polyops.c | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/xorg-server/glamor/glamor_polyops.c b/xorg-server/glamor/glamor_polyops.c index 59301784d..1484d80f1 100644 --- a/xorg-server/glamor/glamor_polyops.c +++ b/xorg-server/glamor/glamor_polyops.c @@ -30,56 +30,53 @@ static Bool _glamor_poly_point(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, - DDXPointPtr ppt, Bool fallback) + DDXPointPtr ppt, Bool fallback) { - if (!fallback - && glamor_ddx_fallback_check_gc(pGC) - && glamor_ddx_fallback_check_pixmap(pDrawable)) - return FALSE; + if (!fallback && glamor_ddx_fallback_check_gc(pGC) + && glamor_ddx_fallback_check_pixmap(pDrawable)) + return FALSE; - miPolyPoint(pDrawable, pGC, mode, npt, ppt); + miPolyPoint(pDrawable, pGC, mode, npt, ppt); - return TRUE; + return TRUE; } void glamor_poly_point(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, - DDXPointPtr ppt) + DDXPointPtr ppt) { - _glamor_poly_point(pDrawable, pGC, mode, npt, ppt, TRUE); + _glamor_poly_point(pDrawable, pGC, mode, npt, ppt, TRUE); } Bool glamor_poly_point_nf(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, - DDXPointPtr ppt) + DDXPointPtr ppt) { - return _glamor_poly_point(pDrawable, pGC, mode, npt, ppt, FALSE); + return _glamor_poly_point(pDrawable, pGC, mode, npt, ppt, FALSE); } static Bool _glamor_poly_segment(DrawablePtr pDrawable, GCPtr pGC, int nseg, - xSegment *pSeg, Bool fallback) + xSegment *pSeg, Bool fallback) { - if (!fallback - && glamor_ddx_fallback_check_gc(pGC) - && glamor_ddx_fallback_check_pixmap(pDrawable)) - return FALSE; + if (!fallback && glamor_ddx_fallback_check_gc(pGC) + && glamor_ddx_fallback_check_pixmap(pDrawable)) + return FALSE; - miPolySegment(pDrawable, pGC, nseg, pSeg); + miPolySegment(pDrawable, pGC, nseg, pSeg); - return TRUE; + return TRUE; } void -glamor_poly_segment(DrawablePtr pDrawable, GCPtr pGC, int nseg, - xSegment *pSeg) +glamor_poly_segment(DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment *pSeg) { - _glamor_poly_segment(pDrawable, pGC, nseg, pSeg, TRUE); + _glamor_poly_segment(pDrawable, pGC, nseg, pSeg, TRUE); } Bool glamor_poly_segment_nf(DrawablePtr pDrawable, GCPtr pGC, int nseg, - xSegment *pSeg) + xSegment *pSeg) { - return _glamor_poly_segment(pDrawable, pGC, nseg, pSeg, FALSE); + return _glamor_poly_segment(pDrawable, pGC, nseg, pSeg, FALSE); } |