/external/skia/src/gpu/ |
H A D | GrPath.cpp | 16 void GrPath::ComputeKey(const SkPath& path, const SkStrokeRec& stroke, GrUniqueKey* key) { argument 19 *reinterpret_cast<uint64_t*>(&builder[0]) = ComputeStrokeKey(stroke); 23 uint64_t GrPath::ComputeStrokeKey(const SkStrokeRec& stroke) { argument 44 if (!stroke.needToApply()) { 48 uint64_t key = stroke.getStyle(); 49 key |= stroke.getJoin() << kJoinShift; 50 key |= stroke.getCap() << kCapShift; 51 key |= get_top_n_float_bits<kWidthBits>(stroke.getWidth()) << kWidthShift; 52 key |= get_top_n_float_bits<kMiterBits>(stroke.getMiter()) << kMiterShift;
|
H A D | GrDashLinePathRenderer.cpp | 24 const GrStrokeInfo& stroke, 27 if (stroke.isDashed() && path.isLine(pts)) { 28 return GrDashingEffect::CanDrawDashLine(pts, stroke, viewMatrix); 38 const GrStrokeInfo& stroke, 43 viewMatrix, pts, useAA, stroke); 20 canDrawPath(const GrDrawTarget* target, const GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, bool antiAlias) const argument 33 onDrawPath(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, GrColor color, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, bool useAA) argument
|
H A D | GrPath.h | 21 * Initialize to a path with a fixed stroke. Stroke must not be hairline. 23 GrPath(GrGpu* gpu, const SkPath& skPath, const SkStrokeRec& stroke) argument 26 fStroke(stroke), 30 static void ComputeKey(const SkPath& path, const SkStrokeRec& stroke, GrUniqueKey* key); 33 bool isEqualTo(const SkPath& path, const SkStrokeRec& stroke) { argument 34 return fSkPath == path && fStroke.hasEqualEffect(stroke);
|
H A D | GrPathRenderer.h | 82 * @param stroke the stroke information (width, join, cap). 87 const GrStrokeInfo& stroke) const { 89 return this->onGetStencilSupport(target, pipelineBuilder, path, stroke); 101 * @param stroke The stroke information (width, join, cap) 120 * @param stroke the stroke information (width, join, cap) 128 const GrStrokeInfo& stroke, 131 SkASSERT(this->canDrawPath(target, ds, viewMatrix, path, stroke, antiAlia 123 drawPath(GrDrawTarget* target, GrPipelineBuilder* ds, GrColor color, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, bool antiAlias) argument 146 stencilPath(GrDrawTarget* target, GrPipelineBuilder* ds, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke) argument 158 IsStrokeHairlineOrEquivalent(const GrStrokeInfo& stroke, const SkMatrix& matrix, SkScalar* outCoverage) argument 199 onStencilPath(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke) argument [all...] |
H A D | GrStencilAndCoverPathRenderer.cpp | 60 const GrStrokeInfo& stroke, 62 return !stroke.getStrokeRec().isHairlineStyle() && 63 !stroke.isDashed() && 76 static GrPath* get_gr_path(GrGpu* gpu, const SkPath& skPath, const SkStrokeRec& stroke) { argument 79 GrPath::ComputeKey(skPath, stroke, &key); 82 if (NULL == path || !path->isEqualTo(skPath, stroke)) { 83 path.reset(gpu->pathRendering()->createPath(skPath, stroke)); 93 const GrStrokeInfo& stroke) { 96 SkAutoTUnref<GrPath> p(get_gr_path(fGpu, path, stroke.getStrokeRec())); 105 const GrStrokeInfo& stroke, 56 canDrawPath(const GrDrawTarget* target, const GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, bool antiAlias) const argument 89 onStencilPath(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke) argument 100 onDrawPath(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, GrColor color, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, bool antiAlias) argument [all...] |
H A D | GrOvalRenderer.h | 33 const SkStrokeRec& stroke); 40 const SkStrokeRec& stroke); 56 const SkStrokeRec& stroke); 63 const SkStrokeRec& stroke); 70 const SkStrokeRec& stroke);
|
H A D | GrPathRange.cpp | 17 const SkStrokeRec& stroke) 21 fStroke(stroke) { 29 const SkStrokeRec& stroke) 32 fStroke(stroke) { 15 GrPathRange(GrGpu* gpu, PathGenerator* pathGenerator, const SkStrokeRec& stroke) argument 27 GrPathRange(GrGpu* gpu, int numPaths, const SkStrokeRec& stroke) argument
|
H A D | GrPathRendererChain.cpp | 38 const GrStrokeInfo& stroke, 63 if (fChain[i]->canDrawPath(target, pipelineBuilder, viewMatrix, path, stroke, antiAlias)) { 66 fChain[i]->getStencilSupport(target, pipelineBuilder, path, stroke); 34 getPathRenderer(const GrDrawTarget* target, const GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, DrawType drawType, StencilSupport* stencilSupport) argument
|
H A D | GrPathRendering.cpp | 52 const SkStrokeRec& stroke) { 60 return this->createPathRange(generator, stroke); 68 // Don't bake stroke information into the glyphs, we'll let the GPU do the stroking. 78 return this->createPathRange(generator, stroke); 50 createGlyphs(const SkTypeface* typeface, const SkDescriptor* desc, const SkStrokeRec& stroke) argument
|
H A D | GrPathRange.h | 20 * Represents a contiguous range of GPU path objects, all with a common stroke. 61 GrPathRange(GrGpu*, PathGenerator*, const SkStrokeRec& stroke); 67 GrPathRange(GrGpu*, int numPaths, const SkStrokeRec& stroke);
|
H A D | GrDefaultPathRenderer.cpp | 159 static inline bool single_pass_path(const SkPath& path, const SkStrokeRec& stroke) { argument 163 if (!stroke.isHairlineStyle() && !path.isInverseFillType()) { 174 const GrStrokeInfo& stroke) const { 175 if (single_pass_path(path, stroke.getStrokeRec())) { 543 SkTCopyOnFirstWrite<GrStrokeInfo> stroke(origStroke); 547 if (IsStrokeHairlineOrEquivalent(*stroke, viewMatrix, &hairlineCoverage)) { 550 if (!stroke->getStrokeRec().isHairlineStyle()) { 551 stroke.writable()->getStrokeRecPtr()->setHairlineStyle(); 555 const bool isHairline = stroke->getStrokeRec().isHairlineStyle(); 578 if (single_pass_path(path, stroke 709 canDrawPath(const GrDrawTarget* target, const GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, bool antiAlias) const argument 721 onDrawPath(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, GrColor color, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke, bool antiAlias) argument 737 onStencilPath(GrDrawTarget* target, GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& path, const GrStrokeInfo& stroke) argument [all...] |
/external/chromium-trace/trace-viewer/tracing/tracing/ui/base/ |
H A D | line_chart.css | 8 stroke-width: 1.5px;
|
H A D | sunburst_chart.css | 15 stroke: black; 19 stroke: #fff;
|
H A D | pie_chart.css | 15 stroke: black;
|
/external/skia/experimental/AndroidPathRenderer/ |
H A D | GrAndroidPathRenderer.h | 17 const SkStrokeRec& stroke, 23 const SkStrokeRec& stroke,
|
H A D | GrAndroidPathRenderer.cpp | 17 const SkStrokeRec& stroke, 20 return ((stroke.isFillStyle() || stroke.getStyle() == SkStrokeRec::kStroke_Style) 30 const SkStrokeRec& stroke, 36 android::uirenderer::PathRenderer::ConvexPathVertices(origPath, stroke, antiAlias, NULL, 16 canDrawPath(const SkPath& path, const SkStrokeRec& stroke, const GrDrawTarget* target, bool antiAlias) const argument 29 onDrawPath(const SkPath& origPath, const SkStrokeRec& stroke, GrDrawTarget* target, bool antiAlias) argument
|
/external/skia/experimental/StrokePathRenderer/ |
H A D | GrStrokePathRenderer.h | 21 const SkStrokeRec& stroke, 27 const SkStrokeRec& stroke,
|
H A D | GrStrokePathRenderer.cpp | 57 const SkStrokeRec& stroke, 65 const bool requiresAACircle = (stroke.getCap() == SkPaint::kRound_Cap) || 66 (stroke.getJoin() == SkPaint::kRound_Join); 77 return ((stroke.getStyle() == SkStrokeRec::kStroke_Style) && (maxNbVerts < maxVBSize) && 83 const SkStrokeRec& stroke, 90 SkScalar width = stroke.getWidth(); 96 SkPaint::Join join = stroke.getJoin(); 97 SkScalar miterLimit = stroke.getMiter(); 272 switch (stroke.getCap()) {
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | vg_state.c | 54 state->stroke.line_width.f = 1.0f; 55 state->stroke.line_width.i = 1; 56 state->stroke.cap_style = VG_CAP_BUTT; 57 state->stroke.join_style = VG_JOIN_MITER; 58 state->stroke.miter_limit.f = 4.0f; 59 state->stroke.miter_limit.i = 4; 60 state->stroke.dash_pattern_num = 0; 61 state->stroke.dash_phase.f = 0.0f; 62 state->stroke.dash_phase.i = 0; 63 state->stroke [all...] |
H A D | arc.h | 72 struct stroker *stroke, 76 struct stroker *stroke,
|
H A D | api_params.c | 111 state->stroke.line_width.f = value; 112 state->stroke.line_width.i = float_to_int_floor(*((VGuint*)(&value))); 115 state->stroke.miter_limit.f = value; 116 state->stroke.miter_limit.i = float_to_int_floor(*((VGuint*)(&value))); 119 state->stroke.dash_phase.f = value; 120 state->stroke.dash_phase.i = float_to_int_floor(*((VGuint*)(&value))); 186 state->stroke.line_width.f = value; 187 state->stroke.line_width.i = value; 194 state->stroke.cap_style = value; 201 state->stroke [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLPathRange.cpp | 14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const SkStrokeRec& stroke) argument 15 : INHERITED(gpu, pathGenerator, stroke), 25 const SkStrokeRec& stroke) 26 : INHERITED(gpu, numPaths, stroke), 21 GrGLPathRange(GrGLGpu* gpu, GrGLuint basePathID, int numPaths, size_t gpuMemorySize, const SkStrokeRec& stroke) argument
|
H A D | GrGLPath.cpp | 94 const SkStrokeRec& stroke) { 171 if (stroke.needToApply()) { 172 SkASSERT(!stroke.isHairlineStyle()); 174 PathParameterf(pathID, GR_GL_PATH_STROKE_WIDTH, SkScalarToFloat(stroke.getWidth()))); 176 PathParameterf(pathID, GR_GL_PATH_MITER_LIMIT, SkScalarToFloat(stroke.getMiter()))); 177 GrGLenum join = join_to_gl_join(stroke.getJoin()); 179 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); 184 GrGLPath::GrGLPath(GrGLGpu* gpu, const SkPath& path, const SkStrokeRec& stroke) argument 185 : INHERITED(gpu, path, stroke), 188 InitPathObject(gpu, fPathID, fSkPath, stroke); 91 InitPathObject(GrGLGpu* gpu, GrGLuint pathID, const SkPath& skPath, const SkStrokeRec& stroke) argument [all...] |
H A D | GrGLPath.h | 30 GrGLPath(GrGLGpu* gpu, const SkPath& path, const SkStrokeRec& stroke);
|
H A D | GrGLPathRendering.cpp | 94 GrPath* GrGLPathRendering::createPath(const SkPath& inPath, const SkStrokeRec& stroke) { argument 95 return SkNEW_ARGS(GrGLPath, (fGpu, inPath, stroke)); 99 const SkStrokeRec& stroke) { 100 return SkNEW_ARGS(GrGLPathRange, (fGpu, pathGenerator, stroke)); 105 const SkStrokeRec& stroke) { 107 return GrPathRendering::createGlyphs(typeface, desc, stroke); 120 return GrPathRendering::createGlyphs(typeface, NULL, stroke); 134 SkAutoTUnref<GrGLPath> templatePath(SkNEW_ARGS(GrGLPath, (fGpu, SkPath(), stroke))); 144 return GrPathRendering::createGlyphs(typeface, NULL, stroke); 151 return SkNEW_ARGS(GrGLPathRange, (fGpu, basePathID, numPaths, gpuMemorySize, stroke)); 98 createPathRange(GrPathRange::PathGenerator* pathGenerator, const SkStrokeRec& stroke) argument 103 createGlyphs(const SkTypeface* typeface, const SkDescriptor* desc, const SkStrokeRec& stroke) argument 160 const SkStrokeRec& stroke = path->getStroke(); local 180 const SkStrokeRec& stroke = path->getStroke(); local 207 const SkStrokeRec& stroke = pathRange->getStroke(); local [all...] |