Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: src/gpu/GrDistanceFieldGenFromVector.h

Issue 1757913002: Revert of Generate Signed Distance Field directly from vector path (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrDistanceFieldGenFromVector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDistanceFieldGenFromVector.h
diff --git a/src/gpu/GrDistanceFieldGenFromVector.h b/src/gpu/GrDistanceFieldGenFromVector.h
deleted file mode 100644
index 1e10750b830696e5940390532e0c07064a101974..0000000000000000000000000000000000000000
--- 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
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrDistanceFieldGenFromVector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698