[SDL] dumb question
Samuel J. Thurston, III
sjt_3 at yahoo.com
Wed Mar 12 22:44:01 PST 2003
if i am understanding this (and the other relevant
post) correctly, it is like a "partial screen" version
of SDL_Flip(); is this right? wouldn't this cause
visible 'draw-in' as if drawing single buffered?
sorry this is just one of those concepts i am having
trouble with.
--- Robert Harrison <rharrison at hgfip.com> wrote:
> UdateRects forces the display to be refreshed with
> the surface changes.
>
> There is no point doing this automatically every
> time you make a surface
> change as you may want to make hundreds of small
> changes to a surface
> before refreshing the display screen.
>
> I don't think you need to call UpdateRects if you
> don't want to refresh
> the display.
>
> >maybe I'm just dumb, but i cannot understand what
> the
> >SDL_UpdateRects(); function is for. The only
> example
> >code i can find using it has an SDL_UpdateRects()
> >occurring right after, and upon the same rect as a
> >blit. does the blit copy the image to framebuffer
> or
> >no? is the framebuffer different than the
> >corresponding physical video ram... what exactly is
> it
> >updating, to where and from where?
> >
> >what else would i use this function for?
> >
> >__________________________________________________
> >Do you Yahoo!?
> >Yahoo! Web Hosting - establish your business online
> >http://webhosting.yahoo.com
> >
> >_______________________________________________
> >SDL mailing list
> >SDL at libsdl.org
> >http://www.libsdl.org/mailman/listinfo/sdl
> >
> >
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
More information about the SDL
mailing list