Skip to content

Commit

Permalink
REGRESSION(281988@main): TestGraphicsContextGLCocoa fails to compile …
Browse files Browse the repository at this point in the history
…for macCatalyst

https://bugs.webkit.org/show_bug.cgi?id=279051
rdar://135176168

Unreviewed build fix.

Avoid tests that have windowGPUID, it's not defined for macCatalyst.

* Tools/TestWebKitAPI/Tests/WebCore/cocoa/TestGraphicsContextGLCocoa.mm:

Canonical link: https://commits.webkit.org/283088@main
  • Loading branch information
kkinnunen-apple committed Sep 3, 2024
1 parent ce51d84 commit 8141186
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ static bool hasMultipleGPUs()
EXPECT_NE(lowPowerContext->getString(WebCore::GraphicsContextGL::RENDERER), highPerformanceContext->getString(WebCore::GraphicsContextGL::RENDERER));
EXPECT_EQ(defaultContext->getString(WebCore::GraphicsContextGL::RENDERER), lowPowerContext->getString(WebCore::GraphicsContextGL::RENDERER));
}
#endif

#if PLATFORM(MAC)
// Tests that requesting context with windowGPUID from low power device results
// to same thing as requesting default low power context.
// Tests that windowGPUID from low power device still respects high performance request.
Expand Down

0 comments on commit 8141186

Please sign in to comment.