当前位置: 首页>>代码示例>>C++>>正文


C++ SCREEN_PROLOG函数代码示例

本文整理汇总了C++中SCREEN_PROLOG函数的典型用法代码示例。如果您正苦于以下问题:C++ SCREEN_PROLOG函数的具体用法?C++ SCREEN_PROLOG怎么用?C++ SCREEN_PROLOG使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了SCREEN_PROLOG函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: VGAarbiterBlockHandler

static void
VGAarbiterBlockHandler(ScreenPtr pScreen, void *pTimeout)
{
    SCREEN_PROLOG(BlockHandler);
    VGAGet(pScreen);
    pScreen->BlockHandler(pScreen, pTimeout);
    VGAPut();
    SCREEN_EPILOG(BlockHandler, VGAarbiterBlockHandler);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:9,代码来源:xf86VGAarbiter.c

示例2: VGAarbiterWakeupHandler

static void
VGAarbiterWakeupHandler(ScreenPtr pScreen, int result)
{
    SCREEN_PROLOG(WakeupHandler);
    VGAGet(pScreen);
    pScreen->WakeupHandler(pScreen, result);
    VGAPut();
    SCREEN_EPILOG(WakeupHandler, VGAarbiterWakeupHandler);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:9,代码来源:xf86VGAarbiter.c

示例3: VGAarbiterWakeupHandler

static void
VGAarbiterWakeupHandler(ScreenPtr pScreen, unsigned long result,
                        void *pReadmask)
{
    SCREEN_PROLOG(WakeupHandler);
    VGAGet(pScreen);
    pScreen->WakeupHandler(pScreen, result, pReadmask);
    VGAPut();
    SCREEN_EPILOG(WakeupHandler, VGAarbiterWakeupHandler);
}
开发者ID:AmesianX,项目名称:xorg-server,代码行数:10,代码来源:xf86VGAarbiter.c

示例4: VGAarbiterWakeupHandler

static void
VGAarbiterWakeupHandler(int i, pointer blockData, unsigned long result, pointer pReadmask)
{
    ScreenPtr pScreen = screenInfo.screens[i];
    SCREEN_PROLOG(WakeupHandler);
    VGAGet(pScreen);
    pScreen->WakeupHandler(i, blockData, result, pReadmask);
    VGAPut();
    SCREEN_EPILOG(WakeupHandler, VGAarbiterWakeupHandler);
}
开发者ID:Agnarr,项目名称:xserver,代码行数:10,代码来源:xf86VGAarbiter.c

示例5: VGAarbiterRecolorCursor

static void
VGAarbiterRecolorCursor(DeviceIntPtr pDev,
                        ScreenPtr pScreen, CursorPtr pCurs, Bool displayed)
{
    SCREEN_PROLOG(RecolorCursor);
    VGAGet(pScreen);
    (*pScreen->RecolorCursor) (pDev, pScreen, pCurs, displayed);
    VGAPut();
    SCREEN_EPILOG(RecolorCursor, VGAarbiterRecolorCursor);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:10,代码来源:xf86VGAarbiter.c

示例6: VGAarbiterCopyWindow

static void
VGAarbiterCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
{
    ScreenPtr pScreen = pWin->drawable.pScreen;

    SCREEN_PROLOG(CopyWindow);
    VGAGet(pScreen);
    (*pScreen->CopyWindow) (pWin, ptOldOrg, prgnSrc);
    VGAPut();
    SCREEN_EPILOG(CopyWindow, VGAarbiterCopyWindow);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:11,代码来源:xf86VGAarbiter.c

示例7: VGAarbiterBlockHandler

static void
VGAarbiterBlockHandler(int i,
                       pointer blockData, pointer pTimeout, pointer pReadmask)
{
    ScreenPtr pScreen = screenInfo.screens[i];
    SCREEN_PROLOG(BlockHandler);
    VGAGet(pScreen);
    pScreen->BlockHandler(i, blockData, pTimeout, pReadmask);
    VGAPut();
    SCREEN_EPILOG(BlockHandler, VGAarbiterBlockHandler);
}
开发者ID:Agnarr,项目名称:xserver,代码行数:11,代码来源:xf86VGAarbiter.c

示例8: VGAarbiterStoreColors

static void
VGAarbiterStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs)
{
    ScreenPtr pScreen = pmap->pScreen;

    SCREEN_PROLOG(StoreColors);
    VGAGet(pScreen);
    (*pScreen->StoreColors) (pmap, ndef, pdefs);
    VGAPut();
    SCREEN_EPILOG(StoreColors, VGAarbiterStoreColors);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:11,代码来源:xf86VGAarbiter.c

示例9: VGAarbiterClearToBackground

static void
VGAarbiterClearToBackground(WindowPtr pWin,
                            int x, int y, int w, int h, Bool generateExposures)
{
    ScreenPtr pScreen = pWin->drawable.pScreen;

    SCREEN_PROLOG(ClearToBackground);
    VGAGet(pScreen);
    (*pScreen->ClearToBackground) (pWin, x, y, w, h, generateExposures);
    VGAPut();
    SCREEN_EPILOG(ClearToBackground, VGAarbiterClearToBackground);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:12,代码来源:xf86VGAarbiter.c

示例10: VGAarbiterDisplayCursor

static Bool
VGAarbiterDisplayCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor)
{
    Bool val;

    SCREEN_PROLOG(DisplayCursor);
    VGAGet(pScreen);
    val = (*pScreen->DisplayCursor) (pDev, pScreen, pCursor);
    VGAPut();
    SCREEN_EPILOG(DisplayCursor, VGAarbiterDisplayCursor);
    return val;
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:12,代码来源:xf86VGAarbiter.c

示例11: VGAarbiterGetSpans

static void
VGAarbiterGetSpans(DrawablePtr pDrawable,
                   int wMax,
                   DDXPointPtr ppt, int *pwidth, int nspans, char *pdstStart)
{
    ScreenPtr pScreen = pDrawable->pScreen;

    SCREEN_PROLOG(GetSpans);
    VGAGet(pScreen);
    (*pScreen->GetSpans) (pDrawable, wMax, ppt, pwidth, nspans, pdstStart);
    VGAPut();
    SCREEN_EPILOG(GetSpans, VGAarbiterGetSpans);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:13,代码来源:xf86VGAarbiter.c

示例12: VGAarbiterCreatePixmap

static PixmapPtr
VGAarbiterCreatePixmap(ScreenPtr pScreen, int w, int h, int depth, unsigned usage_hint)
{
    PixmapPtr pPix;

    SCREEN_PROLOG ( CreatePixmap);
    VGAGet(pScreen);
    pPix = (*pScreen->CreatePixmap) (pScreen, w, h, depth, usage_hint);
    VGAPut();
    SCREEN_EPILOG (CreatePixmap, VGAarbiterCreatePixmap);

    return pPix;
}
开发者ID:Agnarr,项目名称:xserver,代码行数:13,代码来源:xf86VGAarbiter.c

示例13: VGAarbiterSourceValidate

static void
VGAarbiterSourceValidate (
    DrawablePtr pDrawable,
    int x, int y, int width, int height )
{
    ScreenPtr   pScreen = pDrawable->pScreen;
    SCREEN_PROLOG (SourceValidate);
    VGAGet(pScreen);
    if (pScreen->SourceValidate)
    (*pScreen->SourceValidate) (pDrawable, x, y, width, height);
    VGAPut();
    SCREEN_EPILOG (SourceValidate, VGAarbiterSourceValidate);
}
开发者ID:Agnarr,项目名称:xserver,代码行数:13,代码来源:xf86VGAarbiter.c

示例14: VGAarbiterSaveScreen

static Bool
VGAarbiterSaveScreen(ScreenPtr pScreen, Bool unblank)
{
    Bool val;

    SCREEN_PROLOG(SaveScreen);
    VGAGet(pScreen);
    val = (*pScreen->SaveScreen) (pScreen, unblank);
    VGAPut();
    SCREEN_EPILOG(SaveScreen, VGAarbiterSaveScreen);

    return val;
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:13,代码来源:xf86VGAarbiter.c

示例15: VGAarbiterGetImage

static void
VGAarbiterGetImage(DrawablePtr pDrawable,
                   int sx, int sy, int w, int h,
                   unsigned int format, unsigned long planemask, char *pdstLine)
{
    ScreenPtr pScreen = pDrawable->pScreen;

    SCREEN_PROLOG(GetImage);
    VGAGet(pScreen);
    (*pScreen->GetImage) (pDrawable, sx, sy, w, h, format, planemask, pdstLine);
    VGAPut();
    SCREEN_EPILOG(GetImage, VGAarbiterGetImage);
}
开发者ID:XQuartz,项目名称:xorg-server,代码行数:13,代码来源:xf86VGAarbiter.c


注:本文中的SCREEN_PROLOG函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。