/frameworks/base/libs/hwui/tests/microbench/ |
PathParserBench.cpp | 22 #include <SkPath.h> 32 SkPath skPath; 36 PathParser::parseAsciiStringForSkPath(&skPath, &result, sPathString, length); 38 benchmark::DoNotOptimize(&skPath);
|
/external/skqp/src/gpu/ |
GrPath.h | 14 #include "SkPath.h" 24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) 29 , fSkPath(skPath) 41 bool isEqualTo(const SkPath& path, const GrStyle& style) const; 49 SkPath fSkPath;
|
/external/skia/src/gpu/gl/ |
GrGLPath.cpp | 14 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) { 23 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb); 24 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb); 25 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb); 26 GR_STATIC_ASSERT(3 == SkPath::kConic_Verb); 27 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb); 28 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb); 35 inline int num_coords(SkPath::Verb verb) { 44 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb); 45 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb) [all...] |
GrGLPathRange.cpp | 53 void GrGLPathRange::onInitPath(int index, const SkPath& origSkPath) const { 70 const SkPath* skPath = &origSkPath; 71 SkTLazy<SkPath> tmpPath; 79 if (!fStyle.applyToPath(tmpPath.init(), &fill, *skPath, SK_Scalar1)) { 85 skPath = tmpPath.get(); 88 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, *skPath);
|
/external/skqp/src/gpu/gl/ |
GrGLPath.cpp | 14 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) { 23 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb); 24 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb); 25 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb); 26 GR_STATIC_ASSERT(3 == SkPath::kConic_Verb); 27 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb); 28 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb); 35 inline int num_coords(SkPath::Verb verb) { 44 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb); 45 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb) [all...] |
GrGLPathRange.cpp | 53 void GrGLPathRange::onInitPath(int index, const SkPath& origSkPath) const { 70 const SkPath* skPath = &origSkPath; 71 SkTLazy<SkPath> tmpPath; 79 if (!fStyle.applyToPath(tmpPath.init(), &fill, *skPath, SK_Scalar1)) { 85 skPath = tmpPath.get(); 88 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, *skPath);
|
/external/skia/src/gpu/ |
GrPath.h | 14 #include "SkPath.h" 24 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStyle& style) 29 , fSkPath(skPath) 41 bool isEqualTo(const SkPath& path, const GrStyle& style) const; 49 SkPath fSkPath;
|
/external/skia/src/gpu/ops/ |
GrStencilAndCoverPathRenderer.cpp | 62 SkPath skPath; 63 shape.asPath(&skPath); 64 path = resourceProvider->createPath(skPath, shape.style()); 70 SkPath skPath; 71 shape.asPath(&skPath); 72 SkASSERT(path->isEqualTo(skPath, shape.style()));
|
/external/skqp/src/gpu/ops/ |
GrStencilAndCoverPathRenderer.cpp | 62 SkPath skPath; 63 shape.asPath(&skPath); 64 path = resourceProvider->createPath(skPath, shape.style()); 70 SkPath skPath; 71 shape.asPath(&skPath); 72 SkASSERT(path->isEqualTo(skPath, shape.style()));
|
/frameworks/base/core/jni/ |
android_util_PathParser.cpp | 21 #include <SkPath.h> 34 SkPath* skPath = reinterpret_cast<SkPath*>(skPathHandle); 37 PathParser::parseAsciiStringForSkPath(skPath, &result, pathString, strLength); 98 SkPath* skPath = reinterpret_cast<SkPath*>(outPathPtr); 99 VectorDrawableUtils::verbsToPath(skPath, *pathData);
|
/frameworks/base/libs/hwui/tests/unit/ |
VectorDrawableTests.cpp | 32 const std::function<void(SkPath*)> skPathLamda; 47 [](SkPath* outPath) { 71 [](SkPath* outPath) { 88 outPath->arcTo(10.0, 10.0, 0.0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 10.0, 10.0); 89 outPath->arcTo(10.0, 10.0, 0.0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 20.0, 20.0); 119 [](SkPath* outPath) { 158 [](SkPath* outPath) { 160 outPath->arcTo(230.0, 230.0, 0.0, SkPath::kLarge_ArcSize, SkPath::kCCW_Direction, 301.0, 70.0) [all...] |
/frameworks/base/libs/hwui/ |
PathParser.cpp | 290 void PathParser::parseAsciiStringForSkPath(SkPath* skPath, ParseResult* result, const char* pathStr, 304 VectorDrawableUtils::verbsToPath(skPath, pathData);
|
/external/pdfium/core/fxge/skia/ |
fx_skia_device.cpp | 35 #include "third_party/skia/include/core/SkPath.h" 177 void DebugShowSkiaPath(const SkPath& path) { 216 const SkPath& path) { 252 void DebugDrawSkiaClipPath(SkCanvas* canvas, const SkPath& path) { 261 void DebugDrawSkiaClipPath(SkCanvas* canvas, const SkPath& path) {} 283 SkPath BuildPath(const CFX_PathData* pPathData) { 284 SkPath skPath; 291 skPath.moveTo(point.x, point.y); 293 skPath.lineTo(point.x, point.y) [all...] |
/external/skia/src/ports/ |
SkFontHost_mac.cpp | 40 #include "SkPath.h" 702 void generatePath(SkGlyphID glyph, SkPath* path) override; [all...] |
/external/skqp/src/ports/ |
SkFontHost_mac.cpp | 40 #include "SkPath.h" 702 void generatePath(SkGlyphID glyph, SkPath* path) override; [all...] |