/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 145 const SkMatrix& initialMatrix, const SkMatrix& drawMatrix) { in check_integer_translate() argument 146 if (initialMatrix.getScaleX() != drawMatrix.getScaleX() || in check_integer_translate() 147 initialMatrix.getScaleY() != drawMatrix.getScaleY() || in check_integer_translate() 148 initialMatrix.getSkewX() != drawMatrix.getSkewX() || in check_integer_translate() 149 initialMatrix.getSkewY() != drawMatrix.getSkewY()) { in check_integer_translate() 157 SkVector translation = drawMatrix.mapXY(0, 0) - initialMatrix.mapXY(0, 0); in check_integer_translate() 179 bool canReuse(const SkPaint& paint, const SkMatrix& drawMatrix) const override; 267 bool PathSubRun::canReuse(const SkPaint& paint, const SkMatrix& drawMatrix) const { in canReuse() 456 bool canReuse(const SkPaint& paint, const SkMatrix& drawMatrix) const override; 460 size_t vertexStride(const SkMatrix& drawMatrix) const override; [all …]
|
D | GrTextBlob.h | 62 virtual size_t vertexStride(const SkMatrix& drawMatrix) const = 0; 110 virtual bool canReuse(const SkPaint& paint, const SkMatrix& drawMatrix) const = 0; 180 const SkMatrix& drawMatrix, 208 const SkMatrix& drawMatrix, 230 bool canReuse(const SkPaint& paint, const SkMatrix& drawMatrix) const; 240 GrTextBlob(int allocSize, const SkMatrix& drawMatrix, SkColor initialLuminance);
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | EglRenderer.java | 137 private final Matrix drawMatrix = new Matrix(); field in EglRenderer 654 drawMatrix.reset(); in renderFrameOnRenderThread() 655 drawMatrix.preTranslate(0.5f, 0.5f); in renderFrameOnRenderThread() 656 drawMatrix.preScale(mirrorHorizontally ? -1f : 1f, mirrorVertically ? -1f : 1f); in renderFrameOnRenderThread() 657 drawMatrix.preScale(scaleX, scaleY); in renderFrameOnRenderThread() 658 drawMatrix.preTranslate(-0.5f, -0.5f); in renderFrameOnRenderThread() 664 frameDrawer.drawFrame(frame, drawer, drawMatrix, 0 /* viewportX */, 0 /* viewportY */, in renderFrameOnRenderThread() 704 drawMatrix.reset(); in notifyCallbacks() 705 drawMatrix.preTranslate(0.5f, 0.5f); in notifyCallbacks() 706 drawMatrix.preScale(mirrorHorizontally ? -1f : 1f, mirrorVertically ? -1f : 1f); in notifyCallbacks() [all …]
|
/external/skia/bench/ |
D | SKPAnimationBench.cpp | 52 SkMatrix* drawMatrix) override { in preConcatFrameMatrix() argument 59 drawMatrix->preTranslate(center.fX, center.fY); in preConcatFrameMatrix() 60 drawMatrix->preScale(zoom, zoom); in preConcatFrameMatrix() 61 drawMatrix->preTranslate(-center.fX, -center.fY); in preConcatFrameMatrix()
|
D | GlyphQuadFillBench.cpp | 51 SkMatrix drawMatrix = view; in onPerCanvasPreDraw() local 53 drawMatrix.preTranslate(drawOrigin.x(), drawOrigin.y()); in onPerCanvasPreDraw() 55 fBlob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &painter); in onPerCanvasPreDraw() 61 fVertices.reset(new char[subRun->vertexStride(drawMatrix) * subRun->glyphCount() * 4]); in onPerCanvasPreDraw()
|
D | SKPAnimationBench.h | 25 SkMatrix* drawMatrix) = 0;
|
/external/skqp/bench/ |
D | SKPAnimationBench.cpp | 56 SkMatrix* drawMatrix) { in preConcatFrameMatrix() argument 63 drawMatrix->preTranslate(center.fX, center.fY); in preConcatFrameMatrix() 64 drawMatrix->preScale(zoom, zoom); in preConcatFrameMatrix() 65 drawMatrix->preTranslate(-center.fX, -center.fY); in preConcatFrameMatrix()
|
D | SKPAnimationBench.h | 24 SkMatrix* drawMatrix) = 0;
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 423 SkMatrix drawMatrix; in addDFPathToAtlas() local 424 drawMatrix.setScale(scale, scale); in addDFPathToAtlas() 425 drawMatrix.postTranslate(translateX, translateY); in addDFPathToAtlas() 443 path, drawMatrix, width, height, in addDFPathToAtlas() 463 SkSimpleMatrixProvider matrixProvider(drawMatrix); in addDFPathToAtlas() 493 SkMatrix drawMatrix(ctm); in addBMPathToAtlas() local 498 drawMatrix.set(SkMatrix::kMTransX, tx); in addBMPathToAtlas() 499 drawMatrix.set(SkMatrix::kMTransY, ty); in addBMPathToAtlas() 501 drawMatrix.mapRect(&shapeDevBounds, bounds); in addBMPathToAtlas() 539 drawMatrix.postTranslate(translateX, translateY); in addBMPathToAtlas() [all …]
|
D | GrAtlasTextOp.h | 48 const SkMatrix& drawMatrix, in Geometry() 57 , fDrawMatrix{drawMatrix} 66 const SkMatrix& drawMatrix,
|
D | GrAtlasTextOp.cpp | 111 const SkMatrix& drawMatrix, in MakeForBlob() argument 121 drawMatrix, in MakeForBlob() 498 SkMatrix drawMatrix(mtxProvider.localToDevice()); in CreateOpTestingOnly() local 499 drawMatrix.preTranslate(x, y); in CreateOpTestingOnly() 512 sk_sp<GrTextBlob> blob = GrTextBlob::Make(glyphRunList, skPaint, drawMatrix, control, painter); in CreateOpTestingOnly()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 553 SkMatrix drawMatrix; in addDFPathToAtlas() local 554 drawMatrix.setScale(scale, scale); in addDFPathToAtlas() 555 drawMatrix.postTranslate(translateX, translateY); in addDFPathToAtlas() 574 path, drawMatrix, in addDFPathToAtlas() 596 draw.fMatrix = &drawMatrix; in addDFPathToAtlas() 656 SkMatrix drawMatrix(ctm); in addBMPathToAtlas() local 661 drawMatrix.set(SkMatrix::kMTransX, tx); in addBMPathToAtlas() 662 drawMatrix.set(SkMatrix::kMTransY, ty); in addBMPathToAtlas() 664 drawMatrix.mapRect(&shapeDevBounds, bounds); in addBMPathToAtlas() 705 drawMatrix.postTranslate(translateX, translateY); in addBMPathToAtlas() [all …]
|
/external/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 229 const SkMatrix& drawMatrix, in processGlyphRun() argument 246 GrSDFTControl::DrawingType drawingType = control.drawingType(runFont, runPaint, drawMatrix); in processGlyphRun() 251 SkStrikeSpec::MakeSDFT(runFont, runPaint, fDeviceProps, drawMatrix, control); in processGlyphRun() 280 runFont, runPaint, fDeviceProps, fScalerContextFlags, drawMatrix); in processGlyphRun() 288 fDrawable.startGPUDevice(fRejects.source(), drawMatrix, strike->roundingSpec()); in processGlyphRun()
|
D | SkGlyphBuffer.cpp | 73 const SkMatrix& drawMatrix, in startGPUDevice() argument 80 SkMatrix device = drawMatrix; in startGPUDevice()
|
D | SkGlyphRunPainter.h | 89 const SkMatrix& drawMatrix,
|
D | SkGlyphBuffer.h | 172 const SkMatrix& drawMatrix,
|
D | SkRemoteGlyphCache.cpp | 841 SkMatrix drawMatrix = this->localToDevice(); in onDrawGlyphRunList() local 842 drawMatrix.preTranslate(glyphRunList.origin().x(), glyphRunList.origin().y()); in onDrawGlyphRunList() 845 drawMatrix, in onDrawGlyphRunList()
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.cpp | 361 SkMatrix drawMatrix = viewMatrix.localToDevice(); in drawGlyphRunListNoCache() local 362 drawMatrix.preTranslate(drawOrigin.x(), drawOrigin.y()); in drawGlyphRunListNoCache() 370 drawMatrix, in drawGlyphRunListNoCache() 381 SkMatrix drawMatrix(viewMatrix.localToDevice()); in drawGlyphRunListWithCache() local 382 drawMatrix.preTranslate(glyphRunList.origin().x(), glyphRunList.origin().y()); in drawGlyphRunListWithCache() 392 drawMatrix, in drawGlyphRunListWithCache() 401 if (blob == nullptr || !blob->canReuse(paint, drawMatrix)) { in drawGlyphRunListWithCache() 409 blob = GrTextBlob::Make(glyphRunList, paint, drawMatrix, control, &fGlyphPainter); in drawGlyphRunListWithCache()
|
D | GrDistanceFieldGenFromVector.cpp | 711 const SkPath& path, const SkMatrix& drawMatrix, in GrGenerateDistanceFieldFromPath() argument 717 SkMatrix dfMatrix(drawMatrix); in GrGenerateDistanceFieldFromPath()
|
/external/skqp/src/gpu/ |
D | GrDistanceFieldGenFromVector.cpp | 741 const SkPath& path, const SkMatrix& drawMatrix, in GrGenerateDistanceFieldFromPath() argument 747 path.transform(drawMatrix, &xformPath); in GrGenerateDistanceFieldFromPath() 770 workingPath.transform(drawMatrix); in GrGenerateDistanceFieldFromPath()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 1105 SkMatrix drawMatrix = ToSkMatrix(m_drawMatrix); in MatrixOffset() local 1106 if (!(drawMatrix.getType() & ~SkMatrix::kTranslate_Mask)) in MatrixOffset() 1109 if (!drawMatrix.invert(&invDrawMatrix)) in MatrixOffset()
|