An image processing sample using OpenGL