Update in examples

- Updated the Example interface and the GLX and EGL harnesses
  to support pre-partes frame rendering.