Move Ganesh tessellation helpers to src/gpu/ganesh/tessellate

Change-Id: I2374fd376f3038e59c82f57c68ac13557058de8d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/534663
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
This commit is contained in:
Michael Ludwig 2022-05-05 09:53:51 -04:00 committed by SkCQ
parent 0fe311ac02
commit e706ba895c
27 changed files with 131 additions and 131 deletions

View File

@ -11,8 +11,8 @@
#include "src/core/SkRectPriv.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/mock/GrMockOpTarget.h"
#include "src/gpu/ganesh/ops/PathTessellator.h"
#include "src/gpu/ganesh/ops/StrokeTessellator.h"
#include "src/gpu/ganesh/tessellate/PathTessellator.h"
#include "src/gpu/ganesh/tessellate/StrokeTessellator.h"
#include "src/gpu/tessellate/AffineMatrix.h"
#include "src/gpu/tessellate/MiddleOutPolygonTriangulator.h"
#include "src/gpu/tessellate/WangsFormula.h"

View File

@ -310,13 +310,17 @@ skia_gpu_sources = [
"$_src/gpu/ganesh/gradients/GrGradientShader.cpp",
"$_src/gpu/ganesh/gradients/GrGradientShader.h",
# tessellate/shaders
"$_src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h",
"$_src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.h",
"$_src/gpu/ganesh/tessellate/shaders/GrTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h",
# tessellate
"$_src/gpu/ganesh/tessellate/GrPathTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/GrPathTessellationShader.h",
"$_src/gpu/ganesh/tessellate/GrStrokeTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/GrStrokeTessellationShader.h",
"$_src/gpu/ganesh/tessellate/GrTessellationShader.cpp",
"$_src/gpu/ganesh/tessellate/GrTessellationShader.h",
"$_src/gpu/ganesh/tessellate/PathTessellator.cpp",
"$_src/gpu/ganesh/tessellate/PathTessellator.h",
"$_src/gpu/ganesh/tessellate/StrokeTessellator.cpp",
"$_src/gpu/ganesh/tessellate/StrokeTessellator.h",
# text
"$_src/gpu/ganesh/text/GrAtlasManager.cpp",
@ -510,8 +514,6 @@ skia_skgpu_v1_sources = [
"$_src/gpu/ganesh/ops/PathStencilCoverOp.h",
"$_src/gpu/ganesh/ops/PathTessellateOp.cpp",
"$_src/gpu/ganesh/ops/PathTessellateOp.h",
"$_src/gpu/ganesh/ops/PathTessellator.cpp",
"$_src/gpu/ganesh/ops/PathTessellator.h",
"$_src/gpu/ganesh/ops/QuadPerEdgeAA.cpp",
"$_src/gpu/ganesh/ops/QuadPerEdgeAA.h",
"$_src/gpu/ganesh/ops/RegionOp.cpp",
@ -530,8 +532,6 @@ skia_skgpu_v1_sources = [
"$_src/gpu/ganesh/ops/StrokeRectOp.h",
"$_src/gpu/ganesh/ops/StrokeTessellateOp.cpp",
"$_src/gpu/ganesh/ops/StrokeTessellateOp.h",
"$_src/gpu/ganesh/ops/StrokeTessellator.cpp",
"$_src/gpu/ganesh/ops/StrokeTessellator.h",
"$_src/gpu/ganesh/ops/TessellationPathRenderer.cpp",
"$_src/gpu/ganesh/ops/TessellationPathRenderer.h",
"$_src/gpu/ganesh/ops/TextureOp.cpp",

View File

@ -1181,8 +1181,6 @@ BASE_SRCS_ALL = [
"src/gpu/ganesh/ops/PathStencilCoverOp.h",
"src/gpu/ganesh/ops/PathTessellateOp.cpp",
"src/gpu/ganesh/ops/PathTessellateOp.h",
"src/gpu/ganesh/ops/PathTessellator.cpp",
"src/gpu/ganesh/ops/PathTessellator.h",
"src/gpu/ganesh/ops/QuadPerEdgeAA.cpp",
"src/gpu/ganesh/ops/QuadPerEdgeAA.h",
"src/gpu/ganesh/ops/RegionOp.cpp",
@ -1201,20 +1199,22 @@ BASE_SRCS_ALL = [
"src/gpu/ganesh/ops/StrokeRectOp.h",
"src/gpu/ganesh/ops/StrokeTessellateOp.cpp",
"src/gpu/ganesh/ops/StrokeTessellateOp.h",
"src/gpu/ganesh/ops/StrokeTessellator.cpp",
"src/gpu/ganesh/ops/StrokeTessellator.h",
"src/gpu/ganesh/ops/TessellationPathRenderer.cpp",
"src/gpu/ganesh/ops/TessellationPathRenderer.h",
"src/gpu/ganesh/ops/TextureOp.cpp",
"src/gpu/ganesh/ops/TextureOp.h",
"src/gpu/ganesh/ops/TriangulatingPathRenderer.cpp",
"src/gpu/ganesh/ops/TriangulatingPathRenderer.h",
"src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.cpp",
"src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h",
"src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.cpp",
"src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.h",
"src/gpu/ganesh/tessellate/shaders/GrTessellationShader.cpp",
"src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h",
"src/gpu/ganesh/tessellate/GrPathTessellationShader.cpp",
"src/gpu/ganesh/tessellate/GrPathTessellationShader.h",
"src/gpu/ganesh/tessellate/GrStrokeTessellationShader.cpp",
"src/gpu/ganesh/tessellate/GrStrokeTessellationShader.h",
"src/gpu/ganesh/tessellate/GrTessellationShader.cpp",
"src/gpu/ganesh/tessellate/GrTessellationShader.h",
"src/gpu/ganesh/tessellate/StrokeTessellator.cpp",
"src/gpu/ganesh/tessellate/StrokeTessellator.h",
"src/gpu/ganesh/tessellate/PathTessellator.cpp",
"src/gpu/ganesh/tessellate/PathTessellator.h",
"src/gpu/ganesh/text/GrAtlasManager.cpp",
"src/gpu/ganesh/text/GrAtlasManager.h",
"src/gpu/ganesh/text/GrDistanceFieldAdjustTable.cpp",

View File

@ -16,9 +16,9 @@
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/ops/GrDrawOp.h"
#include "src/gpu/ganesh/ops/GrSimpleMeshDrawOpHelper.h"
#include "src/gpu/ganesh/ops/PathTessellator.h"
#include "src/gpu/ganesh/ops/TessellationPathRenderer.h"
#include "src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrPathTessellationShader.h"
#include "src/gpu/ganesh/tessellate/PathTessellator.h"
#include "src/gpu/ganesh/v1/SurfaceDrawContext_v1.h"
#include "src/gpu/tessellate/AffineMatrix.h"
#include "src/gpu/tessellate/MiddleOutPolygonTriangulator.h"

View File

@ -170,7 +170,6 @@ cc_library(
"//src/gpu/ganesh/ops:PathInnerTriangulateOp_src",
"//src/gpu/ganesh/ops:PathStencilCoverOp_src",
"//src/gpu/ganesh/ops:PathTessellateOp_src",
"//src/gpu/ganesh/ops:PathTessellator_src",
"//src/gpu/ganesh/ops:QuadPerEdgeAA_src",
"//src/gpu/ganesh/ops:RegionOp_src",
"//src/gpu/ganesh/ops:ShadowRRectOp_src",
@ -180,13 +179,14 @@ cc_library(
"//src/gpu/ganesh/ops:SoftwarePathRenderer_src",
"//src/gpu/ganesh/ops:StrokeRectOp_src",
"//src/gpu/ganesh/ops:StrokeTessellateOp_src",
"//src/gpu/ganesh/ops:StrokeTessellator_src",
"//src/gpu/ganesh/ops:TessellationPathRenderer_src",
"//src/gpu/ganesh/ops:TextureOp_src",
"//src/gpu/ganesh/ops:TriangulatingPathRenderer_src",
"//src/gpu/ganesh/tessellate/shaders:GrPathTessellationShader_src",
"//src/gpu/ganesh/tessellate/shaders:GrStrokeTessellationShader_src",
"//src/gpu/ganesh/tessellate/shaders:GrTessellationShader_src",
"//src/gpu/ganesh/tessellate:GrPathTessellationShader_src",
"//src/gpu/ganesh/tessellate:GrStrokeTessellationShader_src",
"//src/gpu/ganesh/tessellate:GrTessellationShader_src",
"//src/gpu/ganesh/tessellate:PathTessellator_src",
"//src/gpu/ganesh/tessellate:StrokeTessellator_src",
"//src/gpu/ganesh/text:GrAtlasManager_src",
"//src/gpu/ganesh/text:GrDistanceFieldAdjustTable_src",
"//src/gpu/ganesh/text:GrSDFMaskFilter_src",

View File

@ -17,7 +17,7 @@
#include "src/gpu/ganesh/ops/AtlasRenderTask.h"
#include "src/gpu/ganesh/ops/DrawAtlasPathOp.h"
#include "src/gpu/ganesh/ops/TessellationPathRenderer.h"
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
#include "src/gpu/ganesh/v1/SurfaceDrawContext_v1.h"
using grvx::float2;

View File

@ -12,7 +12,7 @@
#include "src/core/SkTBlockList.h"
#include "src/gpu/ganesh/GrDynamicAtlas.h"
#include "src/gpu/ganesh/ops/OpsTask.h"
#include "src/gpu/ganesh/ops/PathTessellator.h"
#include "src/gpu/ganesh/tessellate/PathTessellator.h"
struct SkIPoint16;

View File

@ -177,7 +177,7 @@ generated_cc_atom(
"//src/gpu/ganesh:GrVx_hdr",
"//src/gpu/ganesh/effects:GrModulateAtlasCoverageEffect_hdr",
"//src/gpu/ganesh/geometry:GrStyledShape_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrTessellationShader_hdr",
"//src/gpu/ganesh/v1:SurfaceDrawContext_v1_hdr",
],
)
@ -188,10 +188,10 @@ generated_cc_atom(
visibility = ["//:__subpackages__"],
deps = [
":OpsTask_hdr",
":PathTessellator_hdr",
"//include/core:SkPath_hdr",
"//src/core:SkTBlockList_hdr",
"//src/gpu/ganesh:GrDynamicAtlas_hdr",
"//src/gpu/ganesh/tessellate:PathTessellator_hdr",
],
)
@ -808,7 +808,7 @@ generated_cc_atom(
":FillPathFlags_hdr",
":GrDrawOp_hdr",
"//src/gpu/ganesh/geometry:GrInnerFanTriangulator_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrTessellationShader_hdr",
],
)
@ -818,14 +818,14 @@ generated_cc_atom(
visibility = ["//:__subpackages__"],
deps = [
":PathInnerTriangulateOp_hdr",
":PathTessellator_hdr",
"//src/gpu/ganesh:GrEagerVertexAllocator_hdr",
"//src/gpu/ganesh:GrGpu_hdr",
"//src/gpu/ganesh:GrOpFlushState_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh:GrResourceProvider_hdr",
"//src/gpu/ganesh/glsl:GrGLSLVertexGeoBuilder_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrPathTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrPathTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:PathTessellator_hdr",
],
)
@ -836,8 +836,8 @@ generated_cc_atom(
deps = [
":FillPathFlags_hdr",
":GrDrawOp_hdr",
":PathTessellator_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:PathTessellator_hdr",
],
)
@ -856,7 +856,7 @@ generated_cc_atom(
"//src/gpu/ganesh/glsl:GrGLSLFragmentShaderBuilder_hdr",
"//src/gpu/ganesh/glsl:GrGLSLVarying_hdr",
"//src/gpu/ganesh/glsl:GrGLSLVertexGeoBuilder_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrPathTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrPathTessellationShader_hdr",
"//src/gpu/tessellate:AffineMatrix_hdr",
"//src/gpu/tessellate:FixedCountBufferUtils_hdr",
"//src/gpu/tessellate:MiddleOutPolygonTriangulator_hdr",
@ -870,8 +870,8 @@ generated_cc_atom(
visibility = ["//:__subpackages__"],
deps = [
":GrDrawOp_hdr",
":PathTessellator_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:PathTessellator_hdr",
"//src/gpu/tessellate:Tessellation_hdr",
],
)
@ -884,7 +884,7 @@ generated_cc_atom(
":PathTessellateOp_hdr",
"//src/gpu/ganesh:GrAppliedClip_hdr",
"//src/gpu/ganesh:GrOpFlushState_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrPathTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrPathTessellationShader_hdr",
],
)
@ -1150,9 +1150,9 @@ generated_cc_atom(
visibility = ["//:__subpackages__"],
deps = [
":GrDrawOp_hdr",
":StrokeTessellator_hdr",
"//include/core:SkStrokeRec_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:StrokeTessellator_hdr",
],
)
@ -1167,7 +1167,7 @@ generated_cc_atom(
"//src/gpu/ganesh:GrAppliedClip_hdr",
"//src/gpu/ganesh:GrOpFlushState_hdr",
"//src/gpu/ganesh:GrRecordingContextPriv_hdr",
"//src/gpu/ganesh/tessellate/shaders:GrStrokeTessellationShader_hdr",
"//src/gpu/ganesh/tessellate:GrStrokeTessellationShader_hdr",
],
)
@ -1339,68 +1339,3 @@ generated_cc_atom(
"//src/sksl/ir:SkSLProgram_hdr",
],
)
generated_cc_atom(
name = "PathTessellator_hdr",
hdrs = ["PathTessellator.h"],
visibility = ["//:__subpackages__"],
deps = [
"//src/core:SkArenaAlloc_hdr",
"//src/gpu/ganesh:GrGpuBuffer_hdr",
"//src/gpu/ganesh:GrVertexChunkArray_hdr",
"//src/gpu/ganesh/geometry:GrInnerFanTriangulator_hdr",
"//src/gpu/tessellate:FixedCountBufferUtils_hdr",
"//src/gpu/tessellate:Tessellation_hdr",
],
)
generated_cc_atom(
name = "PathTessellator_src",
srcs = ["PathTessellator.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":PathTessellator_hdr",
"//src/core:SkPathPriv_hdr",
"//src/gpu/ganesh:GrMeshDrawTarget_hdr",
"//src/gpu/ganesh:GrOpFlushState_hdr",
"//src/gpu/ganesh:GrResourceProvider_hdr",
"//src/gpu/tessellate:AffineMatrix_hdr",
"//src/gpu/tessellate:FixedCountBufferUtils_hdr",
"//src/gpu/tessellate:MiddleOutPolygonTriangulator_hdr",
"//src/gpu/tessellate:MidpointContourParser_hdr",
"//src/gpu/tessellate:PatchWriter_hdr",
"//src/gpu/tessellate:WangsFormula_hdr",
],
)
generated_cc_atom(
name = "StrokeTessellator_hdr",
hdrs = ["StrokeTessellator.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkPath_hdr",
"//include/core:SkStrokeRec_hdr",
"//include/private:SkColorData_hdr",
"//src/core:SkMathPriv_hdr",
"//src/gpu/ganesh:GrVertexChunkArray_hdr",
"//src/gpu/tessellate:FixedCountBufferUtils_hdr",
"//src/gpu/tessellate:Tessellation_hdr",
],
)
generated_cc_atom(
name = "StrokeTessellator_src",
srcs = ["StrokeTessellator.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":StrokeTessellator_hdr",
"//src/core:SkGeometry_hdr",
"//src/core:SkPathPriv_hdr",
"//src/gpu/ganesh:GrMeshDrawTarget_hdr",
"//src/gpu/ganesh:GrOpFlushState_hdr",
"//src/gpu/ganesh:GrResourceProvider_hdr",
"//src/gpu/tessellate:PatchWriter_hdr",
"//src/gpu/tessellate:StrokeIterator_hdr",
"//src/gpu/tessellate:WangsFormula_hdr",
],
)

View File

@ -13,8 +13,8 @@
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/GrResourceProvider.h"
#include "src/gpu/ganesh/glsl/GrGLSLVertexGeoBuilder.h"
#include "src/gpu/ganesh/ops/PathTessellator.h"
#include "src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrPathTessellationShader.h"
#include "src/gpu/ganesh/tessellate/PathTessellator.h"
namespace skgpu::v1 {

View File

@ -11,7 +11,7 @@
#include "src/gpu/ganesh/geometry/GrInnerFanTriangulator.h"
#include "src/gpu/ganesh/ops/FillPathFlags.h"
#include "src/gpu/ganesh/ops/GrDrawOp.h"
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
namespace skgpu::v1 {

View File

@ -16,7 +16,7 @@
#include "src/gpu/ganesh/glsl/GrGLSLVarying.h"
#include "src/gpu/ganesh/glsl/GrGLSLVertexGeoBuilder.h"
#include "src/gpu/ganesh/ops/GrSimpleMeshDrawOpHelper.h"
#include "src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrPathTessellationShader.h"
#include "src/gpu/tessellate/AffineMatrix.h"
#include "src/gpu/tessellate/FixedCountBufferUtils.h"
#include "src/gpu/tessellate/MiddleOutPolygonTriangulator.h"

View File

@ -10,8 +10,8 @@
#include "src/gpu/ganesh/ops/FillPathFlags.h"
#include "src/gpu/ganesh/ops/GrDrawOp.h"
#include "src/gpu/ganesh/ops/PathTessellator.h"
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/PathTessellator.h"
namespace skgpu::v1 {

View File

@ -9,8 +9,7 @@
#include "src/gpu/ganesh/GrAppliedClip.h"
#include "src/gpu/ganesh/GrOpFlushState.h"
#include "src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrPathTessellationShader.h"
namespace skgpu::v1 {
void PathTessellateOp::visitProxies(const GrVisitProxyFunc& func) const {

View File

@ -9,8 +9,8 @@
#define PathTessellateOp_DEFINED
#include "src/gpu/ganesh/ops/GrDrawOp.h"
#include "src/gpu/ganesh/ops/PathTessellator.h"
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/PathTessellator.h"
#include "src/gpu/tessellate/Tessellation.h"
namespace skgpu::v1 {

View File

@ -12,7 +12,7 @@
#include "src/gpu/ganesh/GrAppliedClip.h"
#include "src/gpu/ganesh/GrOpFlushState.h"
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrStrokeTessellationShader.h"
namespace skgpu::v1 {

View File

@ -10,8 +10,8 @@
#include "include/core/SkStrokeRec.h"
#include "src/gpu/ganesh/ops/GrDrawOp.h"
#include "src/gpu/ganesh/ops/StrokeTessellator.h"
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/StrokeTessellator.h"
class GrRecordingContext;
class GrStrokeTessellationShader;

View File

@ -80,3 +80,68 @@ generated_cc_atom(
"//src/gpu/tessellate:WangsFormula_hdr",
],
)
generated_cc_atom(
name = "PathTessellator_hdr",
hdrs = ["PathTessellator.h"],
visibility = ["//:__subpackages__"],
deps = [
"//src/core:SkArenaAlloc_hdr",
"//src/gpu/ganesh:GrGpuBuffer_hdr",
"//src/gpu/ganesh:GrVertexChunkArray_hdr",
"//src/gpu/ganesh/geometry:GrInnerFanTriangulator_hdr",
"//src/gpu/tessellate:FixedCountBufferUtils_hdr",
"//src/gpu/tessellate:Tessellation_hdr",
],
)
generated_cc_atom(
name = "PathTessellator_src",
srcs = ["PathTessellator.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":PathTessellator_hdr",
"//src/core:SkPathPriv_hdr",
"//src/gpu/ganesh:GrMeshDrawTarget_hdr",
"//src/gpu/ganesh:GrOpFlushState_hdr",
"//src/gpu/ganesh:GrResourceProvider_hdr",
"//src/gpu/tessellate:AffineMatrix_hdr",
"//src/gpu/tessellate:FixedCountBufferUtils_hdr",
"//src/gpu/tessellate:MiddleOutPolygonTriangulator_hdr",
"//src/gpu/tessellate:MidpointContourParser_hdr",
"//src/gpu/tessellate:PatchWriter_hdr",
"//src/gpu/tessellate:WangsFormula_hdr",
],
)
generated_cc_atom(
name = "StrokeTessellator_hdr",
hdrs = ["StrokeTessellator.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkPath_hdr",
"//include/core:SkStrokeRec_hdr",
"//include/private:SkColorData_hdr",
"//src/core:SkMathPriv_hdr",
"//src/gpu/ganesh:GrVertexChunkArray_hdr",
"//src/gpu/tessellate:FixedCountBufferUtils_hdr",
"//src/gpu/tessellate:Tessellation_hdr",
],
)
generated_cc_atom(
name = "StrokeTessellator_src",
srcs = ["StrokeTessellator.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":StrokeTessellator_hdr",
"//src/core:SkGeometry_hdr",
"//src/core:SkPathPriv_hdr",
"//src/gpu/ganesh:GrMeshDrawTarget_hdr",
"//src/gpu/ganesh:GrOpFlushState_hdr",
"//src/gpu/ganesh:GrResourceProvider_hdr",
"//src/gpu/tessellate:PatchWriter_hdr",
"//src/gpu/tessellate:StrokeIterator_hdr",
"//src/gpu/tessellate:WangsFormula_hdr",
],
)

View File

@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/tessellate/shaders/GrPathTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrPathTessellationShader.h"
#include "src/core/SkMathPriv.h"
#include "src/gpu/KeyBuilder.h"

View File

@ -8,7 +8,7 @@
#ifndef GrPathTessellationShader_DEFINED
#define GrPathTessellationShader_DEFINED
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
#include "src/gpu/tessellate/Tessellation.h"
// This is the base class for shaders in the GPU tessellator that fill paths.

View File

@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/tessellate/shaders/GrStrokeTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrStrokeTessellationShader.h"
#include "src/gpu/KeyBuilder.h"
#include "src/gpu/ganesh/glsl/GrGLSLFragmentShaderBuilder.h"

View File

@ -8,7 +8,7 @@
#ifndef GrStrokeTessellationShader_DEFINED
#define GrStrokeTessellationShader_DEFINED
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
#include "include/core/SkStrokeRec.h"
#include "src/gpu/ganesh/GrVx.h"

View File

@ -5,7 +5,8 @@
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/tessellate/shaders/GrTessellationShader.h"
#include "src/gpu/ganesh/tessellate/GrTessellationShader.h"
#include "src/gpu/tessellate/WangsFormula.h"
const GrPipeline* GrTessellationShader::MakePipeline(const ProgramArgs& args,

View File

@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/ops/PathTessellator.h"
#include "src/gpu/ganesh/tessellate/PathTessellator.h"
#include "src/core/SkPathPriv.h"
#include "src/gpu/ganesh/GrMeshDrawTarget.h"

View File

@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/ops/StrokeTessellator.h"
#include "src/gpu/ganesh/tessellate/StrokeTessellator.h"
#include "src/core/SkGeometry.h"
#include "src/core/SkPathPriv.h"