/external/skia/src/gpu/text/ |
D | GrAtlasTextContext.cpp | 25 const SkMatrix& viewMatrix, in canDraw() argument 28 return GrTextUtils::CanDrawAsDistanceFields(skPaint, viewMatrix, props, shaderCaps) || in canDraw() 29 !SkDraw::ShouldDrawTextAsPaths(skPaint, viewMatrix); in canDraw() 78 const SkMatrix& viewMatrix, in drawTextBlob() argument 123 if (cacheBlob->mustRegenerate(paint, blurRec, viewMatrix, x, y)) { in drawTextBlob() 131 viewMatrix, props, blob, x, y, drawFilter); in drawTextBlob() 143 viewMatrix, props, blob, x, y, drawFilter); in drawTextBlob() 154 *context->caps()->shaderCaps(), paint, scalerContextFlags, viewMatrix, in drawTextBlob() 159 clip, viewMatrix, clipBounds, x, y); in drawTextBlob() 166 uint32_t scalerContextFlags, const SkMatrix& viewMatrix, in RegenerateTextBlob() argument [all …]
|
D | GrAtlasTextBlob.cpp | 55 const SkMatrix* viewMatrix) { in setupCache() argument 62 skPaint.getScalerContextDescriptor(&effects, desc, props, scalerContextFlags, viewMatrix); in setupCache() 176 const SkMatrix& viewMatrix, SkScalar x, SkScalar y) { in mustRegenerate() argument 185 if (fInitialViewMatrix.hasPerspective() != viewMatrix.hasPerspective()) { in mustRegenerate() 189 if (fInitialViewMatrix.hasPerspective() && !fInitialViewMatrix.cheapEqualTo(viewMatrix)) { in mustRegenerate() 213 if (fInitialViewMatrix.cheapEqualTo(viewMatrix) && x == fInitialX && y == fInitialY) { in mustRegenerate() 220 if (fInitialViewMatrix.getScaleX() != viewMatrix.getScaleX() || in mustRegenerate() 221 fInitialViewMatrix.getScaleY() != viewMatrix.getScaleY() || in mustRegenerate() 222 fInitialViewMatrix.getSkewX() != viewMatrix.getSkewX() || in mustRegenerate() 223 fInitialViewMatrix.getSkewY() != viewMatrix.getSkewY()) { in mustRegenerate() [all …]
|
D | GrTextUtils.h | 67 bool toGrPaint(GrMaskFormat, GrRenderTargetContext*, const SkMatrix& viewMatrix, 114 const SkMatrix& viewMatrix, const char text[], size_t byteLength, 119 uint32_t scalerContextFlags, const SkMatrix& viewMatrix, 124 static bool CanDrawAsDistanceFields(const SkPaint& skPaint, const SkMatrix& viewMatrix, 129 const SkMatrix& viewMatrix, const char text[], size_t byteLength, 134 uint32_t scalerContextFlags, const SkMatrix& viewMatrix, 140 const SkPaint& paint, const SkMatrix& viewMatrix, const char text[], 146 const SkPaint& paint, const SkMatrix& viewMatrix, 160 const SkMatrix& viewMatrix); 170 SkScalar textRatio, const SkMatrix& viewMatrix);
|
D | GrAtlasTextBlob.h | 159 const SkMatrix* viewMatrix); 183 const SkMatrix& viewMatrix, SkScalar x, SkScalar y); 190 const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y); 196 const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, 200 const SkMatrix& viewMatrix, SkScalar x, SkScalar y) { in computeSubRunBounds() argument 213 viewMatrix.mapRect(outBounds); in computeSubRunBounds() 223 boundsMatrix.postConcat(viewMatrix); in computeSubRunBounds() 243 void initReusableBlob(SkColor luminanceColor, const SkMatrix& viewMatrix, SkScalar x, in initReusableBlob() argument 246 this->setupViewMatrix(viewMatrix, x, y); in initReusableBlob() 249 void initThrowawayBlob(const SkMatrix& viewMatrix, SkScalar x, SkScalar y) { in initThrowawayBlob() argument [all …]
|
D | GrTextUtils.cpp | 43 const SkMatrix& viewMatrix, GrPaint* grPaint) const { in toGrPaint() argument 49 return SkPaintToGrPaint(context, rtc, this->skPaint(), viewMatrix, grPaint); in toGrPaint() 97 uint32_t scalerContextFlags, const SkMatrix& viewMatrix, in DrawBmpText() argument 111 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix); in DrawBmpText() 114 {x, y}, viewMatrix, paint.skPaint().getTextAlign(), in DrawBmpText() 130 uint32_t scalerContextFlags, const SkMatrix& viewMatrix, in DrawBmpPosText() argument 146 SkGlyphCache* cache = blob->setupCache(runIndex, props, scalerContextFlags, paint, &viewMatrix); in DrawBmpPosText() 150 offset, viewMatrix, pos, scalarsPerPosition, in DrawBmpPosText() 198 bool GrTextUtils::CanDrawAsDistanceFields(const SkPaint& skPaint, const SkMatrix& viewMatrix, in CanDrawAsDistanceFields() argument 200 if (!viewMatrix.hasPerspective()) { in CanDrawAsDistanceFields() [all …]
|
D | GrAtlasTextContext.h | 33 bool canDraw(const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, 37 const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[], 40 const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[], 44 const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*, 60 const SkMatrix& viewMatrix, 70 const SkMatrix& viewMatrix, 78 const SkMatrix& viewMatrix,
|
/external/skia/src/gpu/ops/ |
D | GrAAFillRectOp.cpp | 22 static inline bool view_matrix_ok_for_aa_fill_rect(const SkMatrix& viewMatrix) { in view_matrix_ok_for_aa_fill_rect() argument 23 return viewMatrix.preservesRightAngles(); in view_matrix_ok_for_aa_fill_rect() 57 const SkMatrix& viewMatrix, in generate_aa_fill_rect_geometry() argument 67 if (viewMatrix.rectStaysRect()) { in generate_aa_fill_rect_geometry() 75 SkVector vec[2] = {{viewMatrix[SkMatrix::kMScaleX], viewMatrix[SkMatrix::kMSkewY]}, in generate_aa_fill_rect_geometry() 76 {viewMatrix[SkMatrix::kMSkewX], viewMatrix[SkMatrix::kMScaleY]}}; in generate_aa_fill_rect_geometry() 88 viewMatrix.mapPointsWithStride(fan0Pos, vertexStride, 4); in generate_aa_fill_rect_geometry() 113 if (!viewMatrix.invert(&invViewMatrix)) { in generate_aa_fill_rect_geometry() 171 const SkMatrix& viewMatrix, in Make() argument 176 SkASSERT(view_matrix_ok_for_aa_fill_rect(viewMatrix)); in Make() [all …]
|
D | GrNonAAFillRectOp.cpp | 38 static sk_sp<GrGeometryProcessor> make_perspective_gp(const SkMatrix& viewMatrix, in make_perspective_gp() argument 41 SkASSERT(viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective())); in make_perspective_gp() 49 if (viewMatrix.hasPerspective()) { in make_perspective_gp() 54 Coverage::kSolid_Type, localCoords, viewMatrix); in make_perspective_gp() 63 viewMatrix); in make_perspective_gp() 70 const SkMatrix* viewMatrix, in tesselate() argument 77 if (viewMatrix) { in tesselate() 78 SkMatrixPriv::MapPointsWithStride(*viewMatrix, positions, vertexStride, kVertsPerRect); in tesselate() 107 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkMatrix& viewMatrix, in Make() argument 112 return Helper::FactoryHelper<NonAAFillRectOp>(std::move(paint), viewMatrix, rect, localRect, in Make() [all …]
|
D | GrAAStrokeRectOp.cpp | 45 bool* isDegenerate, const SkMatrix& viewMatrix, const SkRect& rect, in compute_rects() argument 48 viewMatrix.mapRect(&devRect, rect); in compute_rects() 53 viewMatrix.mapVectors(&devStrokeSize, 1); in compute_rects() 97 const SkMatrix& viewMatrix, in create_stroke_rect_gp() argument 110 viewMatrix); in create_stroke_rect_gp() 122 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkMatrix& viewMatrix, in Make() argument 124 return Helper::FactoryHelper<AAStrokeRectOp>(std::move(paint), viewMatrix, devOutside, in Make() 128 AAStrokeRectOp(const Helper::MakeArgs& helperArgs, GrColor color, const SkMatrix& viewMatrix, in AAStrokeRectOp() argument 132 , fViewMatrix(viewMatrix) { in AAStrokeRectOp() 141 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkMatrix& viewMatrix, in Make() argument [all …]
|
D | GrStencilAndCoverPathRenderer.cpp | 87 const SkMatrix& viewMatrix = *args.fViewMatrix; in onDrawPath() local 100 if (!viewMatrix.hasPerspective() && viewMatrix.invert(&vmi)) { in onDrawPath() 104 SkScalar bloat = viewMatrix.getMaxScale() * SK_ScalarHalf; in onDrawPath() 107 if (!viewMatrix.invert(&invert)) { in onDrawPath() 111 const SkMatrix& viewM = viewMatrix.hasPerspective() ? SkMatrix::I() : viewMatrix; in onDrawPath() 114 args.fRenderTargetContext->priv().stencilPath(*args.fClip, args.fAAType, viewMatrix, in onDrawPath() 143 GrDrawPathOp::Make(viewMatrix, std::move(args.fPaint), args.fAAType, path.get()); in onDrawPath()
|
D | GrDefaultPathRenderer.cpp | 336 uint8_t coverage, const SkMatrix& viewMatrix, in Make() argument 340 viewMatrix, isHairline, aaType, devBounds, in Make() 358 SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, in DefaultPathOp() argument 365 , fViewMatrix(viewMatrix) in DefaultPathOp() 391 gp = GrDefaultGeoProcFactory::Make(color, coverage, localCoords, this->viewMatrix()); in onPrepareDraws() 437 if (!this->viewMatrix().cheapEqualTo(that->viewMatrix())) { in onCombineIfPossible() 452 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() function in __anonee0b1f2d0111::DefaultPathOp 477 const SkMatrix& viewMatrix, in internalDrawPath() argument 487 if (IsStrokeHairlineOrEquivalent(shape.style(), viewMatrix, &hairlineCoverage)) { in internalDrawPath() 563 SkScalar srcSpaceTol = GrPathUtils::scaleToleranceToSrc(tol, viewMatrix, path.getBounds()); in internalDrawPath() [all …]
|
D | GrMSAAPathRenderer.cpp | 116 static GrGeometryProcessor* Create(const SkMatrix& viewMatrix) { in Create() argument 117 return new MSAAQuadProcessor(viewMatrix); in Create() 127 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() function in __anon7c2c69ea0111::MSAAQuadProcessor 149 qp.viewMatrix(), &fViewMatrixUniform); in onEmitCode() 167 key |= qp.viewMatrix().hasPerspective() ? 0x1 : 0x0; in GenKey() 168 key |= qp.viewMatrix().isIdentity() ? 0x2: 0x0; in GenKey() 175 if (!qp.viewMatrix().isIdentity()) { in setData() 176 float viewMatrix[3 * 3]; in setData() local 177 GrGLSLGetMatrix<3>(viewMatrix, qp.viewMatrix()); in setData() 178 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() [all …]
|
D | GrOvalOpFactory.cpp | 383 DIEllipseGeometryProcessor(const SkMatrix& viewMatrix, DIEllipseStyle style) in DIEllipseGeometryProcessor() argument 384 : fViewMatrix(viewMatrix) { in DIEllipseGeometryProcessor() 501 float viewMatrix[3 * 3]; in setData() local 502 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix); in setData() 503 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 600 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkMatrix& viewMatrix, in Make() argument 603 SkASSERT(circle_stays_circle(viewMatrix)); in Make() 627 return Helper::FactoryHelper<CircleOp>(std::move(paint), viewMatrix, center, radius, style, in Make() 631 CircleOp(const Helper::MakeArgs& helperArgs, GrColor color, const SkMatrix& viewMatrix, in CircleOp() argument 637 viewMatrix.mapPoints(¢er, 1); in CircleOp() [all …]
|
D | GrRegionOp.cpp | 21 static sk_sp<GrGeometryProcessor> make_gp(const SkMatrix& viewMatrix) { in make_gp() argument 24 LocalCoords::kUsePosition_Type, viewMatrix); in make_gp() 60 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkMatrix& viewMatrix, in Make() argument 62 return Helper::FactoryHelper<RegionOp>(std::move(paint), viewMatrix, region, aaType); in Make() 65 RegionOp(const Helper::MakeArgs& helperArgs, GrColor color, const SkMatrix& viewMatrix, in RegionOp() argument 67 : INHERITED(ClassID()), fHelper(helperArgs, aaType), fViewMatrix(viewMatrix) { in RegionOp() 73 this->setTransformedBounds(bounds, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo); in RegionOp() 167 std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRegion& region, in Make() argument 172 return RegionOp::Make(std::move(paint), viewMatrix, region, aaType); in Make() 198 SkMatrix viewMatrix = GrTest::TestMatrix(random); in GR_DRAW_OP_TEST_DEFINE() local [all …]
|
D | GrAtlasTextOp.cpp | 82 if (this->usesLocalCoords() && !this->viewMatrix().invert(&localMatrix)) { in onPrepareDraws() 99 this->setupDfProcessor(this->viewMatrix(), in onPrepareDraws() 177 if (this->usesLocalCoords() && !this->viewMatrix().cheapEqualTo(that->viewMatrix())) { in onCombineIfPossible() 181 if (!this->viewMatrix().cheapEqualTo(that->viewMatrix())) { in onCombineIfPossible() 221 sk_sp<GrGeometryProcessor> GrAtlasTextOp::setupDfProcessor(const SkMatrix& viewMatrix, in setupDfProcessor() argument 228 uint32_t flags = viewMatrix.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in setupDfProcessor() 229 flags |= viewMatrix.isScaleTranslate() ? kScaleOnly_DistanceFieldEffectFlag : 0; in setupDfProcessor() 251 return GrDistanceFieldLCDTextGeoProc::Make(color, viewMatrix, std::move(proxy), params, in setupDfProcessor() 261 return GrDistanceFieldA8TextGeoProc::Make(color, viewMatrix, std::move(proxy), params, in setupDfProcessor() 265 viewMatrix, std::move(proxy), in setupDfProcessor()
|
/external/skia/src/gpu/effects/ |
D | GrBezierEffect.h | 61 const SkMatrix& viewMatrix, 73 new GrConicEffect(color, viewMatrix, coverage, kFillAA_GrProcessorEdgeType, 80 new GrConicEffect(color, viewMatrix, coverage, 85 new GrConicEffect(color, viewMatrix, coverage, kFillBW_GrProcessorEdgeType, 102 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() function 112 GrConicEffect(GrColor, const SkMatrix& viewMatrix, uint8_t coverage, GrPrimitiveEdgeType, 143 const SkMatrix& viewMatrix, 155 new GrQuadEffect(color, viewMatrix, coverage, kFillAA_GrProcessorEdgeType, 162 new GrQuadEffect(color, viewMatrix, coverage, 167 new GrQuadEffect(color, viewMatrix, coverage, kFillBW_GrProcessorEdgeType, [all …]
|
D | GrDistanceFieldGeoProc.h | 54 static sk_sp<GrGeometryProcessor> Make(GrColor color, const SkMatrix& viewMatrix, in Make() argument 59 new GrDistanceFieldA8TextGeoProc(color, viewMatrix, std::move(proxy), in Make() 63 static sk_sp<GrGeometryProcessor> Make(GrColor color, const SkMatrix& viewMatrix, 68 new GrDistanceFieldA8TextGeoProc(color, viewMatrix, std::move(proxy), 81 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() function 93 GrDistanceFieldA8TextGeoProc(GrColor, const SkMatrix& viewMatrix, 127 const SkMatrix& viewMatrix, sk_sp<GrTextureProxy> proxy, in Make() argument 131 new GrDistanceFieldPathGeoProc(color, viewMatrix, std::move(proxy), in Make() 143 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() function 152 GrDistanceFieldPathGeoProc(GrColor, const SkMatrix& viewMatrix, [all …]
|
D | GrBezierEffect.cpp | 32 if (!ce.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(ce.viewMatrix())) { in setData() 33 fViewMatrix = ce.viewMatrix(); in setData() 34 float viewMatrix[3 * 3]; in setData() local 35 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix); in setData() 36 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 93 gp.viewMatrix(), in onEmitCode() 224 key |= ComputePosKey(ce.viewMatrix()) << 5; in GenKey() 241 GrConicEffect::GrConicEffect(GrColor color, const SkMatrix& viewMatrix, uint8_t coverage, in GrConicEffect() argument 245 , fViewMatrix(viewMatrix) in GrConicEffect() 246 , fLocalMatrix(viewMatrix) in GrConicEffect() [all …]
|
D | GrDistanceFieldGeoProc.cpp | 61 dfTexEffect.viewMatrix(), in onEmitCode() 190 if (!dfa8gp.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(dfa8gp.viewMatrix())) { in setData() 191 fViewMatrix = dfa8gp.viewMatrix(); in setData() 192 float viewMatrix[3 * 3]; in setData() local 193 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix); in setData() 194 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() 204 key |= ComputePosKey(dfTexEffect.viewMatrix()) << 16; in GenKey() 230 const SkMatrix& viewMatrix, in GrDistanceFieldA8TextGeoProc() argument 239 , fViewMatrix(viewMatrix) in GrDistanceFieldA8TextGeoProc() 338 dfTexEffect.viewMatrix(), in onEmitCode() [all …]
|
/external/skia/src/gpu/ |
D | GrBlurUtils.cpp | 33 const SkMatrix& viewMatrix, in draw_mask() argument 38 if (!viewMatrix.invert(&inverse)) { in draw_mask() 44 matrix.preConcat(viewMatrix); in draw_mask() 56 const SkMatrix& viewMatrix, in sw_draw_with_mask_filter() argument 63 if (!SkDraw::DrawToMask(devPath, &clipBounds, filter, &viewMatrix, &srcM, in sw_draw_with_mask_filter() 69 if (!filter->filterMask(&dstM, srcM, viewMatrix, nullptr)) { in sw_draw_with_mask_filter() 100 return draw_mask(renderTargetContext, clipData, viewMatrix, in sw_draw_with_mask_filter() 146 const SkMatrix& viewMatrix, in draw_path_with_mask_filter() argument 162 SkScalar scale = GrStyle::MatrixToScaleFactor(viewMatrix); in draw_path_with_mask_filter() 176 if (!viewMatrix.isIdentity()) { in draw_path_with_mask_filter() [all …]
|
D | GrRenderTargetContext.cpp | 172 const SkMatrix& viewMatrix, const char text[], in drawText() argument 181 atlasTextContext->drawText(fContext, this, clip, skPaint, viewMatrix, fSurfaceProps, text, in drawText() 186 const SkMatrix& viewMatrix, const char text[], in drawPosText() argument 196 atlasTextContext->drawPosText(fContext, this, clip, paint, viewMatrix, fSurfaceProps, text, in drawPosText() 201 const SkMatrix& viewMatrix, const SkTextBlob* blob, in drawTextBlob() argument 210 atlasTextContext->drawTextBlob(fContext, this, clip, paint, viewMatrix, fSurfaceProps, blob, x, in drawTextBlob() 347 const SkMatrix& viewMatrix) { in drawPaint() argument 372 bool isPerspective = viewMatrix.hasPerspective(); in drawPaint() 378 if (!SkMatrixPriv::InverseMapRect(viewMatrix, &r, r)) { in drawPaint() 382 this->drawRect(clip, std::move(paint), GrAA::kNo, viewMatrix, r); in drawPaint() [all …]
|
D | GrRenderTargetContext.h | 63 virtual void drawText(const GrClip&, const SkPaint&, const SkMatrix& viewMatrix, 66 virtual void drawPosText(const GrClip&, const SkPaint&, const SkMatrix& viewMatrix, 71 const SkMatrix& viewMatrix, const SkTextBlob*, 93 void drawPaint(const GrClip&, GrPaint&&, const SkMatrix& viewMatrix); 107 const SkMatrix& viewMatrix, 123 const SkMatrix& viewMatrix, 133 const SkMatrix& viewMatrix, 149 const SkMatrix& viewMatrix, 164 const SkMatrix& viewMatrix, 181 const SkMatrix& viewMatrix, [all …]
|
D | SkGpuDevice_drawTexture.cpp | 94 const SkMatrix& viewMatrix, in drawTextureProducer() argument 141 LogDrawScaleFactor(SkMatrix::Concat(viewMatrix, srcToDstMatrix), paint.getFilterQuality()); in drawTextureProducer() 143 this->drawTextureProducerImpl(producer, clippedSrcRect, clippedDstRect, constraint, viewMatrix, in drawTextureProducer() 151 const SkMatrix& viewMatrix, in drawTextureProducerImpl() argument 167 GrSkFilterQualityToGrFilterMode(paint.getFilterQuality(), viewMatrix, srcToDstMatrix, in drawTextureProducerImpl() 187 combinedMatrix.setConcat(viewMatrix, srcToDstMatrix); in drawTextureProducerImpl() 212 if (!SkPaintToGrPaintWithTexture(fContext.get(), fRenderTargetContext.get(), paint, viewMatrix, in drawTextureProducerImpl() 218 fRenderTargetContext->fillRectToRect(clip, std::move(grPaint), aa, viewMatrix, in drawTextureProducerImpl() 224 fRenderTargetContext->drawRect(clip, std::move(grPaint), aa, viewMatrix, clippedDstRect); in drawTextureProducerImpl() 229 if (viewMatrix.isScaleTranslate()) { in drawTextureProducerImpl() [all …]
|
D | GrDefaultGeoProcFactory.cpp | 39 const SkMatrix& viewMatrix, in Make() argument 44 gpTypeFlags, color, std::move(colorSpaceXform), viewMatrix, localMatrix, coverage, in Make() 56 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() function in DefaultGeoProc 139 gp.viewMatrix(), in onEmitCode() 187 key |= ComputePosKey(def.viewMatrix()) << 20; in GenKey() 199 if (!dgp.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(dgp.viewMatrix())) { in setData() 200 fViewMatrix = dgp.viewMatrix(); in setData() 201 float viewMatrix[3 * 3]; in setData() local 202 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix); in setData() 203 pdman.setMatrix3f(fViewMatrixUniform, viewMatrix); in setData() [all …]
|
/external/skia/src/gpu/instanced/ |
D | InstancedOp.cpp | 261 const SkMatrix& viewMatrix, in recordRect() argument 264 return this->recordShape(ShapeType::kRect, rect, viewMatrix, std::move(paint), rect, aa, info); in recordRect() 268 const SkMatrix& viewMatrix, in recordRect() argument 272 return this->recordShape(ShapeType::kRect, rect, viewMatrix, std::move(paint), localRect, aa, in recordRect() 277 const SkMatrix& viewMatrix, in recordRect() argument 284 if (std::unique_ptr<InstancedOp> op = this->recordShape(ShapeType::kRect, rect, viewMatrix, in recordRect() 298 const SkMatrix& viewMatrix, in recordOval() argument 301 return this->recordShape(ShapeType::kOval, oval, viewMatrix, std::move(paint), oval, aa, info); in recordOval() 305 const SkMatrix& viewMatrix, in recordRRect() argument 309 this->recordShape(GetRRectShapeType(rrect), rrect.rect(), viewMatrix, in recordRRect() [all …]
|