/external/skia/src/gpu/batches/ |
GrRectBatchFactory.h | 28 const SkMatrix& viewMatrix, 32 if (viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective())) { 33 return GrNonAAFillRectBatch::CreateWithPerspective(color, viewMatrix, rect, localRect, 36 return GrNonAAFillRectBatch::Create(color, viewMatrix, rect, localRect, localMatrix); 41 const SkMatrix& viewMatrix, 44 return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect); 48 const SkMatrix& viewMatrix, 52 return GrAAFillRectBatch::Create(color, viewMatrix, localMatrix, rect, devRect); 56 const SkMatrix& viewMatrix, 60 return GrNonAAStrokeRectBatch::Create(color, viewMatrix, rect, strokeWidth, snapToPixelCenters) [all...] |
GrRectBatchFactory.cpp | 17 const SkMatrix& viewMatrix, 19 SkASSERT(viewMatrix.rectStaysRect()); 23 viewMatrix.mapRect(&devOutside, rects[0]); 24 viewMatrix.mapRect(&devInside, rects[1]); 26 return GrAAStrokeRectBatch::Create(color, viewMatrix, devOutside, devOutside, devInside, true,
|
GrAAFillRectBatch.h | 20 const SkMatrix& viewMatrix, 25 const SkMatrix& viewMatrix, 30 const SkMatrix& viewMatrix, 36 const SkMatrix& viewMatrix, 42 const SkMatrix& viewMatrix, 48 const SkMatrix& viewMatrix,
|
GrAAStrokeRectBatch.h | 23 const SkMatrix& viewMatrix, 31 const SkMatrix& viewMatrix, 37 const SkMatrix& viewMatrix,
|
GrNonAAFillRectBatch.h | 20 const SkMatrix& viewMatrix, 26 const SkMatrix& viewMatrix, 32 const SkMatrix& viewMatrix,
|
GrNonAAStrokeRectBatch.h | 22 const SkMatrix& viewMatrix, 28 const SkMatrix& viewMatrix,
|
GrAAFillRectBatch.cpp | 48 const SkMatrix& viewMatrix, 65 // We assume the caller has inverted the viewmatrix 72 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix); 79 const SkMatrix& viewMatrix, 90 if (viewMatrix.rectStaysRect()) { 96 { viewMatrix[SkMatrix::kMScaleX], viewMatrix[SkMatrix::kMSkewY] }, 97 { viewMatrix[SkMatrix::kMSkewX], viewMatrix[SkMatrix::kMScaleY] } 108 viewMatrix.mapPointsWithStride(fan0Pos, vertexStride, 4) [all...] |
GrDrawAtlasBatch.h | 24 static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix, 27 return new GrDrawAtlasBatch(geometry, viewMatrix, spriteCount, xforms, rects, colors); 51 GrDrawAtlasBatch(const Geometry& geometry, const SkMatrix& viewMatrix, int spriteCount, 56 const SkMatrix& viewMatrix() const { return fViewMatrix; }
|
GrStencilPathBatch.h | 22 static GrBatch* Create(const SkMatrix& viewMatrix, 28 return new GrStencilPathBatch(viewMatrix, useHWAA, stencil, scissor, renderTarget, path); 43 GrStencilPathBatch(const SkMatrix& viewMatrix, 50 , fViewMatrix(viewMatrix)
|
GrNonAAFillRectBatch.cpp | 54 static const GrGeometryProcessor* create_gp(const SkMatrix& viewMatrix, 62 // If we have perspective on the viewMatrix then we won't map on the CPU, nor will we map 66 if (viewMatrix.hasPerspective()) { 70 return GrDefaultGeoProcFactory::Create(color, coverage, localCoords, viewMatrix); 77 viewMatrix); 84 const SkMatrix& viewMatrix, 92 if (!viewMatrix.hasPerspective()) { 93 viewMatrix.mapPointsWithStride(positions, vertexStride, 157 // We handle perspective in the local matrix or viewmatrix with special batches 217 const SkMatrix& viewMatrix, const SkRect& rect [all...] |
GrStencilAndCoverPathRenderer.cpp | 80 const SkMatrix& viewMatrix = *args.fViewMatrix; 106 args.fTarget->stencilPath(*pipelineBuilder, viewMatrix, p, p->getFillType()); 114 if (!viewMatrix.hasPerspective() && viewMatrix.invert(&vmi)) { 118 SkScalar bloat = viewMatrix.getMaxScale() * SK_ScalarHalf; 121 if (!viewMatrix.invert(&invert)) { 125 const SkMatrix& viewM = viewMatrix.hasPerspective() ? SkMatrix::I() : viewMatrix; 145 GrDrawPathBatch::Create(viewMatrix, args.fColor, p->getFillType(), p));
|
GrNinePatch.h | 20 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight,
|
/external/skia/src/gpu/ |
GrOvalRenderer.h | 26 const SkMatrix& viewMatrix, 31 const SkMatrix& viewMatrix, 40 const SkMatrix& viewMatrix, 44 const SkMatrix& viewMatrix, 48 const SkMatrix& viewMatrix,
|
GrPathRenderingDrawContext.cpp | 20 const SkMatrix& viewMatrix, const char text[], 33 skPaint, viewMatrix, this->surfaceProps(), 39 const SkMatrix& viewMatrix, const char text[], 53 grPaint, skPaint, viewMatrix, this->surfaceProps(), 59 const SkMatrix& viewMatrix, const SkTextBlob* blob, 72 skPaint, viewMatrix, this->surfaceProps(), blob, x,
|
GrPathProcessor.h | 21 const SkMatrix& viewMatrix = SkMatrix::I(), 23 return new GrPathProcessor(color, overrides, viewMatrix, localMatrix); 29 const SkMatrix& viewMatrix() const { return fViewMatrix; } 47 const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
|
GrDrawContext.cpp | 110 const SkMatrix& viewMatrix, 122 fAtlasTextContext->drawText(fContext, this, clip, grPaint, skPaint, viewMatrix, fSurfaceProps, 128 const SkMatrix& viewMatrix, 141 fAtlasTextContext->drawPosText(fContext, this, clip, grPaint, skPaint, viewMatrix, 148 const SkMatrix& viewMatrix, const SkTextBlob* blob, 160 fAtlasTextContext->drawTextBlob(fContext, this, clip, skPaint, viewMatrix, fSurfaceProps, blob, 189 const SkMatrix& viewMatrix) { 208 bool isPerspective = viewMatrix.hasPerspective(); 215 if (!viewMatrix.invert(&inverse)) { 220 this->drawRect(clip, *paint, viewMatrix, r) [all...] |
GrDefaultGeoProcFactory.cpp | 35 const SkMatrix& viewMatrix, 40 return new DefaultGeoProc(gpTypeFlags, color, viewMatrix, localMatrix, coverage, 53 const SkMatrix& viewMatrix() const { return fViewMatrix; } 90 gp.viewMatrix(), 154 key |= ComputePosKey(def.viewMatrix()) << 25; 162 if (!dgp.viewMatrix().isIdentity() && !fViewMatrix.cheapEqualTo(dgp.viewMatrix())) { 163 fViewMatrix = dgp.viewMatrix(); 164 float viewMatrix[3 * 3]; 165 GrGLSLGetMatrix<3>(viewMatrix, fViewMatrix) [all...] |
GrPathRenderingDrawContext.h | 18 const SkMatrix& viewMatrix, const char text[], size_t byteLength, 21 const SkMatrix& viewMatrix, const char text[], size_t byteLength, 25 const SkMatrix& viewMatrix, const SkTextBlob*,
|
/external/skia/src/gpu/text/ |
GrTextUtils.h | 41 GrColor, const SkMatrix& viewMatrix, 47 GrColor, const SkMatrix& viewMatrix, 53 static bool CanDrawAsDistanceFields(const SkPaint& skPaint, const SkMatrix& viewMatrix, 59 const SkMatrix& viewMatrix, 65 GrColor color, const SkMatrix& viewMatrix, 72 const SkPaint& origPaint, const SkMatrix& viewMatrix, 80 const SkPaint& origPaint, const SkMatrix& viewMatrix, 94 const SkMatrix& viewMatrix); 104 SkScalar textRatio, const SkMatrix& viewMatrix);
|
GrAtlasTextContext.cpp | 28 const SkMatrix& viewMatrix, 31 return GrTextUtils::CanDrawAsDistanceFields(skPaint, viewMatrix, props, shaderCaps) || 32 !SkDraw::ShouldDrawTextAsPaths(skPaint, viewMatrix); 71 const SkMatrix& viewMatrix, 115 if (!SkPaintToGrPaint(context, skPaint, viewMatrix, &grPaint)) { 120 if (cacheBlob->mustRegenerate(skPaint, grPaint.getColor(), blurRec, viewMatrix, x, y)) { 128 viewMatrix, props, 141 grPaint.getColor(), viewMatrix, props, 154 viewMatrix, props, 159 grPaint, drawFilter, clip, viewMatrix, clipBounds, x, y) [all...] |
GrAtlasTextContext.h | 34 bool canDraw(const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, 37 const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[], 41 const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, 46 const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*, 59 const SkMatrix& viewMatrix, 68 const SkPaint&, const SkMatrix& viewMatrix, 75 const SkPaint&, const SkMatrix& viewMatrix,
|
/external/skia/src/gpu/effects/ |
GrDashingEffect.h | 24 const SkMatrix& viewMatrix, const SkPoint pts[2], bool useAA, 27 const SkMatrix& viewMatrix);
|
GrDistanceFieldGeoProc.h | 48 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, 51 return new GrDistanceFieldA8TextGeoProc(color, viewMatrix, tex, params, lum, flags, 55 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, 58 return new GrDistanceFieldA8TextGeoProc(color, viewMatrix, tex, params, flags, 72 const SkMatrix& viewMatrix() const { return fViewMatrix; } 84 GrDistanceFieldA8TextGeoProc(GrColor, const SkMatrix& viewMatrix, 117 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, GrTexture* tex, 120 return new GrDistanceFieldPathGeoProc(color, viewMatrix, tex, params, flags, 133 const SkMatrix& viewMatrix() const { return fViewMatrix; } 142 GrDistanceFieldPathGeoProc(GrColor, const SkMatrix& viewMatrix, GrTexture* texture [all...] |
GrBezierEffect.h | 62 const SkMatrix& viewMatrix, 73 return new GrConicEffect(color, viewMatrix, coverage, kFillAA_GrProcessorEdgeType, 79 return new GrConicEffect(color, viewMatrix, coverage, 83 return new GrConicEffect(color, viewMatrix, coverage, kFillBW_GrProcessorEdgeType, 101 const SkMatrix& viewMatrix() const { return fViewMatrix; } 111 GrConicEffect(GrColor, const SkMatrix& viewMatrix, uint8_t coverage, GrPrimitiveEdgeType, 142 const SkMatrix& viewMatrix, 153 return new GrQuadEffect(color, viewMatrix, coverage, kFillAA_GrProcessorEdgeType, 159 return new GrQuadEffect(color, viewMatrix, coverage, 163 return new GrQuadEffect(color, viewMatrix, coverage, kFillBW_GrProcessorEdgeType [all...] |
/external/skia/include/gpu/ |
GrDrawContext.h | 56 const SkMatrix& viewMatrix, const char text[], size_t byteLength, 59 const SkMatrix& viewMatrix, const char text[], size_t byteLength, 63 const SkMatrix& viewMatrix, const SkTextBlob*, 85 void drawPaint(const GrClip&, const GrPaint&, const SkMatrix& viewMatrix); 90 * @param viewMatrix transformation matrix 101 const SkMatrix& viewMatrix, 109 * @param viewMatrix transformation matrix which applies to rectToDraw 115 const SkMatrix& viewMatrix, 124 const SkMatrix& viewMatrix, 132 * @param viewMatrix transformation matri [all...] |