Lines Matching refs:depth
32 depth=client->format.bitsPerPixel;
39 rfbBool okay=SDL_VideoModeOK(width,height,depth,sdlFlags);
41 for(depth=24;!okay && depth>4;depth/=2)
42 okay=SDL_VideoModeOK(width,height,depth,sdlFlags);
44 SDL_Surface* sdl=SDL_SetVideoMode(width,height,depth,sdlFlags);
46 client->width = sdl->pitch / (depth / 8);
53 client->format.bitsPerPixel=depth;
67 client->width=sdl->pitch / (depth / 8);
282 int depth = sdl->format->BitsPerPixel;
283 sdl = SDL_SetVideoMode(w, h, depth, sdlFlags);
286 rowStride = sdl->pitch / (depth / 8);