Searched refs:SkMatrix (Results 151 - 175 of 491) sorted by relevance

1234567891011>>

/external/skia/src/image/
H A DSkImage_Gpu.h43 const SkMatrix* localMatrix) const override;
/external/skia/src/utils/
H A DSkCanvasStack.h33 void didSetMatrix(const SkMatrix&) override;
H A DSkMatrix22.cpp8 #include "SkMatrix.h"
13 void SkComputeGivensRotation(const SkVector& h, SkMatrix* G) {
H A DSkLayer.cpp77 void SkLayer::setMatrix(const SkMatrix& matrix) {
81 void SkLayer::setChildrenMatrix(const SkMatrix& matrix) {
141 void SkLayer::getLocalTransform(SkMatrix* matrix) const {
151 void SkLayer::localToGlobal(SkMatrix* matrix) const {
163 SkMatrix tmp;
198 SkMatrix tmp;
H A DSkMatrix44.cpp922 static void initFromMatrix(SkMScalar dst[4][4], const SkMatrix& src) {
923 dst[0][0] = SkScalarToMScalar(src[SkMatrix::kMScaleX]);
924 dst[1][0] = SkScalarToMScalar(src[SkMatrix::kMSkewX]);
926 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]);
927 dst[0][1] = SkScalarToMScalar(src[SkMatrix::kMSkewY]);
928 dst[1][1] = SkScalarToMScalar(src[SkMatrix::kMScaleY]);
930 dst[3][1] = SkScalarToMScalar(src[SkMatrix::kMTransY]);
935 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]);
936 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]);
938 dst[3][3] = SkScalarToMScalar(src[SkMatrix
[all...]
/external/skia/src/utils/android/
H A DSkAndroidSDKCanvas.h66 const SkMatrix* matrix, const SkPaint& paint) override;
77 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*);
94 void didConcat(const SkMatrix&) override;
95 void didSetMatrix(const SkMatrix&) override;
/external/skia/tests/
H A DRecordReplaceDrawTest.cpp53 GrRecordReplaceDraw(pic, &canvas, NULL, SkMatrix::I(), &callback);
86 GrRecordReplaceDraw(pic, &canvas, NULL, SkMatrix::I(), NULL/*callback*/);
118 SkMatrix::I(), key, 1, &paint);
135 GrRecordReplaceDraw(pic, &canvas, layerCache, SkMatrix::I(), NULL/*callback*/);
/external/skia/src/core/
H A DSkMaskFilter.cpp33 bool SkMaskFilter::filterMask(SkMask*, const SkMask&, const SkMatrix&, argument
217 bool SkMaskFilter::filterRRect(const SkRRect& devRRect, const SkMatrix& matrix,
235 bool SkMaskFilter::filterPath(const SkPath& devPath, const SkMatrix& matrix,
295 SkMaskFilter::filterRRectToNine(const SkRRect&, const SkMatrix&, argument
301 SkMaskFilter::filterRectsToNine(const SkRect[], int count, const SkMatrix&, argument
307 bool SkMaskFilter::asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix&) const {
313 const SkMatrix& ctm,
322 const SkMatrix& viewMatrix,
333 const SkMatrix& viewMatrix,
340 const SkMatrix
[all...]
H A DSkDrawProcs.h62 bool SkDrawTreatAAStrokeAsHairline(SkScalar strokeWidth, const SkMatrix&,
71 inline bool SkDrawTreatAsHairline(const SkPaint& paint, const SkMatrix& matrix,
H A DSkPictureRecord.h125 void addMatrix(const SkMatrix& matrix);
158 void didConcat(const SkMatrix&) override;
159 void didSetMatrix(const SkMatrix&) override;
170 const SkMatrix* matrix, const SkPaint&) override;
204 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) override;
211 void recordConcat(const SkMatrix& matrix);
212 void recordTranslate(const SkMatrix& matrix);
213 void recordScale(const SkMatrix& matrix);
/external/skia/src/gpu/gl/
H A DGrGLPathRendering.cpp235 const SkMatrix& matrix) {
240 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]);
241 coefficients[1] = SkScalarToFloat(matrix[SkMatrix::kMSkewX]);
242 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]);
245 coefficients[3] = SkScalarToFloat(matrix[SkMatrix::kMSkewY]);
246 coefficients[4] = SkScalarToFloat(matrix[SkMatrix::kMScaleY]);
247 coefficients[5] = SkScalarToFloat(matrix[SkMatrix::kMTransY]);
251 coefficients[6] = SkScalarToFloat(matrix[SkMatrix::kMPersp0]);
252 coefficients[7] = SkScalarToFloat(matrix[SkMatrix::kMPersp1]);
253 coefficients[8] = SkScalarToFloat(matrix[SkMatrix
[all...]
H A DGrGLProgramDataManager.h18 class SkMatrix;
92 // convenience method for uploading a SkMatrix to a 3x3 matrix uniform
93 void setSkMatrix(UniformHandle, const SkMatrix&) const;
/external/skia/src/gpu/
H A DGrOvalRenderer.cpp53 inline bool circle_stays_circle(const SkMatrix& m) {
74 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix) {
81 const SkMatrix& localMatrix() const { return fLocalMatrix; }
184 CircleEdgeEffect(GrColor color, bool stroke, const SkMatrix& localMatrix)
202 SkMatrix fLocalMatrix;
235 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix) {
247 const SkMatrix& localMatrix() const { return fLocalMatrix; }
370 EllipseEdgeEffect(GrColor color, bool stroke, const SkMatrix& localMatrix)
392 SkMatrix fLocalMatrix;
426 static GrGeometryProcessor* Create(GrColor color, const SkMatrix
[all...]
H A DGrPathProcessor.cpp14 const SkMatrix& viewMatrix,
15 const SkMatrix& localMatrix)
H A DGrDefaultPathRenderer.cpp222 static GrBatch* Create(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix,
258 SkMatrix::I(),
384 DefaultPathBatch(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix,
519 const SkMatrix& viewMatrix() const { return fBatch.fViewMatrix; }
525 SkMatrix fViewMatrix;
539 const SkMatrix& viewMatrix,
670 SkMatrix localMatrix = SkMatrix::I();
675 SkMatrix vmi;
687 const SkMatrix
[all...]
/external/skia/debugger/
H A DSkDebugger.h67 void setUserMatrix(SkMatrix userMatrix) {
80 const SkMatrix& getCurrentMatrix() {
/external/skia/gm/
H A Dbmpfilterqualityrepeat.cpp56 SkMatrix lm = SkMatrix::I();
H A Dcircles.cpp13 #include "SkMatrix.h"
125 SkMatrix m;
131 SkMatrix m;
137 SkMatrix m;
143 SkMatrix m;
149 SkMatrix m;
211 SkTArray<SkMatrix> fMatrices;
/external/skia/include/effects/
H A DSkMatrixConvolutionImageFilter.h82 bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) const override;
86 virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix&,
/external/skia/include/utils/
H A DSkLua.h20 class SkMatrix;
58 void pushMatrix(const SkMatrix&, const char tableKey[] = NULL);
/external/skia/samplecode/
H A DSampleCamera.cpp39 SkMatrix matrix;
40 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
/external/skia/src/effects/
H A DSkComposeImageFilter.cpp39 SkMatrix outerMatrix(ctx.ctm());
51 const SkMatrix& ctm,
/external/skia/src/gpu/effects/
H A DGrConfigConversionEffect.cpp12 #include "SkMatrix.h"
105 const SkMatrix& matrix)
222 (dataTex, false, *pmToUPMRule, SkMatrix::I())));
225 (readTex, false, *upmToPMRule, SkMatrix::I())));
228 (tempTex, false, *pmToUPMRule, SkMatrix::I())));
235 SkMatrix::I(),
246 SkMatrix::I(),
255 SkMatrix::I(),
280 const SkMatrix& matrix) {
/external/skia/include/core/
H A DSkDevice.h21 class SkMatrix;
161 virtual void setMatrixClip(const SkMatrix&, const SkRegion&, argument
196 const SkMatrix* prePathMatrix = NULL,
199 const SkMatrix& matrix, const SkPaint& paint) = 0;
243 const SkMatrix*, const SkPaint&);
330 virtual bool EXPERIMENTAL_drawPicture(SkCanvas*, const SkPicture*, const SkMatrix*,
/external/skia/src/effects/gradients/
H A DSkLinearGradient.cpp42 static SkMatrix pts_to_unit_matrix(const SkPoint pts[2]) {
48 SkMatrix matrix;
93 unsigned mask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask;
219 SkMatrix::MapXYProc dstProc = fDstToIndexProc;
265 SkMatrix* matrix,
408 SkMatrix::MapXYProc dstProc = fDstToIndexProc;
493 const SkMatrix& matrix,
514 const SkMatrix& matrix,
570 const SkMatrix
595 asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix&, const SkMatrix*, GrColor*, GrFragmentProcessor**) const argument
[all...]

Completed in 458 milliseconds

1234567891011>>