diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index c330dc2661e79ce50b66eed252c0c3163dfd7a21..8c7ec4837fb3d62a03611b206b83386bce149cf9 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -2540,6 +2540,7 @@ void LLImageGLThread::run()
     // WorkQueue, likewise cleanup afterwards.
     mWindow->makeContextCurrent(mContext);
     gGL.init(false);
+	LL_PROFILER_GPU_CONTEXT;
     ThreadPool::run();
     gGL.shutdown();
     mWindow->destroySharedContext(mContext);
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp
index e311a2f31894a741e26d66c79e2494b720b0e764..f48f9e2620f3b21a8aa5a0bcd5ded768c4707998 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -801,6 +801,8 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B
         return FALSE;
     }
 
+	LL_PROFILER_GPU_CONTEXT;
+
 	// Disable vertical sync for swap
     toggleVSync(enable_vsync);
 
@@ -1220,6 +1222,7 @@ void LLWindowSDL::swapBuffers()
 	{
 		SDL_GL_SwapWindow(mWindow);
 	}
+	LL_PROFILER_GPU_COLLECT;
 }
 
 U32 LLWindowSDL::getFSAASamples()