Searched defs:newWidth (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDLTest.cpp163 Uint32 newWidth, newHeight; local
249 newWidth = RT_MIN(guMaxScreenWidth, guGuestXRes);
270 gScreen = SDL_SetVideoMode(newWidth, newHeight, 0, sdlFlags);
343 for (guTextureWidth = 32; guTextureWidth < newWidth; guTextureWidth <<= 1)
364 glViewport(0, 0, newWidth, newHeight);
367 glOrtho(0.0, newWidth, newHeight, 0.0, -1.0, 1.0);
H A DFramebuffer.cpp802 uint32_t newWidth; local
812 newWidth = mFixedSDLWidth;
817 newWidth = RT_MIN(mGuestXRes, mMaxScreenWidth);
844 newWidth, newHeight, sdlWindowFlags);
852 SDL_TEXTUREACCESS_STREAMING, newWidth, newHeight);
865 if (w != (int)newWidth || h != (int)newHeight)
866 SDL_SetWindowSize(mWindow, newWidth, newHeight);
871 mTexture = SDL_CreateTexture(format, access, newWidth, newHeight);
906 mScreen = SDL_SetVideoMode(newWidth, newHeight, 0, sdlFlags);
936 mScreen = SDL_SetVideoMode(newWidth, newHeigh
[all...]

Completed in 252 milliseconds