Nathan Laing
Member
G'day!
When using the draw_background_part function, is the entire image loaded into memory first, or is only the part specified loaded into memory? I'm assuming in either case, a texture page swap is necessary.
Finally, how much performance increase is gained by drawing, say, only 1024x1024 pixels from a 2048x2048 image, instead of the full 2048x2048? Obviously, the amount of drawing 'time' is halved, but can this be measured in a meaningful way, assuming graphics cards produced in the last 5 years or so are being used to do the drawing?
Nathan
When using the draw_background_part function, is the entire image loaded into memory first, or is only the part specified loaded into memory? I'm assuming in either case, a texture page swap is necessary.
Finally, how much performance increase is gained by drawing, say, only 1024x1024 pixels from a 2048x2048 image, instead of the full 2048x2048? Obviously, the amount of drawing 'time' is halved, but can this be measured in a meaningful way, assuming graphics cards produced in the last 5 years or so are being used to do the drawing?
Nathan