The following diagram shows the data flow on the GPU. Squares on the figure represent textures, rectangles VBOs. The colored boxes are the different shaders used, grouped by the stage in which they are used: Point processing (green), Edge finding and rasterization (blue) and Image filters (red). Click on each one to visualize the corresponding Cg shader source code.