With double-buffering, the GPU waits for the most recently rendered frame to get displayed before beginning work on the next frame. With triple buffering, the GPU starts working on the next frame after that in the third buffer and if that new frame completes first, that frame gets displayed next and the other frame in-between gets discarded.
Double-buffering yields the most consistent frame rate while triple-buffering can be slightly more responsive.