aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDistanceFieldGenFromVector.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-03-02 05:36:30 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-02 05:36:30 -0800
commit2a7cf5f5090fb6489284547850d308b33086fad9 (patch)
treee62449b9587b18f832514812351b634229a40646 /src/gpu/GrDistanceFieldGenFromVector.h
parent62c9c4ba61681921f52bf8120a500f6c1724ea50 (diff)
Revert of Generate Signed Distance Field directly from vector path (patchset #13 id:240001 of https://codereview.chromium.org/1643143002/ )
Reason for revert: This patch seems to be generating the assert: GrDistanceFieldGenFromVector.cpp:748: fatal error: ""0 && \"Winding number should be zero at the end of a scan line.\""" Original issue's description: > Generate Signed Distance Field directly from vector path > > Add SkGenerateDistanceFieldFromPath API to generate signed distance field directly from SkPath. > Currently only support even odd fill type. > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1643143002 > > Committed: https://skia.googlesource.com/skia/+/4de97a64e8829323a7070b623411d9f9ddb0cd0f TBR=bsalomon@google.com,jvanverth@google.com,mtklein@google.com,wasim.abbas@arm.com,joel.liang@arm.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1757913002
Diffstat (limited to 'src/gpu/GrDistanceFieldGenFromVector.h')
-rw-r--r--src/gpu/GrDistanceFieldGenFromVector.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/gpu/GrDistanceFieldGenFromVector.h b/src/gpu/GrDistanceFieldGenFromVector.h
deleted file mode 100644
index 1e10750b83..0000000000
--- a/src/gpu/GrDistanceFieldGenFromVector.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2016 ARM Ltd.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef GrDistanceFieldGenFromVector_DEFINED
-#define GrDistanceFieldGenFromVector_DEFINED
-
-#include "SkDistanceFieldGen.h"
-#include "SkPath.h"
-#include "SkMatrix.h"
-
-/** Given a vector path, generate the associated distance field.
-
- * @param distanceField The distance field to be generated. Should already be allocated
- * by the client with the padding defined in "SkDistanceFieldGen.h".
- * @param path The path we're using to generate the distance field.
- * @param matrix Transformation matrix for path.
- * @param width Width of the distance field.
- * @param height Height of the distance field.
- * @param rowBytes Size of each row in the distance field, in bytes.
- */
-bool GrGenerateDistanceFieldFromPath(unsigned char* distanceField,
- const SkPath& path, const SkMatrix& viewMatrix,
- int width, int height, size_t rowBytes);
-
-#endif