/**
   * Flush the cache.
   */
  void Flush() {
#ifdef ENABLE_OPENGL
    raster_renderer.Invalidate();
#else
    compare_projection.Clear();
#endif
  }
 void Invalidate() {
   compare_projection.Clear();
   CommitEmpty();
 }