CheckMultisampleQuality and CalculateFrameStats