2016-10-26 18:17:04 +00:00
|
|
|
# Copyright 2016 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
|
|
_src = get_path_info("../src", "abspath")
|
|
|
|
_include = get_path_info("../include", "abspath")
|
|
|
|
|
|
|
|
skia_utils_sources = [
|
|
|
|
"$_include/utils/SkFrontBufferedStream.h",
|
|
|
|
"$_include/utils/SkCamera.h",
|
|
|
|
"$_include/utils/SkCanvasStateUtils.h",
|
|
|
|
"$_include/utils/SkDumpCanvas.h",
|
|
|
|
"$_include/utils/SkEventTracer.h",
|
|
|
|
"$_include/utils/SkInterpolator.h",
|
2016-12-01 17:47:59 +00:00
|
|
|
"$_include/utils/SkNoDrawCanvas.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_include/utils/SkNWayCanvas.h",
|
|
|
|
"$_include/utils/SkNullCanvas.h",
|
|
|
|
"$_include/utils/SkPaintFilterCanvas.h",
|
|
|
|
"$_include/utils/SkParse.h",
|
|
|
|
"$_include/utils/SkParsePath.h",
|
|
|
|
"$_include/utils/SkRandom.h",
|
2017-01-13 19:37:37 +00:00
|
|
|
"$_include/utils/SkShadowUtils.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_include/utils/SkTextBox.h",
|
|
|
|
|
|
|
|
"$_src/utils/SkBase64.cpp",
|
|
|
|
"$_src/utils/SkBase64.h",
|
|
|
|
"$_src/utils/SkBitSet.h",
|
|
|
|
"$_src/utils/SkFrontBufferedStream.cpp",
|
|
|
|
"$_src/utils/SkCamera.cpp",
|
|
|
|
"$_src/utils/SkCanvasStack.h",
|
|
|
|
"$_src/utils/SkCanvasStack.cpp",
|
|
|
|
"$_src/utils/SkCanvasStateUtils.cpp",
|
|
|
|
"$_src/utils/SkCurveMeasure.cpp",
|
|
|
|
"$_src/utils/SkCurveMeasure.h",
|
|
|
|
"$_src/utils/SkDashPath.cpp",
|
|
|
|
"$_src/utils/SkDashPathPriv.h",
|
|
|
|
"$_src/utils/SkDeferredCanvas.cpp",
|
|
|
|
"$_src/utils/SkDumpCanvas.cpp",
|
|
|
|
"$_src/utils/SkEventTracer.cpp",
|
|
|
|
"$_src/utils/SkFloatUtils.h",
|
Revert "Revert "Create new inset algorithm for spot shadows""
This reverts commit e7c85c45c4c0a97adc6711bb12ecacc36af4ba11.
Reason for revert: <INSERT REASONING HERE>
Original change's description:
> Revert "Create new inset algorithm for spot shadows"
>
> This reverts commit e5f5bf5175e426ebb6aa234f4387831c898f20ad.
>
> Reason for revert: Breaking a bunch of bots. e.g:
>
> https://luci-milo.appspot.com/swarming/task/3519cae0a03c7b10/steps/dm/0/stdout
>
> Original change's description:
> > Create new inset algorithm for spot shadows
> >
> > BUG=skia:
> >
> > Change-Id: If7c67c2a5b9beea28f86d13362a5156b46394d0e
> > Reviewed-on: https://skia-review.googlesource.com/9875
> > Commit-Queue: Ravi Mistry <rmistry@google.com>
> > Reviewed-by: Brian Salomon <bsalomon@google.com>
> > Reviewed-by: Robert Phillips <robertphillips@google.com>
> >
>
> TBR=jvanverth@google.com,bsalomon@google.com,rmistry@google.com,robertphillips@google.com,msarett@google.com,reviews@skia.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=skia:
>
> Change-Id: I3d119ff631dbb1a41f873b9c8753d542ec91254e
> Reviewed-on: https://skia-review.googlesource.com/10112
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Salomon <bsalomon@google.com>
>
TBR=jvanverth@google.com,bsalomon@google.com,rmistry@google.com,msarett@google.com,robertphillips@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Change-Id: Ib3998300606d3a2e2fb3a14b2088cfad48363501
Reviewed-on: https://skia-review.googlesource.com/10113
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2017-03-24 16:07:20 +00:00
|
|
|
"$_src/utils/SkInsetConvexPolygon.cpp",
|
|
|
|
"$_src/utils/SkInsetConvexPolygon.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_src/utils/SkInterpolator.cpp",
|
2017-08-10 14:23:25 +00:00
|
|
|
"$_src/utils/SkJSONWriter.cpp",
|
Added SkJSONWriter
This is a stand-alone helper class for writing properly
structured JSON to an SkWStream. It currently solves two
problems (although this CL only uses it in one context):
1) Performance. Writing out JSON this way is about 10x
faster than using JSONCPP. For the large amounts of data
generated by the tracing system, that's a big win.
2) Makes it easy to emit structured JSON from code that's
not fully centralized. We'd like to spit out JSON that
describes a GrContext, GrGpu, GrCaps, etc... Doing that
with simple string manipulation is complex, and spreads
this logic over all those functions. Using JSONCPP adds
yet another (large) third party library dependency (that
we only build into our own tools right now).
This went through several revisions. I originally planned
it as a stateful SkString wrapper, so the user could just
build their JSON as a string. That's O(N^2), though,
because SkString grows by a (small) constant amount. Even
using a better growth strategy still means needing RAM
for all the resulting text, which is usually pointless.
This version has a constant memory cost, so writing huge
amounts of JSON to disk (tracing a long DM run can emit
100's of MBs) doesn't stress resources.
Bug: skia:
Change-Id: Ia716524b246db0f97d332da60d2ce9903069e748
Reviewed-on: https://skia-review.googlesource.com/31204
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
2017-08-09 13:25:39 +00:00
|
|
|
"$_src/utils/SkJSONWriter.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_src/utils/SkMatrix22.cpp",
|
|
|
|
"$_src/utils/SkMatrix22.h",
|
|
|
|
"$_src/utils/SkMultiPictureDocument.cpp",
|
|
|
|
"$_src/utils/SkNWayCanvas.cpp",
|
|
|
|
"$_src/utils/SkNullCanvas.cpp",
|
2016-11-07 23:05:29 +00:00
|
|
|
"$_src/utils/SkOSPath.cpp",
|
|
|
|
"$_src/utils/SkOSPath.h",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_src/utils/SkPaintFilterCanvas.cpp",
|
|
|
|
"$_src/utils/SkParse.cpp",
|
|
|
|
"$_src/utils/SkParseColor.cpp",
|
|
|
|
"$_src/utils/SkParsePath.cpp",
|
|
|
|
"$_src/utils/SkPatchUtils.cpp",
|
|
|
|
"$_src/utils/SkPatchUtils.h",
|
2017-01-30 18:11:45 +00:00
|
|
|
"$_src/utils/SkShadowTessellator.cpp",
|
|
|
|
"$_src/utils/SkShadowTessellator.h",
|
2017-01-13 19:37:37 +00:00
|
|
|
"$_src/utils/SkShadowUtils.cpp",
|
2016-10-26 18:17:04 +00:00
|
|
|
"$_src/utils/SkTextBox.cpp",
|
|
|
|
"$_src/utils/SkThreadUtils_pthread.cpp",
|
|
|
|
"$_src/utils/SkThreadUtils_win.cpp",
|
|
|
|
"$_src/utils/SkWhitelistTypefaces.cpp",
|
|
|
|
|
|
|
|
#mac
|
|
|
|
"$_include/utils/mac/SkCGUtils.h",
|
|
|
|
"$_src/utils/mac/SkCreateCGImageRef.cpp",
|
|
|
|
|
|
|
|
#windows
|
|
|
|
"$_src/utils/win/SkAutoCoInitialize.h",
|
|
|
|
"$_src/utils/win/SkAutoCoInitialize.cpp",
|
|
|
|
"$_src/utils/win/SkDWrite.h",
|
|
|
|
"$_src/utils/win/SkDWrite.cpp",
|
|
|
|
"$_src/utils/win/SkDWriteFontFileStream.cpp",
|
|
|
|
"$_src/utils/win/SkDWriteFontFileStream.h",
|
|
|
|
"$_src/utils/win/SkDWriteGeometrySink.cpp",
|
|
|
|
"$_src/utils/win/SkDWriteGeometrySink.h",
|
|
|
|
"$_src/utils/win/SkHRESULT.h",
|
|
|
|
"$_src/utils/win/SkHRESULT.cpp",
|
|
|
|
"$_src/utils/win/SkIStream.h",
|
|
|
|
"$_src/utils/win/SkIStream.cpp",
|
|
|
|
"$_src/utils/win/SkTScopedComPtr.h",
|
|
|
|
"$_src/utils/win/SkWGL.h",
|
|
|
|
"$_src/utils/win/SkWGL_win.cpp",
|
|
|
|
|
|
|
|
#testing
|
|
|
|
"$_src/fonts/SkRandomScalerContext.cpp",
|
|
|
|
"$_src/fonts/SkRandomScalerContext.h",
|
|
|
|
"$_src/fonts/SkTestScalerContext.cpp",
|
|
|
|
"$_src/fonts/SkTestScalerContext.h",
|
|
|
|
]
|