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

Unified Diff: tests/VkUploadPixelsTests.cpp

Issue 1737343002: Fix createTexture calls in vk tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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/VkClearTests.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/VkUploadPixelsTests.cpp
diff --git a/tests/VkUploadPixelsTests.cpp b/tests/VkUploadPixelsTests.cpp
index 043ea45a81d07482e5c78bf858fd7356970e92c2..9fc495265dc5a06c6d89d74eb58ee7ad1123bf88 100644
--- a/tests/VkUploadPixelsTests.cpp
+++ b/tests/VkUploadPixelsTests.cpp
@@ -83,7 +83,7 @@ void basic_texture_test(skiatest::Reporter* reporter, GrContext* context, GrPixe
surfDesc.fHeight = kHeight;
surfDesc.fConfig = config;
surfDesc.fSampleCnt = 0;
- GrTexture* tex0 = gpu->createTexture(surfDesc, false, srcBuffer, 0);
+ GrTexture* tex0 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0);
if (tex0) {
REPORTER_ASSERT(reporter, canCreate);
gpu->readPixels(tex0, 0, 0, kWidth, kHeight, config, dstBuffer, 0);
@@ -108,7 +108,7 @@ void basic_texture_test(skiatest::Reporter* reporter, GrContext* context, GrPixe
}
surfDesc.fOrigin = kBottomLeft_GrSurfaceOrigin;
- GrTexture* tex1 = gpu->createTexture(surfDesc, false, srcBuffer, 0);
+ GrTexture* tex1 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0);
if (tex1) {
REPORTER_ASSERT(reporter, canCreate);
gpu->readPixels(tex1, 0, 0, kWidth, kHeight, config, dstBuffer, 0);
« no previous file with comments | « tests/VkClearTests.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698