Stretch FrameBuffer

Started by Gatobot14, June 05, 2015, 06:15:35 PM

Previous topic - Next topic

Gatobot14

its posible to stretch the frame buffer to fit different resolutions?
im working in full screen mode 800x600 but i wonder if its worth
trying bigger resolutions, strectching the buffer so i can keep
working internally with 800x600
Thanks.

EgonOlsen

Not really...and to be honest, I don't the point either. 800*600 in fullscreen will be scaled up by the monitor anyway. Or maybe I got this wrong...can you give an example of what you have in mind?

Gatobot14

i mean rescaling the image from buffer to fit the desire resolution(having the base image
800x600), but i think doing this will mess up the mouse input......
if you render a 3d scene the viewport will be scaled to the size of the buffer
but im blitting textures so this never happen
anyway it was just a question....

EgonOlsen

I just don't get it...the monitor will scale it up anyway. So what's the point in rendering in 800*600 and then upscale it into a framebuffer of the monitor's native resolution? Where's the difference except that it's slower?

Gatobot14

sorry i find where i was mistaken yes indeed the framebuffer size will be one especified,
and in full screen it wil be rescaled automatic , my concern was to rescaling a part of the frambuffer :P, im just blittin an area of 800x600 and if the resolution grows there will be an empty space surrounding the framebuffer beacuse nothing is render beyond 800x600,but even rescaling that part of the buffer to fill the empty spaces just going to mess with my mouse input.
i dont know what i think of this in first places...after all reading the post it fells weird so i guess im going to keep working with 800x600 and perhaps 1024x768 anyway i think im overthinking this reslution thing.
sorry for the confussion and thanks for kepping track of thigs like this  ::)