Include the SkTSort header only where it is used.

Change-Id: If51be35205b40c4a22979a4b49b031126af1dde7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/302500
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
John Stiles 2020-07-14 09:44:57 -04:00 committed by Skia Commit-Bot
parent 43833b028a
commit df07800f95
12 changed files with 4 additions and 8 deletions

View File

@ -10,7 +10,6 @@
#include "include/gpu/GrContextOptions.h" #include "include/gpu/GrContextOptions.h"
#include "src/core/SkCompressedDataUtils.h" #include "src/core/SkCompressedDataUtils.h"
#include "src/core/SkTSearch.h" #include "src/core/SkTSearch.h"
#include "src/core/SkTSort.h"
#include "src/gpu/GrBackendUtils.h" #include "src/gpu/GrBackendUtils.h"
#include "src/gpu/GrProgramDesc.h" #include "src/gpu/GrProgramDesc.h"
#include "src/gpu/GrRenderTargetProxyPriv.h" #include "src/gpu/GrRenderTargetProxyPriv.h"

View File

@ -4,7 +4,6 @@
* Use of this source code is governed by a BSD-style license that can be * Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. * found in the LICENSE file.
*/ */
#include "src/core/SkTSort.h"
#include "src/pathops/SkOpContour.h" #include "src/pathops/SkOpContour.h"
#include "src/pathops/SkPathWriter.h" #include "src/pathops/SkPathWriter.h"
#include "src/pathops/SkReduceOrder.h" #include "src/pathops/SkReduceOrder.h"

View File

@ -8,7 +8,6 @@
#define SkOpContour_DEFINED #define SkOpContour_DEFINED
#include "include/private/SkTDArray.h" #include "include/private/SkTDArray.h"
#include "src/core/SkTSort.h"
#include "src/pathops/SkOpSegment.h" #include "src/pathops/SkOpSegment.h"
enum class SkOpRayDir; enum class SkOpRayDir;

View File

@ -6,6 +6,7 @@
*/ */
#include "src/core/SkGeometry.h" #include "src/core/SkGeometry.h"
#include "src/core/SkPathPriv.h" #include "src/core/SkPathPriv.h"
#include "src/core/SkTSort.h"
#include "src/pathops/SkOpEdgeBuilder.h" #include "src/pathops/SkOpEdgeBuilder.h"
#include "src/pathops/SkReduceOrder.h" #include "src/pathops/SkReduceOrder.h"

View File

@ -5,6 +5,7 @@
* found in the LICENSE file. * found in the LICENSE file.
*/ */
#include "src/core/SkTSort.h"
#include "src/pathops/SkPathOpsTSect.h" #include "src/pathops/SkPathOpsTSect.h"
#define COINCIDENT_SPAN_COUNT 9 #define COINCIDENT_SPAN_COUNT 9

View File

@ -9,7 +9,6 @@
#include "include/private/SkMacros.h" #include "include/private/SkMacros.h"
#include "src/core/SkArenaAlloc.h" #include "src/core/SkArenaAlloc.h"
#include "src/core/SkTSort.h"
#include "src/pathops/SkIntersections.h" #include "src/pathops/SkIntersections.h"
#include "src/pathops/SkPathOpsBounds.h" #include "src/pathops/SkPathOpsBounds.h"
#include "src/pathops/SkPathOpsRect.h" #include "src/pathops/SkPathOpsRect.h"

View File

@ -21,6 +21,7 @@
// bestXY is initialized by caller with basePt // bestXY is initialized by caller with basePt
#include "src/core/SkTSort.h"
#include "src/pathops/SkOpContour.h" #include "src/pathops/SkOpContour.h"
#include "src/pathops/SkOpSegment.h" #include "src/pathops/SkOpSegment.h"
#include "src/pathops/SkPathOpsCurve.h" #include "src/pathops/SkPathOpsCurve.h"

View File

@ -5,7 +5,6 @@
* found in the LICENSE file. * found in the LICENSE file.
*/ */
#include "include/utils/SkRandom.h" #include "include/utils/SkRandom.h"
#include "src/core/SkTSort.h"
#include "src/pathops/SkIntersections.h" #include "src/pathops/SkIntersections.h"
#include "src/pathops/SkOpContour.h" #include "src/pathops/SkOpContour.h"
#include "src/pathops/SkOpSegment.h" #include "src/pathops/SkOpSegment.h"

View File

@ -6,7 +6,6 @@
*/ */
#include "include/core/SkCanvas.h" #include "include/core/SkCanvas.h"
#include "include/utils/SkRandom.h" #include "include/utils/SkRandom.h"
#include "src/core/SkTSort.h"
#include "tests/PathOpsExtendedTest.h" #include "tests/PathOpsExtendedTest.h"
#include "tests/PathOpsThreadedCommon.h" #include "tests/PathOpsThreadedCommon.h"
#include "tests/Test.h" #include "tests/Test.h"

View File

@ -19,7 +19,6 @@
#include "src/core/SkOSFile.h" #include "src/core/SkOSFile.h"
#include "src/core/SkPathPriv.h" #include "src/core/SkPathPriv.h"
#include "src/core/SkSpan.h" #include "src/core/SkSpan.h"
#include "src/core/SkTSort.h"
#include "src/utils/SkOSPath.h" #include "src/utils/SkOSPath.h"
#include "src/utils/SkUTF.h" #include "src/utils/SkUTF.h"

View File

@ -9,7 +9,6 @@
#include "include/core/SkCanvas.h" #include "include/core/SkCanvas.h"
#include "include/core/SkFont.h" #include "include/core/SkFont.h"
#include "src/core/SkTSort.h"
namespace sk_app { namespace sk_app {

View File

@ -19,6 +19,7 @@
#include "src/core/SkMD5.h" #include "src/core/SkMD5.h"
#include "src/core/SkOSFile.h" #include "src/core/SkOSFile.h"
#include "src/core/SkScan.h" #include "src/core/SkScan.h"
#include "src/core/SkTSort.h"
#include "src/core/SkTaskGroup.h" #include "src/core/SkTaskGroup.h"
#include "src/core/SkTextBlobPriv.h" #include "src/core/SkTextBlobPriv.h"
#include "src/gpu/GrContextPriv.h" #include "src/gpu/GrContextPriv.h"