BE VERY CAREFUL what you do in this function. It's extremely hot, and calling the wrong GL API's in here will crush perf. on NVidia threaded drivers.
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected