What is the memory consumption for a true color frame buffer (with double buffering) on an XGA display? ("XGA" = 1024 x 768 pixels) How can I calculate this?
True color is 8 bits per color channel, so 3 bytes per pixel. 1024x768 is 785,408 pixels. At 3 bytes per pixel that is 2,356,224 bytes. Since it's double buffered we double that number to 4,712,448 bytes which is about 4.5MB.