/external/skia/src/gpu/ |
H A D | GrPath.h | 20 * Initialize to a path with a fixed stroke. Stroke must not be hairline. 22 GrPath(GrGpu* gpu, const SkPath& skPath, const GrStrokeInfo& stroke) argument 28 , fStroke(stroke) 33 static void ComputeKey(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key, 40 bool isEqualTo(const SkPath& path, const GrStrokeInfo& stroke) const;
|
H A D | GrPathRendering.cpp | 55 const GrStrokeInfo& stroke) { 63 return this->createPathRange(generator, stroke); 71 // Don't bake stroke information into the glyphs, we'll let the GPU do the stroking. 81 return this->createPathRange(generator, stroke); 53 createGlyphs(const SkTypeface* typeface, const SkDescriptor* desc, const GrStrokeInfo& stroke) argument
|
H A D | GrPath.cpp | 15 inline static bool compute_key_for_line_path(const SkPath& path, const GrStrokeInfo& stroke, argument 25 int strokeDataCnt = stroke.computeUniqueKeyFragmentData32Cnt(); 31 stroke.asUniqueKeyFragment(&builder[kBaseData32Cnt]); 36 inline static bool compute_key_for_oval_path(const SkPath& path, const GrStrokeInfo& stroke, argument 40 if (stroke.isDashed() || !path.isOval(&rect)) { 47 int strokeDataCnt = stroke.computeUniqueKeyFragmentData32Cnt(); 53 stroke.asUniqueKeyFragment(&builder[kBaseData32Cnt]); 61 inline static bool compute_key_for_simple_path(const SkPath& path, const GrStrokeInfo& stroke, argument 109 // 2) stroke data (varying size) 112 const int strokeDataCnt = stroke 162 compute_key_for_general_path(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key) argument 177 ComputeKey(const SkPath& path, const GrStrokeInfo& stroke, GrUniqueKey* key, bool* outIsVolatile) argument [all...] |
H A D | GrPathRenderer.h | 64 * @param stroke the stroke information (width, join, cap). 66 StencilSupport getStencilSupport(const SkPath& path, const GrStrokeInfo& stroke) const { 68 return this->onGetStencilSupport(path, stroke); 77 * fStroke The stroke information (width, join, cap) 121 * fStroke the stroke information (width, join, cap) 177 * fStroke The stroke information (width, join, cap) 210 // Helper for determining if we can treat a thin stroke as a hairline w/ coverage. 212 static bool IsStrokeHairlineOrEquivalent(const GrStrokeInfo& stroke, const SkMatrix& matrix, argument 214 if (stroke [all...] |
H A D | GrResourceProvider.cpp | 74 GrPath* GrResourceProvider::createPath(const SkPath& path, const GrStrokeInfo& stroke) { argument 76 return this->gpu()->pathRendering()->createPath(path, stroke); 80 const GrStrokeInfo& stroke) { 82 return this->gpu()->pathRendering()->createPathRange(gen, stroke); 86 const GrStrokeInfo& stroke) { 89 return this->gpu()->pathRendering()->createGlyphs(tf, desc, stroke); 79 createPathRange(GrPathRange::PathGenerator* gen, const GrStrokeInfo& stroke) argument 85 createGlyphs(const SkTypeface* tf, const SkDescriptor* desc, const GrStrokeInfo& stroke) argument
|
H A D | GrSWMaskHelper.cpp | 124 void GrSWMaskHelper::draw(const SkPath& path, const SkStrokeRec& stroke, SkRegion::Op op, argument 128 if (stroke.isHairlineStyle()) { 132 if (stroke.isFillStyle()) { 136 paint.setStrokeJoin(stroke.getJoin()); 137 paint.setStrokeCap(stroke.getCap()); 138 paint.setStrokeWidth(stroke.getWidth()); 316 const SkStrokeRec& stroke, 326 helper.draw(path, stroke, SkRegion::kReplace_Op, antiAlias, 0xFF); 314 DrawPathMaskToTexture(GrContext* context, const SkPath& path, const SkStrokeRec& stroke, const SkIRect& resultBounds, bool antiAlias, const SkMatrix* matrix) argument
|
/external/skia/src/gpu/batches/ |
H A D | GrRectBatchFactory.h | 66 const SkStrokeRec& stroke) { 67 return GrAAStrokeRectBatch::Create(color, viewMatrix, rect, stroke); 63 CreateAAStroke(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke) argument
|
H A D | GrAADistanceFieldPathRenderer.h | 44 Key(uint32_t genID, uint32_t dim, const SkStrokeRec& stroke) argument 47 , fStroke(stroke) {}
|
H A D | GrStencilAndCoverPathRenderer.cpp | 49 const GrStrokeInfo& stroke) { 52 GrPath::ComputeKey(skPath, stroke, &key, &isVolatile); 56 path.reset(resourceProvider->createPath(skPath, stroke)); 61 SkASSERT(path->isEqualTo(skPath, stroke)); 48 get_gr_path(GrResourceProvider* resourceProvider, const SkPath& skPath, const GrStrokeInfo& stroke) argument
|
H A D | GrTessellatingPathRenderer.cpp | 68 // This path renderer can draw all fill styles, all stroke styles except hairlines, but does 81 const GrStrokeInfo& stroke, 84 return new TessellatingPathBatch(color, path, stroke, viewMatrix, clipBounds); 111 GrStrokeInfo stroke(fStroke); 112 if (stroke.isDashed()) { 113 if (!stroke.applyDashToPath(&path, &stroke, fPath)) { 119 if (!stroke.isFillStyle()) { 120 stroke.setResScale(SkScalarAbs(fViewMatrix.getMaxScale())); 121 if (!stroke 79 Create(const GrColor& color, const SkPath& path, const GrStrokeInfo& stroke, const SkMatrix& viewMatrix, SkRect clipBounds) argument 207 TessellatingPathBatch(const GrColor& color, const SkPath& path, const GrStrokeInfo& stroke, const SkMatrix& viewMatrix, const SkRect& clipBounds) argument [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLPathRange.cpp | 14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStrokeInfo& stroke) argument 16 fStroke(stroke), 27 const GrStrokeInfo& stroke) 29 fStroke(stroke), 38 // * dashing: NVPR stroke dashing is different to Skia. 73 const GrStrokeInfo* stroke = &fStroke; local 79 // Thus we must stroke the strokes here, so that all paths in the 82 if (!stroke->applyDashToPath(tmpPath.init(), &tmpStroke, *skPath)) { 86 stroke = &tmpStroke; 88 if (stroke 23 GrGLPathRange(GrGLGpu* gpu, GrGLuint basePathID, int numPaths, size_t gpuMemorySize, const GrStrokeInfo& stroke) argument [all...] |
H A D | GrGLPath.cpp | 244 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke) { argument 245 SkASSERT(stroke.needToApply()); 246 SkASSERT(!stroke.isDashed()); 247 SkASSERT(!stroke.isHairlineStyle()); 249 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); 251 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter()))); 252 GrGLenum join = join_to_gl_join(stroke.getJoin()); 254 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); 274 const GrStrokeInfo* stroke = &origStroke; local 277 if (stroke [all...] |
H A D | GrGLPathRendering.cpp | 90 GrPath* GrGLPathRendering::createPath(const SkPath& inPath, const GrStrokeInfo& stroke) { argument 91 return new GrGLPath(this->gpu(), inPath, stroke); 95 const GrStrokeInfo& stroke) { 96 return new GrGLPathRange(this->gpu(), pathGenerator, stroke); 94 createPathRange(GrPathRange::PathGenerator* pathGenerator, const GrStrokeInfo& stroke) argument
|
/external/skia/experimental/c-api-example/ |
H A D | skia-c-example.c | 48 sk_paint_t* stroke = sk_paint_new(); local 49 sk_paint_set_color(stroke, sk_color_set_argb(0xFF, 0xFF, 0x00, 0x00)); 50 sk_paint_set_antialias(stroke, true); 51 sk_paint_set_stroke(stroke, true); 52 sk_paint_set_stroke_width(stroke, 5.0f); 59 sk_canvas_draw_path(canvas, path, stroke); 70 sk_paint_delete(stroke);
|
/external/skia/include/device/xps/ |
H A D | SkXPSDevice.h | 238 BOOL stroke, BOOL fill, 243 BOOL stroke, BOOL fill, member in class:SkXPSDevice 266 BOOL stroke, BOOL fill, const SkPath& path); 300 BOOL* fill, BOOL* stroke);
|
/external/skia/gm/ |
H A D | shadertext2.cpp | 166 SkPaint stroke; local 167 stroke.setStyle(SkPaint::kStroke_Style);
|
H A D | skbug_257.cpp | 126 SkPaint stroke; local 127 stroke.setStyle(SkPaint::kStroke_Style); 128 stroke.setStrokeWidth(5); 129 stroke.setColor(SK_ColorCYAN); 130 canvas->drawCircle(size / 2, size / 2, size / 2 - 10, stroke); 131 canvas->drawCircle(3 * size / 2, size / 2, size / 2 - 10, stroke); 132 canvas->drawCircle(size / 2, 384, size / 2 - 10, stroke);
|
H A D | poly2poly.cpp | 30 void stroke(); 69 void SkJSCanvas::stroke() { function in class:SkJSCanvas 124 ctx.stroke(); 130 // TEST 2 - Includes an extra moveTo call before stroke; the rectangle appears larger 149 ctx.stroke(); 174 ctx.stroke();
|
H A D | image.cpp | 43 SkScalar stroke = size.fWidth / 10; local 44 SkScalar radius = (size.fWidth - stroke) / 2; 53 paint.setStrokeWidth(stroke);
|
H A D | multipicturedraw.cpp | 53 SkPaint stroke; local 54 stroke.setStyle(SkPaint::kStroke_Style); 55 stroke.setStrokeWidth(3); 74 canvas->drawPath(hex, stroke); 103 SkPaint stroke; local 104 stroke.setStyle(SkPaint::kStroke_Style); 105 stroke.setStrokeWidth(3); 128 canvas->drawPath(hex, stroke); 159 SkPaint stroke; local 160 stroke [all...] |
/external/skia/src/animator/ |
H A D | SkDrawPaint.h | 54 SkBool stroke; member in class:SkDrawPaint
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | vg_state.h | 68 } stroke; member in struct:vg_state
|
/external/skia/tests/ |
H A D | PaintTest.cpp | 174 SkPath path, stroke; local 191 paint.getFillPath(path, &stroke); 192 strokeR = stroke.getBounds(); 201 // test that our stroke didn't explode
|
/external/skia/src/svg/parser/ |
H A D | SkSVGParser.cpp | 128 bool stroke = false; local 134 stroke = walking->f_stroke.equals("none") == false; 145 return stroke && fill;
|
/external/skia/src/core/ |
H A D | SkRemote.cpp | 60 Stroke stroke = { local 66 return stroke; 522 void strokePath(ID path, CommonIDs common, ID stroke) override { 526 fStroke.find(stroke).applyTo(&paint); 535 void strokeText(ID text, SkPoint offset, CommonIDs common, ID stroke) override { 538 fStroke.find(stroke).applyTo(&paint); 700 void strokePath(ID path, CommonIDs common, ID stroke) override { 701 fWrapped->strokePath(path, common, stroke); 706 void strokeText(ID text, SkPoint offset, CommonIDs common, ID stroke) override { 707 fWrapped->strokeText(text, offset, common, stroke); [all...] |