if you are refering to the distorsion effect I think your referring to, heres a way to do it:
glCopyTexSubImage to a texture
Load a square grid and set each texture coordinate of that vertex to be its position relative to width/height of grid (i.e., middle = 0.5, 0.5)
Use sin (or cos) waves to move the vertices up/down, giving you that effect. The higher tesselated the grid is, the better the effect.
Simple really
