Lines Matching refs:serverFormat
254 if ((cl->screen->serverFormat.bitsPerPixel != 8) && in rfbSetTranslateFunction()
255 (cl->screen->serverFormat.bitsPerPixel != 16) && in rfbSetTranslateFunction()
257 (cl->screen->serverFormat.bitsPerPixel != 24) && in rfbSetTranslateFunction()
259 (cl->screen->serverFormat.bitsPerPixel != 32)) in rfbSetTranslateFunction()
263 cl->screen->serverFormat.bitsPerPixel); in rfbSetTranslateFunction()
309 if (PF_EQ(cl->format,cl->screen->serverFormat)) { in rfbSetTranslateFunction()
318 if ((cl->screen->serverFormat.bitsPerPixel < 16) || in rfbSetTranslateFunction()
319 ((!cl->screen->serverFormat.trueColour || !rfbEconomicTranslate) && in rfbSetTranslateFunction()
320 (cl->screen->serverFormat.bitsPerPixel == 16))) { in rfbSetTranslateFunction()
325 [BPP2OFFSET(cl->screen->serverFormat.bitsPerPixel)] in rfbSetTranslateFunction()
328 if(cl->screen->serverFormat.trueColour) in rfbSetTranslateFunction()
331 &(cl->screen->serverFormat), &cl->format); in rfbSetTranslateFunction()
335 &(cl->screen->serverFormat), &cl->format,&cl->screen->colourMap); in rfbSetTranslateFunction()
342 [BPP2OFFSET(cl->screen->serverFormat.bitsPerPixel)] in rfbSetTranslateFunction()
347 &(cl->screen->serverFormat), &cl->format); in rfbSetTranslateFunction()
417 if (cl->screen->serverFormat.trueColour || !cl->readyForSetColourMapEntries) { in rfbSetClientColourMap()
429 &cl->screen->serverFormat, &cl->format,&cl->screen->colourMap); in rfbSetClientColourMap()