# glutSwapBuffers is delayed by cuda

**URL:** <https://forums.developer.nvidia.com/t/glutswapbuffers-is-delayed-by-cuda/9483>\
**Category:** CUDA Programming and Performance\
**Created:** [May 14, 2009, 12:46pm UTC](https://forums.developer.nvidia.com/t/glutswapbuffers-is-delayed-by-cuda/9483 "2009-05-14T12:46:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![creasy](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@creasy](https://forums.developer.nvidia.com/u/creasy)\
**Post date:** [May 14, 2009, 12:46pm UTC](https://forums.developer.nvidia.com/t/glutswapbuffers-is-delayed-by-cuda/9483/1 "2009-05-14T12:46:44Z")

</div>

when I use opengl with CUDA, using FBO to display the result, the glutSwapBuffers() function is delayed very much, the more the parameter grid’s x dimension of kernel call the more delay, why is this? is this a bug?
