Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: tests/VkClearTests.cpp

Issue 1966013002: Turn ContextInfos returned by GrContextFactory into structs. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Address comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/TextBlobCacheTest.cpp ('k') | tests/VkUploadPixelsTests.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/VkClearTests.cpp
diff --git a/tests/VkClearTests.cpp b/tests/VkClearTests.cpp
index 1f8e4970a7c04dbd7c1885f3d6efeb13a4cd9284..4a8c9667813ff551048e3939605de3093c2aff38 100644
--- a/tests/VkClearTests.cpp
+++ b/tests/VkClearTests.cpp
@@ -197,10 +197,10 @@ void sub_clear_test(skiatest::Reporter* reporter, GrContext* context, GrPixelCon
}
DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkClearTests, reporter, ctxInfo) {
- basic_clear_test(reporter, ctxInfo.fGrContext, kRGBA_8888_GrPixelConfig);
- basic_clear_test(reporter, ctxInfo.fGrContext, kBGRA_8888_GrPixelConfig);
- sub_clear_test(reporter, ctxInfo.fGrContext, kRGBA_8888_GrPixelConfig);
- sub_clear_test(reporter, ctxInfo.fGrContext, kBGRA_8888_GrPixelConfig);
+ basic_clear_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig);
+ basic_clear_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig);
+ sub_clear_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig);
+ sub_clear_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig);
}
#endif
« no previous file with comments | « tests/TextBlobCacheTest.cpp ('k') | tests/VkUploadPixelsTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698