Browse Source
* Reduce the number of WrapDirect3D11Texture calls Reduce the number of WrapDirect3D11Texture calls by tying the EglSurface lifetime to _renderTexture. When testing on a 4K display, I observed that eglCreatePbufferFromClientBuffer, which is invoked by WrapDirect3D11Texture, can take around 5 ms per frame. By reducing the number of eglCreatePbufferFromClientBuffer calls, I was able to improve rendering performance by about 30%. However, I’m not sure why the previous implementation needed to call WrapDirect3D11Texture on every frame. * Remove the commented codepull/20519/head
committed by
GitHub
1 changed files with 18 additions and 8 deletions
Loading…
Reference in new issue