HomeSort by relevance Sort by last modified time
    Searched refs:SkMatrix (Results 1 - 25 of 610) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/src/gpu/glsl/
GrGLSLUtil.h 11 class SkMatrix;
14 * Helper for converting SkMatrix to a column-major float array. We assume that all GLSL backends
17 template<int MatrixSize> void GrGLSLGetMatrix(float* dest, const SkMatrix& src);
GrGLSLProgramDataManager.cpp 11 #include "SkMatrix.h"
13 void GrGLSLProgramDataManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix) const {
15 matrix.get(SkMatrix::kMScaleX),
16 matrix.get(SkMatrix::kMSkewY),
17 matrix.get(SkMatrix::kMPersp0),
18 matrix.get(SkMatrix::kMSkewX),
19 matrix.get(SkMatrix::kMScaleY),
20 matrix.get(SkMatrix::kMPersp1),
21 matrix.get(SkMatrix::kMTransX),
22 matrix.get(SkMatrix::kMTransY)
    [all...]
GrGLSLUtil.cpp 9 #include "SkMatrix.h"
11 template<> void GrGLSLGetMatrix<3>(float* dest, const SkMatrix& src) {
13 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]);
14 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]);
15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]);
18 dest[3] = SkScalarToFloat(src[SkMatrix::kMSkewX]);
19 dest[4] = SkScalarToFloat(src[SkMatrix::kMScaleY]);
20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]);
23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]);
24 dest[7] = SkScalarToFloat(src[SkMatrix::kMTransY])
    [all...]
GrGLSLPrimitiveProcessor.cpp 15 SkMatrix GrGLSLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix,
17 SkMatrix combined;
27 combined.set(SkMatrix::kMSkewY,
28 combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]);
29 combined.set(SkMatrix::kMScaleY,
30 combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]);
31 combined.set(SkMatrix::kMTransY
    [all...]
  /external/skia/src/utils/
SkMatrix22.h 13 class SkMatrix;
29 void SkComputeGivensRotation(const SkVector& h, SkMatrix* G);
  /external/skia/src/gpu/batches/
GrNonAAFillRectBatch.h 14 class SkMatrix;
20 const SkMatrix& viewMatrix,
23 const SkMatrix* localMatrix);
26 const SkMatrix& viewMatrix,
29 const SkMatrix* localMatrix);
32 const SkMatrix& viewMatrix,
35 const SkMatrix* localMatrix);
GrAAFillRectBatch.h 15 class SkMatrix;
20 const SkMatrix& viewMatrix,
25 const SkMatrix& viewMatrix,
26 const SkMatrix& localMatrix,
30 const SkMatrix& viewMatrix,
31 const SkMatrix& localMatrix,
36 const SkMatrix& viewMatrix,
42 const SkMatrix& viewMatrix,
48 const SkMatrix& viewMatrix,
49 const SkMatrix& localMatrix
    [all...]
GrNinePatch.h 15 class SkMatrix;
20 GrDrawBatch* CreateNonAA(GrColor color, const SkMatrix& viewMatrix, int imageWidth, int imageHeight,
GrNonAAStrokeRectBatch.h 17 class SkMatrix;
22 const SkMatrix& viewMatrix,
28 const SkMatrix& viewMatrix,
GrAAStrokeRectBatch.h 16 class SkMatrix;
23 const SkMatrix& viewMatrix,
31 const SkMatrix& viewMatrix,
37 const SkMatrix& viewMatrix,
  /external/skia/src/core/
SkMatrixUtils.h 13 class SkMatrix;
24 bool SkTreatAsSprite(const SkMatrix&, const SkISize& size, const SkPaint& paint);
32 bool SkDecomposeUpper2x2(const SkMatrix& matrix,
SkBitmapController.h 14 #include "SkMatrix.h"
28 const SkMatrix& invMatrix() const { return fInvMatrix; }
33 SkMatrix fInvMatrix;
42 State* requestBitmap(const SkBitmapProvider&, const SkMatrix& inverse, SkFilterQuality,
45 State* requestBitmap(const SkBitmapProvider& bp, const SkMatrix& inv, SkFilterQuality quality) {
50 virtual State* onRequestBitmap(const SkBitmapProvider&, const SkMatrix& inv, SkFilterQuality,
61 State* onRequestBitmap(const SkBitmapProvider&, const SkMatrix& inverse, SkFilterQuality,
SkCanvasPriv.h 15 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds);
SkLocalMatrixImageFilter.h 21 static SkImageFilter* Create(const SkMatrix& localM, SkImageFilter* input);
30 bool onFilterBounds(const SkIRect& src, const SkMatrix&, SkIRect* dst,
34 SkLocalMatrixImageFilter(const SkMatrix& localM, SkImageFilter* input);
36 SkMatrix fLocalM;
SkMatrixImageFilter.h 31 static SkMatrixImageFilter* Create(const SkMatrix& transform,
42 SkMatrixImageFilter(const SkMatrix& transform,
49 void onFilterNodeBounds(const SkIRect& src, const SkMatrix&,
53 SkMatrix fTransform;
  /external/skia/src/gpu/
GrRecordReplaceDraw.h 15 class SkMatrix;
23 const SkMatrix& initialMatrix,
GrPathProcessor.h 21 const SkMatrix& viewMatrix = SkMatrix::I(),
22 const SkMatrix& localMatrix = SkMatrix::I()) {
29 const SkMatrix& viewMatrix() const { return fViewMatrix; }
30 const SkMatrix& localMatrix() const { return fLocalMatrix; }
47 const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
52 const SkMatrix fViewMatrix;
53 const SkMatrix fLocalMatrix
    [all...]
GrOvalRenderer.h 15 class SkMatrix;
26 const SkMatrix& viewMatrix,
31 const SkMatrix& viewMatrix,
40 const SkMatrix& viewMatrix,
44 const SkMatrix& viewMatrix,
48 const SkMatrix& viewMatrix,
GrBlurUtils.h 19 class SkMatrix;
37 const SkMatrix& origViewMatrix,
38 const SkMatrix* prePathMatrix,
51 const SkMatrix& viewMatrix,
  /frameworks/base/core/jni/android/graphics/
Matrix.h 21 #include "SkMatrix.h"
25 /* Gets the underlying SkMatrix from a Matrix object. */
26 extern SkMatrix* android_graphics_Matrix_getSkMatrix(JNIEnv* env, jobject matrixObj);
Matrix.cpp 20 #include "SkMatrix.h"
32 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle);
37 const SkMatrix* src = reinterpret_cast<SkMatrix*>(srcHandle);
38 SkMatrix* obj = new SkMatrix();
47 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle);
52 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle)
    [all...]
  /external/skia/bench/
DrawBitmapAABench.cpp 9 #include "SkMatrix.h"
20 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[])
49 SkMatrix fMatrix;
56 DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeScale(1), "ident"); )
58 DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeScale(1.17f), "scale"); )
60 DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeTrans(17.5f, 17.5f), "translate"); )
63 SkMatrix m;
69 DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::MakeScale(1), "ident"); )
71 DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::MakeScale(1.17f), "scale"); )
73 DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::MakeTrans(17.5f, 17.5f), "translate");
    [all...]
  /external/skia/include/core/
SkRasterizer.h 17 class SkMatrix;
25 bool rasterize(const SkPath& path, const SkMatrix& matrix,
33 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
SkMaskFilter.h 26 class SkMatrix;
63 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
77 virtual bool asFragmentProcessor(GrFragmentProcessor**, GrTexture*, const SkMatrix& ctm) const;
107 const SkMatrix& ctm,
118 const SkMatrix& viewMatrix,
129 const SkMatrix& viewMatrix,
142 const SkMatrix& ctm,
212 const SkMatrix&,
218 virtual FilterReturn filterRRectToNine(const SkRRect&, const SkMatrix&,
230 bool filterPath(const SkPath& devPath, const SkMatrix& ctm, const SkRasterClip&, SkBlitter*
    [all...]
  /external/skia/src/image/
SkImageShader.h 16 static SkShader* Create(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix);
25 const GrFragmentProcessor* asFragmentProcessor(GrContext*, const SkMatrix& viewM,
26 const SkMatrix*, SkFilterQuality) const override;
38 SkImageShader(const SkImage*, TileMode tx, TileMode ty, const SkMatrix* localMatrix);

Completed in 2937 milliseconds

1 2 3 4 5 6 7 8 91011>>