Added method to access surface pixel data

Signed-off-by: Jacky Boen <aqiank@gmail.com>