Skip to content

Instantly share code, notes, and snippets.

@jdryg
Created November 27, 2019 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdryg/6f31f2e8fac425e822a0f0cacda89f76 to your computer and use it in GitHub Desktop.
Save jdryg/6f31f2e8fac425e822a0f0cacda89f76 to your computer and use it in GitHub Desktop.
bgfx DynamicIndexBuffer resize trace
\bgfx\src\bgfx_p.h (3231): BGFX createDynamicIndexBuffer(num=1024, flags=0x0800) = 0x0003
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=0, num=30)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=30, num=220701)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=220731, num=216483)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=437214, num=178803)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=616017, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=616023, num=50466)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=666489, num=84474)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=750963, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=750969, num=50328)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=801297, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=801303, num=20511)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=821814, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=821820, num=79170)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=900990, num=223488)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1124478, num=223860)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1348338, num=223539)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1571877, num=58230)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1630107, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1630113, num=172494)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1802607, num=232818)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2035425, num=234702)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2270127, num=233880)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2504007, num=236241)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2740248, num=235920)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2976168, num=239379)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3215547, num=241539)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3457086, num=201672)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3658758, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3658764, num=40116)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3698880, num=130464)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3829344, num=6)
\bgfx\src\bgfx_p.h (3265): BGFX update(0x0003, start=0, memSize=7658700)
\bgfx\src\bgfx_p.h (3281): BGFX WARN DynamidIndexBuffer::m_handle changed during resize. Old=0x0003, New=0x0004
\bgfx\src\bgfx_p.h (3231): BGFX createDynamicIndexBuffer(num=1024, flags=0x0800) = 0x0003
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=0, num=30)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=30, num=220701)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=220731, num=216483)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=437214, num=178803)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=616017, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=616023, num=50466)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=666489, num=84474)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=750963, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=750969, num=50328)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=801297, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=801303, num=20511)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=821814, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=821820, num=79170)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=900990, num=223488)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1124478, num=223860)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1348338, num=223539)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1571877, num=58230)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1630107, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1630113, num=172494)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=1802607, num=232818)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2035425, num=234702)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2270127, num=233880)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2504007, num=236241)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2740248, num=235920)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=2976168, num=239379)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3215547, num=241539)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3457086, num=201672)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3658758, num=6)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3658764, num=40116)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3698880, num=130464)
\bgfx\src\bgfx_p.h (2320): BGFX setIndexBuffer(0x0003, first=3829344, num=6)
\bgfx\src\bgfx_p.h (3265): BGFX update(0x0003, start=0, memSize=7658700)
\bgfx\src\bgfx_p.h (3281): BGFX WARN DynamidIndexBuffer::m_handle changed during resize. Old=0x0003, New=0x0005
\bgfx\src\bgfx_p.h (3231): BGFX createDynamicIndexBuffer(num=1024, flags=0x0800) = 0x0003
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(30, 0)
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 30)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 220731)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 437214)
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(6, 616017)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 616023)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 666489)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(6, 750963)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 750969)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(6, 801297)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 801303)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(6, 821814)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 821820)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 900990)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 1124478)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 1348338)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 1571877)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(6, 1630107)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 1630113)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 1802607)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 2035425)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 2270127)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 2504007)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 2740248)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 2976168)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 3215547)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 3457086)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(6, 3658758)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 3658764)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(1024, 3698880)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
\bgfx\src\renderer_d3d11.cpp (5972): BGFX IASetIndexBuffer(0x0003)
\bgfx\src\renderer_d3d11.cpp (6080): BGFX DrawIndexed(6, 3829344)
D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment