[PATCH 1/4] opengl32: Split trace generation to separate functions.