本文整理匯總了C++中GET_OVERLAY_PRIV函數的典型用法代碼示例。如果您正苦於以下問題:C++ GET_OVERLAY_PRIV函數的具體用法?C++ GET_OVERLAY_PRIV怎麽用?C++ GET_OVERLAY_PRIV使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了GET_OVERLAY_PRIV函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。
示例1: XAAOverWindowExposures
void
XAAOverWindowExposures(
WindowPtr pWin,
RegionPtr pReg,
RegionPtr pOtherReg
){
ScreenPtr pScreen = pWin->drawable.pScreen;
XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCREEN(pScreen);
if((pWin->drawable.bitsPerPixel != 8) && infoRec->pScrn->vtSema) {
if(REGION_NUM_RECTS(pReg) && infoRec->FillSolidRects) {
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pScreen);
SWITCH_DEPTH(8);
(*infoRec->FillSolidRects)(infoRec->pScrn,
infoRec->pScrn->colorKey, GXcopy, ~0,
REGION_NUM_RECTS(pReg), REGION_RECTS(pReg));
miWindowExposures(pWin, pReg, pOtherReg);
return;
} else if(infoRec->NeedToSync) {
(*infoRec->Sync)(infoRec->pScrn);
infoRec->NeedToSync = FALSE;
}
}
XAA_SCREEN_PROLOGUE (pScreen, WindowExposures);
(*pScreen->WindowExposures) (pWin, pReg, pOtherReg);
XAA_SCREEN_EPILOGUE(pScreen, WindowExposures, XAAOverWindowExposures);
}
示例2: XAAOverPolyFillArcSolid
static void
XAAOverPolyFillArcSolid(DrawablePtr pDraw, GCPtr pGC, int narcs, xArc * parcs)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PolyFillArcSolid) (pDraw, pGC, narcs, parcs);
}
示例3: XAAOverImageText8NonTE
static void
XAAOverImageText8NonTE(DrawablePtr pDraw,
GCPtr pGC, int x, int y, int count, char *chars)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->ImageText8NonTE) (pDraw, pGC, x, y, count, chars);
}
示例4: XAAOverPolyRectangleThinSolid
static void
XAAOverPolyRectangleThinSolid(DrawablePtr pDraw,
GCPtr pGC, int nRectsInit, xRectangle *pRectsInit)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PolyRectangleThinSolid) (pDraw, pGC, nRectsInit, pRectsInit);
}
示例5: XAAOverPolySegmentThinDashed
static void
XAAOverPolySegmentThinDashed(DrawablePtr pDraw,
GCPtr pGC, int nseg, xSegment * pSeg)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PolySegmentThinDashed) (pDraw, pGC, nseg, pSeg);
}
示例6: XAAOverPolyText16TE
static int
XAAOverPolyText16TE(DrawablePtr pDraw,
GCPtr pGC, int x, int y, int count, unsigned short *chars)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
return (*pOverPriv->PolyText16TE) (pDraw, pGC, x, y, count, chars);
}
示例7: XAAOverPolylinesThinDashed
static void
XAAOverPolylinesThinDashed(DrawablePtr pDraw,
GCPtr pGC, int mode, int npt, DDXPointPtr pPts)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PolylinesThinDashed) (pDraw, pGC, mode, npt, pPts);
}
示例8: XAAOverPolyFillRectTiled
static void
XAAOverPolyFillRectTiled(DrawablePtr pDraw,
GCPtr pGC, int nrectFill, xRectangle *prectInit)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PolyFillRectTiled) (pDraw, pGC, nrectFill, prectInit);
}
示例9: XAAOverFillPolygonTiled
static void
XAAOverFillPolygonTiled(DrawablePtr pDraw,
GCPtr pGC,
int shape, int mode, int count, DDXPointPtr ptsIn)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->FillPolygonTiled) (pDraw, pGC, shape, mode, count, ptsIn);
}
示例10: XAAOverFillSpansTiled
static void
XAAOverFillSpansTiled(DrawablePtr pDraw,
GCPtr pGC,
int nInit, DDXPointPtr ppt, int *pwidth, int fSorted)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->FillSpansTiled) (pDraw, pGC, nInit, ppt, pwidth, fSorted);
}
示例11: XAAOverPushPixelsSolid
static void
XAAOverPushPixelsSolid(GCPtr pGC,
PixmapPtr pBitMap,
DrawablePtr pDraw, int dx, int dy, int xOrg, int yOrg)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PushPixelsSolid) (pGC, pBitMap, pDraw, dx, dy, xOrg, yOrg);
}
示例12: XAAOverCopyArea
static RegionPtr
XAAOverCopyArea(DrawablePtr pSrc,
DrawablePtr pDst,
GC * pGC,
int srcx, int srcy, int width, int height, int dstx, int dsty)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
return (*pOverPriv->CopyArea) (pSrc, pDst,
pGC, srcx, srcy, width, height, dstx, dsty);
}
示例13: XAAOverPutImage
static void
XAAOverPutImage(DrawablePtr pDraw,
GCPtr pGC,
int depth,
int x,
int y, int w, int h, int leftPad, int format, char *pImage)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PutImage) (pDraw, pGC, depth, x, y, w, h,
leftPad, format, pImage);
}
示例14: XAAOverTiledFillChooser
static int
XAAOverTiledFillChooser(GCPtr pGC)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
int ret;
ret = (*pOverPriv->TiledFillChooser) (pGC);
if ((pGC->depth == 8) && ((ret == DO_COLOR_8x8) || (ret == DO_CACHE_BLT))) {
ret = 0;
}
return ret;
}
示例15: XAAOverPolyGlyphBltNonTE
static void
XAAOverPolyGlyphBltNonTE(DrawablePtr pDraw,
GCPtr pGC,
int xInit, int yInit,
unsigned int nglyph,
CharInfoPtr * ppci, pointer pglyphBase)
{
XAAOverlayPtr pOverPriv = GET_OVERLAY_PRIV(pGC->pScreen);
SWITCH_DEPTH(pGC->depth);
(*pOverPriv->PolyGlyphBltNonTE) (pDraw, pGC, xInit, yInit, nglyph, ppci,
pglyphBase);
}