Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/RenderingFramework/OpenGLTestContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,11 @@ void OpenGLRendererContext::run(
{
_context->beginGL();
}
~Guard() { _context->endGL(); }
~Guard()
{
_context->endGL();
glFinish();
}
OpenGLRendererContext* _context { nullptr };
} guard(this);

Expand Down
15 changes: 0 additions & 15 deletions test/tests/testFramePasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,6 @@ TEST(TestViewportToolbox, TestFramePasses_MultiViewports)

// Renders the frame pass.
framePass1.sceneFramePass->Render();

// Force GPU sync
context->_backend->waitForGPUIdle();
}

// Gets the input AOV's from the first frame pass and use them in all overlays so the
Expand Down Expand Up @@ -616,9 +613,6 @@ TEST(TestViewportToolbox, TestFramePasses_MultiViewportsClearDepth)

// Renders the frame pass.
framePass1.sceneFramePass->Render();

// Force GPU sync
context->_backend->waitForGPUIdle();
}

// Gets the 'depth' input AOV from the first frame pass and use it in all overlays so the
Expand Down Expand Up @@ -752,9 +746,6 @@ TEST(TestViewportToolbox, TestFramePasses_TestDynamicAovInputs)

// Renders the frame pass.
framePass1.sceneFramePass->Render();

// Force GPU sync
context->_backend->waitForGPUIdle();
}

HdRenderBuffer* colorBuffer =
Expand Down Expand Up @@ -899,9 +890,6 @@ TEST(TestViewportToolbox, TestFramePasses_ClearDepthBuffer)

// Renders the frame pass.
framePass1.sceneFramePass->Render();

// Force GPU sync
context->_backend->waitForGPUIdle();
}

// Gets the 'depth' input AOV from the first frame pass and use it in all overlays so the
Expand Down Expand Up @@ -1039,9 +1027,6 @@ TEST(TestViewportToolbox, TestFramePasses_ClearColorBuffer)

// Renders the frame pass.
framePass1.sceneFramePass->Render();

// Force GPU sync
context->_backend->waitForGPUIdle();
}

// Gets the 'color' input AOV from the first frame pass and use it in all overlays so the
Expand Down