glBindFramebuffer slow

This topic contains 2 replies, has 2 voices, and was last updated by  bedmond 5 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30745

    bedmond
    Member

    Hi,

    I am seeing some performance issues on an application and there seems to be a delay when I call glBindFramebuffer(). The application renders mainly 2D content with OpenGL ES 2.0. The glBindFramebuffer call seems to take 50ms. This is true even when the FBo is 0. Has anyone seen this before, is there something happening under the covers I need to be aware of? I am not sure what other information to give on this issue, let me know and I can provide it.

    Thanks

    #35417

    Joe Davis
    Member

    Hi Brian,

    Have you ran PVRTune on your target device? This should make it much easier to understand the bottleneck you are hitting. Also, can you run your application with the device’s vsync disabled?

    My first impression is that the time you are seeing is caused by the device’s vsync, i.e. the driver is blocking during the bind call as it’s waiting for a surface to be freed for the GPU to render to.

    Thanks,
    Joe

    #35418

    bedmond
    Member

    No I have not run PVRTune, I will give that a try thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.