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

/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDLTest.cpp163 Uint32 newWidth, newHeight; local
250 newHeight = RT_MIN(guMaxScreenHeight, guGuestYRes);
270 gScreen = SDL_SetVideoMode(newWidth, newHeight, 0, sdlFlags);
345 for (guTextureHeight = 32; guTextureHeight < newHeight; guTextureHeight <<= 1)
364 glViewport(0, 0, newWidth, newHeight);
367 glOrtho(0.0, newWidth, newHeight, 0.0, -1.0, 1.0);
H A DFramebuffer.cpp803 uint32_t newHeight; local
813 newHeight = mFixedSDLHeight;
819 newHeight = RT_MIN(mGuestYRes + mLabelHeight, mMaxScreenHeight);
821 newHeight = RT_MIN(mGuestYRes, mMaxScreenHeight);
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,
[all...]

Completed in 66 milliseconds