Home
last modified time | relevance | path

Searched refs:localM (Results 1 – 25 of 36) sorted by relevance

12

/external/skia/tests/
DShaderTest.cpp23 SkMatrix localM; in check_isabitmap() local
27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes)); in check_isabitmap()
30 REPORTER_ASSERT(reporter, localM == expectedM); in check_isabitmap()
36 localM.setScale(9999, -9999); in check_isabitmap()
39 SkImage* image = shader->isAImage(&localM, tileModes); in check_isabitmap()
43 REPORTER_ASSERT(reporter, localM == expectedM); in check_isabitmap()
54 const SkMatrix localM = SkMatrix::MakeScale(2, 3); in DEF_TEST() local
58 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM); in DEF_TEST()
59 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); in DEF_TEST()
61 check_isabitmap(reporter, shader0.get(), W, H, tmx, tmy, localM); in DEF_TEST()
[all …]
/external/skqp/tests/
DShaderTest.cpp23 SkMatrix localM; in check_isabitmap() local
27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes)); in check_isabitmap()
30 REPORTER_ASSERT(reporter, localM == expectedM); in check_isabitmap()
36 localM.setScale(9999, -9999); in check_isabitmap()
39 SkImage* image = shader->isAImage(&localM, tileModes); in check_isabitmap()
43 REPORTER_ASSERT(reporter, localM == expectedM); in check_isabitmap()
54 const SkMatrix localM = SkMatrix::MakeScale(2, 3); in DEF_TEST() local
58 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM); in DEF_TEST()
59 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); in DEF_TEST()
61 check_isabitmap(reporter, shader0.get(), W, H, tmx, tmy, localM); in DEF_TEST()
[all …]
/external/skqp/src/core/
DSkLocalMatrixImageFilter.cpp15 sk_sp<SkImageFilter> SkLocalMatrixImageFilter::Make(const SkMatrix& localM, in Make() argument
20 if (localM.getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) { in Make()
23 if (localM.isIdentity()) { in Make()
26 return sk_sp<SkImageFilter>(new SkLocalMatrixImageFilter(localM, input)); in Make()
29 SkLocalMatrixImageFilter::SkLocalMatrixImageFilter(const SkMatrix& localM, in SkLocalMatrixImageFilter() argument
32 , fLocalM(localM) { in SkLocalMatrixImageFilter()
DSkLocalMatrixImageFilter.h19 static sk_sp<SkImageFilter> Make(const SkMatrix& localM, sk_sp<SkImageFilter> input);
32 SkLocalMatrixImageFilter(const SkMatrix& localM, sk_sp<SkImageFilter> input);
DSkDraw_vertices.cpp273 SkMatrix localM; in drawVertices() local
274 texture_to_matrix(state, vertices, textures, &localM); in drawVertices()
275 tmpCtm = SkMatrix::Concat(*fMatrix, localM); in drawVertices()
DSkDevice.cpp498 SkMatrix localM, currM; in drawTextRSXform() local
501 localM.setRSXform(*xform++); in drawTextRSXform()
502 currM.setConcat(this->ctm(), localM); in drawTextRSXform()
/external/skia/src/core/
DSkLocalMatrixImageFilter.cpp15 sk_sp<SkImageFilter> SkLocalMatrixImageFilter::Make(const SkMatrix& localM, in Make() argument
20 if (localM.getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) { in Make()
23 if (localM.isIdentity()) { in Make()
26 return sk_sp<SkImageFilter>(new SkLocalMatrixImageFilter(localM, input)); in Make()
29 SkLocalMatrixImageFilter::SkLocalMatrixImageFilter(const SkMatrix& localM, in SkLocalMatrixImageFilter() argument
32 , fLocalM(localM) { in SkLocalMatrixImageFilter()
DSkLocalMatrixImageFilter.h19 static sk_sp<SkImageFilter> Make(const SkMatrix& localM, sk_sp<SkImageFilter> input);
32 SkLocalMatrixImageFilter(const SkMatrix& localM, sk_sp<SkImageFilter> input);
DSkDraw_vertices.cpp274 SkMatrix localM; in drawVertices() local
275 if (!texture_to_matrix(state, vertices, textures, &localM)) { in drawVertices()
278 tmpCtm = SkMatrix::Concat(*fMatrix, localM); in drawVertices()
DSkDevice.cpp502 SkMatrix localM, currM; in drawTextRSXform() local
505 localM.setRSXform(*xform++); in drawTextRSXform()
506 currM.setConcat(this->ctm(), localM); in drawTextRSXform()
514 SkAssertResult(localM.invert(&inverse)); in drawTextRSXform()
/external/skia/gm/
Dshadertext3.cpp99 SkMatrix localM; in onDraw() local
100 localM.setTranslate(5.f, 5.f); in onDraw()
101 localM.postRotate(20); in onDraw()
102 localM.postScale(1.15f, .85f); in onDraw()
110 kTileModes[tm1], &localM)); in onDraw()
Dgm.cpp89 SkMatrix localM; in DrawGpuOnlyMessage() local
90 localM.setRotate(35.f); in DrawGpuOnlyMessage()
91 localM.postTranslate(10.f, 0.f); in DrawGpuOnlyMessage()
94 &localM)); in DrawGpuOnlyMessage()
Dimage_shader.cpp107 const SkMatrix localM = SkMatrix::MakeTrans(-50, -50); in testImage() local
109 paint.setShader(image->makeShader(tile, tile, &localM)); in testImage()
/external/skqp/gm/
Dshadertext3.cpp99 SkMatrix localM; in onDraw() local
100 localM.setTranslate(5.f, 5.f); in onDraw()
101 localM.postRotate(20); in onDraw()
102 localM.postScale(1.15f, .85f); in onDraw()
110 kTileModes[tm1], &localM)); in onDraw()
Dgm.cpp89 SkMatrix localM; in DrawGpuOnlyMessage() local
90 localM.setRotate(35.f); in DrawGpuOnlyMessage()
91 localM.postTranslate(10.f, 0.f); in DrawGpuOnlyMessage()
94 &localM)); in DrawGpuOnlyMessage()
Dimage_shader.cpp107 const SkMatrix localM = SkMatrix::MakeTrans(-50, -50); in testImage() local
109 paint.setShader(image->makeShader(tile, tile, &localM)); in testImage()
/external/skqp/src/shaders/
DSkShaderBase.h68 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec()
72 , fLocalMatrix(localM) in ContextRec()
DSkPictureShader.cpp182 sk_sp<SkShader> SkPictureShader::refBitmapShader(const SkMatrix& viewMatrix, const SkMatrix* localM, in refBitmapShader() argument
189 if (localM) { in refBitmapShader()
190 m.preConcat(*localM); in refBitmapShader()
DSkImageShader.h34 const SkMatrix& localM);
/external/skia/src/shaders/
DSkShaderBase.h68 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec()
72 , fLocalMatrix(localM) in ContextRec()
DSkImageShader.h35 const SkMatrix& localM);
/external/jdiff/src/jdiff/
DXMLToAPI.java145 MethodAPI localM = (MethodAPI)(iter2.next()); in addInheritedElements() local
146 if (localM.name_.compareTo(m.name_) == 0 && in addInheritedElements()
147 localM.getSignature().compareTo(m.getSignature()) == 0) in addInheritedElements()
/external/skia/include/views/
DSkTouchGesture.h45 const SkMatrix& localM();
/external/skqp/include/views/
DSkTouchGesture.h45 const SkMatrix& localM();
/external/skia/src/gpu/
DSkGr.cpp570 const SkMatrix& localM, in GrSkFilterQualityToGrFilterMode() argument
584 matrix.setConcat(viewM, localM); in GrSkFilterQualityToGrFilterMode()
604 matrix.setConcat(viewM, localM); in GrSkFilterQualityToGrFilterMode()

12