Profiling a graphics rendering without a profiler
问题 Nowadays we have pretty advanced tools to iron out rendering, allowing to see the different stages, time taken by draw calls, etc. But without them the graphics pipeline is quite a black box when it comes to understand what is happening inside. Suppose for some reason you have no such tool, or a very limited one. How would you measure anyway what is taking time in your rendering? I am aware of tricks like discarding draw calls to see the CPU time, setting a 1x1 viewport to see the cost of