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

Unified Diff: tests/ReadWriteAlphaTest.cpp

Issue 685243002: allow SkUserConfig.h to control NOGPU (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 2 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
« include/core/SkPostConfig.h ('K') | « src/image/SkSurface_Gpu.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ReadWriteAlphaTest.cpp
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp
index 7b6a05d29964df3995a18ac018addf860c9de9b5..7d756a7840afec79006a4c2368a8a95e273c9f14 100644
--- a/tests/ReadWriteAlphaTest.cpp
+++ b/tests/ReadWriteAlphaTest.cpp
@@ -5,13 +5,13 @@
* found in the LICENSE file.
*/
-// This test is specific to the GPU backend.
-#if SK_SUPPORT_GPU && !defined(SK_BUILD_FOR_ANDROID)
-
#include "GrContextFactory.h"
#include "SkGpuDevice.h"
#include "Test.h"
+// This test is specific to the GPU backend.
+#if SK_SUPPORT_GPU && !defined(SK_BUILD_FOR_ANDROID)
+
static const int X_SIZE = 12;
static const int Y_SIZE = 12;
« include/core/SkPostConfig.h ('K') | « src/image/SkSurface_Gpu.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698