Searched refs:swap_limit (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/xorg-server/dist/hw/xfree86/dri2/
H A Ddri2.h167 * DRI2 calls this hook when ever swap_limit is going to be changed. Default
168 * implementation for the hook only accepts one as swap_limit. If driver can
172 * \param pDraw drawable whose swap_limit is going to be changed
173 * \param swap_limit new swap_limit that going to be set
177 int swap_limit);
321 extern _X_EXPORT Bool DRI2SwapLimit(DrawablePtr pDraw, int swap_limit);
H A Ddri2.c97 int swap_limit; /* for N-buffering */ member in struct:_DRI2Drawable
259 pPriv->swap_limit = 1; /* default to double buffering */
279 DRI2SwapLimit(DrawablePtr pDraw, int swap_limit) argument
289 if (!ds->SwapLimitValidate || !ds->SwapLimitValidate(pDraw, swap_limit))
292 pPriv->swap_limit = swap_limit;
295 if (pPriv->swapsPending >= pPriv->swap_limit)
747 if (pPriv->swapsPending >= pPriv->swap_limit) {
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnv_driver.c1136 if(xf86GetOptValInteger(pNv->Options, OPTION_SWAP_LIMIT, &(pNv->swap_limit))) {
1137 if (pNv->swap_limit < 1)
1138 pNv->swap_limit = 1;
1140 if (pNv->swap_limit > pNv->max_swap_limit)
1141 pNv->swap_limit = pNv->max_swap_limit;
1146 if ((DRI2INFOREC_VERSION < 6) && (pNv->swap_limit > 1)) {
1157 pNv->swap_limit = 1;
1163 pNv->swap_limit, pNv->max_swap_limit, reason);
H A Dnouveau_dri2.c58 DRI2SwapLimit(pDraw, pNv->swap_limit);
333 nouveau_dri2_swap_limit_validate(DrawablePtr draw, int swap_limit) argument
338 if ((swap_limit < 1 ) || (swap_limit > pNv->max_swap_limit))
354 return (DRI2INFOREC_VERSION < 6) && (pNv->swap_limit > 1);
571 DRI2SwapLimit(draw, NVPTR(scrn)->swap_limit);
852 * the swap_limit is set to 2 for triple-buffering.
H A Dnv_type.h72 int swap_limit; member in struct:_NVRec
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_dri2.c390 #define swap_limit(d, l) false macro
424 sna_dri2_swap_limit_validate(DrawablePtr draw, int swap_limit) argument
426 DBG(("%s: swap limit set to %d\n", __FUNCTION__, swap_limit));
427 return swap_limit >= 1;
458 static bool swap_limit(DrawablePtr draw, int limit) function in typeref:typename:bool
2534 !swap_limit(chain->draw, 2 + !chain->sync) &&
2765 if ((!swap_limit(info->draw, 2 + !sync) && !sync) ||
2805 if (chain->pending.bo == NULL && swap_limit(info->draw, 2 + !sync)) {
3191 swap_limit(draw, 1 + (info->type == FLIP_THROTTLE));
3243 swap_limit(dra
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_dri2.c249 #define swap_limit(d, l) false macro
281 sna_dri2_swap_limit_validate(DrawablePtr draw, int swap_limit) argument
283 DBG(("%s: swap limit set to %d\n", __FUNCTION__, swap_limit));
284 return swap_limit >= 1;
307 static bool swap_limit(DrawablePtr draw, int limit) function in typeref:typename:bool
2078 if (chain->type == SWAP_THROTTLE && !swap_limit(chain->draw, 2)) {
2271 event = !swap_limit(draw, 2);
2601 swap_limit(draw, 1 + (type == FLIP_THROTTLE));
2674 swap_limit(draw, 1);
2728 swap_limit(dra
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/dri2/
H A Ddri2.c84 int swap_limit; /* for N-buffering */ member in struct:_DRI2Drawable
176 pPriv->swap_limit = 1; /* default to double buffering */
563 if ((pPriv->swapsPending >= pPriv->swap_limit) &&

Completed in 25 milliseconds