Performance optimizing gfx "allocating 2d texture"

i am dynamically loading .tox scenes for live performance. i have the scene loaders running via Touch Engine so that the loads don’t hit my main output CPU thread. that said, i am still noticing occasional dropped frames when loading.

looking at the performance monitor (frame trigger 50ms - my work is 30fps), these drops seem to be connected to operations like this:

  • gfx / Allocating a 2d texture, 1200 x 1920

  • render / Linking Shader

  • 1 cook / (TOP: Blur)

i thought loading scenes through Touch Engine would prevent such operations from hitting the main output - but maybe i’ve misunderstood?

any tips / insights are greatly appreciated!

GPU memory allocations will hit your GPU, which you only have one of. So there is much less benefit for TouchEngine when it comes to GPU related operations. It can’t mask things that are interacting with the GPU.