aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2017-09-15 11:59:23 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-15 16:31:35 +0000
commita4083c97d48e8a4f88e2797d7363f141e3d42553 (patch)
treeab01d3982edcf50b7d69dc3e4475568964daa5fe /tests
parent3bf6366c6fc5d619358458e50909b60deb4cfe4a (diff)
make most of SkColorPriv.h private
created new file src/core/SkColorData.h for internal consumption. Note that many of the functions there are unused as well. Bug: skia: 6898 R: reed@google.com Change-Id: I25bfd5a9c21f53558c4ca65a77eb5d322d897c6d Reviewed-on: https://skia-review.googlesource.com/46848 Commit-Queue: Cary Clark <caryclark@google.com> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ColorPrivTest.cpp9
-rw-r--r--tests/ColorTest.cpp2
-rw-r--r--tests/MathTest.cpp2
-rw-r--r--tests/ReadPixelsTest.cpp2
-rw-r--r--tests/SrcOverTest.cpp2
-rw-r--r--tests/WritePixelsTest.cpp2
6 files changed, 13 insertions, 6 deletions
diff --git a/tests/ColorPrivTest.cpp b/tests/ColorPrivTest.cpp
index 02885d0982..d2045e8e4a 100644
--- a/tests/ColorPrivTest.cpp
+++ b/tests/ColorPrivTest.cpp
@@ -1,6 +1,13 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
#include "Test.h"
-#include "SkColorPriv.h"
+#include "SkColorData.h"
#define ASSERT(expr) REPORTER_ASSERT(r, expr)
diff --git a/tests/ColorTest.cpp b/tests/ColorTest.cpp
index 5a6f0fbce3..13f48ed5fe 100644
--- a/tests/ColorTest.cpp
+++ b/tests/ColorTest.cpp
@@ -6,7 +6,7 @@
*/
#include "SkColor.h"
-#include "SkColorPriv.h"
+#include "SkColorData.h"
#include "SkMathPriv.h"
#include "SkRandom.h"
#include "SkUnPreMultiply.h"
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp
index bbd551e1e9..fcbd63ddca 100644
--- a/tests/MathTest.cpp
+++ b/tests/MathTest.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkColorPriv.h"
+#include "SkColorData.h"
#include "SkEndian.h"
#include "SkFDot6.h"
#include "SkFixed.h"
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp
index ce01004afa..a296c46e5a 100644
--- a/tests/ReadPixelsTest.cpp
+++ b/tests/ReadPixelsTest.cpp
@@ -6,7 +6,7 @@
*/
#include "SkCanvas.h"
-#include "SkColorPriv.h"
+#include "SkColorData.h"
#include "SkColorSpace_Base.h"
#include "SkHalf.h"
#include "SkImageInfoPriv.h"
diff --git a/tests/SrcOverTest.cpp b/tests/SrcOverTest.cpp
index df315983ea..e8726d19d5 100644
--- a/tests/SrcOverTest.cpp
+++ b/tests/SrcOverTest.cpp
@@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
-#include "SkColorPriv.h"
+#include "SkColorData.h"
#include "Test.h"
// our std SkAlpha255To256
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp
index 6e8b7d6ee5..81dcbe7f6d 100644
--- a/tests/WritePixelsTest.cpp
+++ b/tests/WritePixelsTest.cpp
@@ -6,7 +6,7 @@
*/
#include "SkCanvas.h"
-#include "SkColorPriv.h"
+#include "SkColorData.h"
#include "SkMathPriv.h"
#include "SkSurface.h"
#include "Test.h"