Beispiel #1
0
static void
VGAarbiterPolySegment(DrawablePtr pDraw, GCPtr pGC, int nseg, xSegment * pSeg)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->PolySegment) (pDraw, pGC, nseg, pSeg);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #2
0
static void
VGAarbiterPolyRectangle(DrawablePtr pDraw,
                        GCPtr pGC, int nRectsInit, xRectangle *pRectsInit)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->PolyRectangle) (pDraw, pGC, nRectsInit, pRectsInit);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #3
0
static void
VGAarbiterPolyFillRect(DrawablePtr pDraw,
                       GCPtr pGC, int nrectFill, xRectangle *prectInit)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->PolyFillRect) (pDraw, pGC, nrectFill, prectInit);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #4
0
static void
VGAarbiterImageText16(DrawablePtr pDraw,
                      GCPtr pGC, int x, int y, int count, unsigned short *chars)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->ImageText16) (pDraw, pGC, x, y, count, chars);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #5
0
static void
VGAarbiterChangeClip (
    GCPtr   pGC,
    int     type,
    pointer pvalue,
    int     nrects )
{
    GC_UNWRAP (pGC);
    DPRINT("VGAarbiterChangeClip");
    (*pGC->funcs->ChangeClip) (pGC, type, pvalue, nrects);
    GC_WRAP (pGC);
}
Beispiel #6
0
static void
VGAarbiterPolylines(DrawablePtr pDraw,
                    GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->Polylines) (pDraw, pGC, mode, npt, pptInit);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #7
0
static void
VGAarbiterPushPixels(GCPtr pGC,
                     PixmapPtr pBitMap,
                     DrawablePtr pDraw, int dx, int dy, int xOrg, int yOrg)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->PushPixels) (pGC, pBitMap, pDraw, dx, dy, xOrg, yOrg);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #8
0
static void
VGAarbiterFillPolygon(DrawablePtr pDraw,
                      GCPtr pGC,
                      int shape, int mode, int count, DDXPointPtr ptsIn)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->FillPolygon) (pDraw, pGC, shape, mode, count, ptsIn);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #9
0
static void
VGAarbiterPolyRectangle(
    DrawablePtr  pDraw,
    GCPtr        pGC,
    int          nRectsInit,
    xRectangle  *pRectsInit )
{
    GC_UNWRAP(pGC);
    VGAGet_GC();
    (*pGC->ops->PolyRectangle)(pDraw, pGC, nRectsInit, pRectsInit);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #10
0
static void
VGAarbiterPolyFillArc(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     narcs,
    xArc    *parcs )
{
    GC_UNWRAP(pGC);
    VGAGet_GC();
    (*pGC->ops->PolyFillArc)(pDraw, pGC, narcs, parcs);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #11
0
static void
VGAarbiterPolySegment(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     nseg,
    xSegment    *pSeg )
{
    GC_UNWRAP(pGC);
    VGAGet_GC();
    (*pGC->ops->PolySegment)(pDraw, pGC, nseg, pSeg);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #12
0
static void
VGAarbiterPolyFillRect(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     nrectFill,
    xRectangle  *prectInit)
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterPolyFillRect");
    VGAGet_GC();
    (*pGC->ops->PolyFillRect)(pDraw, pGC, nrectFill, prectInit);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #13
0
static void
VGAarbiterPushPixels(
    GCPtr   pGC,
    PixmapPtr   pBitMap,
    DrawablePtr pDraw,
    int dx, int dy, int xOrg, int yOrg )
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterPushPixels");
    VGAGet_GC();
    (*pGC->ops->PushPixels)(pGC, pBitMap, pDraw, dx, dy, xOrg, yOrg);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #14
0
static void
VGAarbiterPolyPoint(
    DrawablePtr pDraw,
    GCPtr pGC,
    int mode,
    int npt,
    xPoint *pptInit )
{
    GC_UNWRAP(pGC);
    VGAGet_GC();
    (*pGC->ops->PolyPoint)(pDraw, pGC, mode, npt, pptInit);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #15
0
static int
VGAarbiterPolyText16(DrawablePtr pDraw,
                     GCPtr pGC, int x, int y, int count, unsigned short *chars)
{
    int ret;
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    ret = (*pGC->ops->PolyText16) (pDraw, pGC, x, y, count, chars);
    VGAPut();
    GC_WRAP(pGC);
    return ret;
}
Beispiel #16
0
static void
VGAarbiterPolyFillArc(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     narcs,
    xArc    *parcs )
{
    ScreenPtr pScreen = pGC->pScreen;
    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->PolyFillArc)(pDraw, pGC, narcs, parcs);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #17
0
/* GC Ops */
static void
VGAarbiterFillSpans(DrawablePtr pDraw,
                    GC * pGC,
                    int nInit,
                    DDXPointPtr pptInit, int *pwidthInit, int fSorted)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->FillSpans) (pDraw, pGC, nInit, pptInit, pwidthInit, fSorted);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #18
0
static void
VGAarbiterImageText8(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     x,
    int     y,
    int     count,
    char    *chars )
{
    GC_UNWRAP(pGC);
    VGAGet_GC();
    (*pGC->ops->ImageText8)(pDraw, pGC, x, y, count, chars);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #19
0
static void
VGAarbiterPolylines(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     mode,
    int     npt,
    DDXPointPtr pptInit )
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterPolylines");
    VGAGet_GC();
    (*pGC->ops->Polylines)(pDraw, pGC, mode, npt, pptInit);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #20
0
static void
VGAarbiterSetSpans(DrawablePtr pDraw,
                   GCPtr pGC,
                   char *pcharsrc,
                   register DDXPointPtr ppt,
                   int *pwidth, int nspans, int fSorted)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->SetSpans) (pDraw, pGC, pcharsrc, ppt, pwidth, nspans, fSorted);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #21
0
static void
VGAarbiterFillPolygon(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     shape,
    int     mode,
    int     count,
    DDXPointPtr ptsIn )
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterFillPolygon");
    VGAGet_GC();
    (*pGC->ops->FillPolygon)(pDraw, pGC, shape, mode, count, ptsIn);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #22
0
static void
VGAarbiterPolyGlyphBlt(DrawablePtr pDraw,
                       GCPtr pGC,
                       int xInit, int yInit,
                       unsigned int nglyph,
                       CharInfoPtr * ppci, void *pglyphBase)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->PolyGlyphBlt) (pDraw, pGC, xInit, yInit,
                               nglyph, ppci, pglyphBase);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #23
0
/* GC Ops */
static void
VGAarbiterFillSpans(
    DrawablePtr pDraw,
    GC      *pGC,
    int     nInit,
    DDXPointPtr pptInit,
    int *pwidthInit,
    int fSorted )
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterFillSpans");
    VGAGet_GC();
    (*pGC->ops->FillSpans)(pDraw, pGC, nInit, pptInit, pwidthInit, fSorted);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #24
0
static void
VGAarbiterImageText16(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     x,
    int     y,
    int     count,
    unsigned short *chars )
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterImageText16");
    VGAGet_GC();
    (*pGC->ops->ImageText16)(pDraw, pGC, x, y, count, chars);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #25
0
static void
VGAarbiterPutImage(DrawablePtr pDraw,
                   GCPtr pGC,
                   int depth,
                   int x, int y, int w, int h,
                   int leftPad, int format, char *pImage)
{
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    (*pGC->ops->PutImage) (pDraw, pGC, depth, x, y, w, h,
                           leftPad, format, pImage);
    VGAPut();
    GC_WRAP(pGC);
}
Beispiel #26
0
static void
VGAarbiterPolyGlyphBlt(
    DrawablePtr pDraw,
    GCPtr pGC,
    int xInit, int yInit,
    unsigned int nglyph,
    CharInfoPtr *ppci,
    pointer pglyphBase )
{
    GC_UNWRAP(pGC);
    VGAGet_GC();
    (*pGC->ops->PolyGlyphBlt)(pDraw, pGC, xInit, yInit,
                  nglyph, ppci, pglyphBase);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #27
0
static void
VGAarbiterSetSpans(
    DrawablePtr     pDraw,
    GCPtr       pGC,
    char        *pcharsrc,
    register DDXPointPtr ppt,
    int         *pwidth,
    int         nspans,
    int         fSorted )
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterSetSpans");
    VGAGet_GC();
    (*pGC->ops->SetSpans)(pDraw, pGC, pcharsrc, ppt, pwidth, nspans, fSorted);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #28
0
static int
VGAarbiterPolyText8(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     x,
    int     y,
    int     count,
    char    *chars )
{
    int ret;

    GC_UNWRAP(pGC);
    VGAGet_GC();
    ret = (*pGC->ops->PolyText8)(pDraw, pGC, x, y, count, chars);
    VGAPut_GC();
    GC_WRAP(pGC);
    return ret;
}
Beispiel #29
0
static void
VGAarbiterPutImage(
    DrawablePtr pDraw,
    GCPtr   pGC,
    int     depth,
    int x, int y, int w, int h,
    int     leftPad,
    int     format,
    char    *pImage )
{
    GC_UNWRAP(pGC);
    DPRINT("VGAarbiterPutImage");
    VGAGet_GC();
    (*pGC->ops->PutImage)(pDraw, pGC, depth, x, y, w, h,
              leftPad, format, pImage);
    VGAPut_GC();
    GC_WRAP(pGC);
}
Beispiel #30
0
static RegionPtr
VGAarbiterCopyArea(DrawablePtr pSrc,
                   DrawablePtr pDst,
                   GC * pGC,
                   int srcx, int srcy,
                   int width, int height, int dstx, int dsty)
{
    RegionPtr ret;
    ScreenPtr pScreen = pGC->pScreen;

    GC_UNWRAP(pGC);
    VGAGet(pScreen);
    ret = (*pGC->ops->CopyArea) (pSrc, pDst,
                                 pGC, srcx, srcy, width, height, dstx, dsty);
    VGAPut();
    GC_WRAP(pGC);
    return ret;
}