Searched defs:localM (Results 1 - 25 of 34) sorted by relevance

12

/external/skia/src/core/
H A DSkLocalMatrixImageFilter.cpp15 sk_sp<SkImageFilter> SkLocalMatrixImageFilter::Make(const SkMatrix& localM, argument
20 if (localM.getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) {
23 if (localM.isIdentity()) {
26 return sk_sp<SkImageFilter>(new SkLocalMatrixImageFilter(localM, input));
29 SkLocalMatrixImageFilter::SkLocalMatrixImageFilter(const SkMatrix& localM, argument
32 , fLocalM(localM) {
H A DSkDraw_vertices.cpp274 SkMatrix localM; local
275 if (!texture_to_matrix(state, vertices, textures, &localM)) {
278 tmpCtm = SkMatrix::Concat(*fMatrix, localM);
H A DSkDevice.cpp502 SkMatrix localM, currM; local
505 localM.setRSXform(*xform++);
506 currM.setConcat(this->ctm(), localM);
514 SkAssertResult(localM.invert(&inverse));
/external/skqp/src/core/
H A DSkLocalMatrixImageFilter.cpp15 sk_sp<SkImageFilter> SkLocalMatrixImageFilter::Make(const SkMatrix& localM, argument
20 if (localM.getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) {
23 if (localM.isIdentity()) {
26 return sk_sp<SkImageFilter>(new SkLocalMatrixImageFilter(localM, input));
29 SkLocalMatrixImageFilter::SkLocalMatrixImageFilter(const SkMatrix& localM, argument
32 , fLocalM(localM) {
H A DSkDraw_vertices.cpp273 SkMatrix localM; local
274 texture_to_matrix(state, vertices, textures, &localM);
275 tmpCtm = SkMatrix::Concat(*fMatrix, localM);
H A DSkDevice.cpp498 SkMatrix localM, currM; local
501 localM.setRSXform(*xform++);
502 currM.setConcat(this->ctm(), localM);
/external/skia/gm/
H A Dgm.cpp89 SkMatrix localM; local
90 localM.setRotate(35.f);
91 localM.postTranslate(10.f, 0.f);
94 &localM));
H A Dimage_shader.cpp107 const SkMatrix localM = SkMatrix::MakeTrans(-50, -50); local
109 paint.setShader(image->makeShader(tile, tile, &localM));
H A Dshadertext3.cpp99 SkMatrix localM; variable
100 localM.setTranslate(5.f, 5.f);
101 localM.postRotate(20);
102 localM.postScale(1.15f, .85f);
110 kTileModes[tm1], &localM));
/external/skia/tests/
H A DShaderTest.cpp23 SkMatrix localM; local
27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes));
30 REPORTER_ASSERT(reporter, localM == expectedM);
36 localM.setScale(9999, -9999);
39 SkImage* image = shader->isAImage(&localM, tileModes);
43 REPORTER_ASSERT(reporter, localM == expectedM);
54 const SkMatrix localM = SkMatrix::MakeScale(2, 3); local
58 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM);
59 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM);
61 check_isabitmap(reporter, shader0.get(), W, H, tmx, tmy, localM);
[all...]
/external/skqp/gm/
H A Dgm.cpp89 SkMatrix localM; local
90 localM.setRotate(35.f);
91 localM.postTranslate(10.f, 0.f);
94 &localM));
H A Dimage_shader.cpp107 const SkMatrix localM = SkMatrix::MakeTrans(-50, -50); local
109 paint.setShader(image->makeShader(tile, tile, &localM));
H A Dshadertext3.cpp99 SkMatrix localM; variable
100 localM.setTranslate(5.f, 5.f);
101 localM.postRotate(20);
102 localM.postScale(1.15f, .85f);
110 kTileModes[tm1], &localM));
/external/skqp/tests/
H A DShaderTest.cpp23 SkMatrix localM; local
27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes));
30 REPORTER_ASSERT(reporter, localM == expectedM);
36 localM.setScale(9999, -9999);
39 SkImage* image = shader->isAImage(&localM, tileModes);
43 REPORTER_ASSERT(reporter, localM == expectedM);
54 const SkMatrix localM = SkMatrix::MakeScale(2, 3); local
58 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM);
59 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM);
61 check_isabitmap(reporter, shader0.get(), W, H, tmx, tmy, localM);
[all...]
/external/skia/src/shaders/
H A DSkShaderBase.h68 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, argument
72 , fLocalMatrix(localM)
H A DSkImageShader.cpp102 const SkMatrix& localM) {
117 if (!legacy_shader_can_handle(ctm, localM)) {
100 IsRasterPipelineOnly(const SkMatrix& ctm, SkColorType ct, SkAlphaType at, SkShader::TileMode tx, SkShader::TileMode ty, const SkMatrix& localM) argument
/external/skqp/src/shaders/
H A DSkShaderBase.h68 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, argument
72 , fLocalMatrix(localM)
H A DSkImageShader.cpp66 const SkMatrix& localM) {
81 if (!localM.isScaleTranslate()) {
64 IsRasterPipelineOnly(const SkMatrix& ctm, SkColorType ct, SkAlphaType at, SkShader::TileMode tx, SkShader::TileMode ty, const SkMatrix& localM) argument
H A DSkPictureShader.cpp182 sk_sp<SkShader> SkPictureShader::refBitmapShader(const SkMatrix& viewMatrix, const SkMatrix* localM, argument
189 if (localM) {
190 m.preConcat(*localM);
/external/skia/src/views/
H A DSkTouchGesture.cpp131 const SkMatrix& SkTouchGesture::localM() { function in class:SkTouchGesture
/external/skqp/src/views/
H A DSkTouchGesture.cpp131 const SkMatrix& SkTouchGesture::localM() { function in class:SkTouchGesture
/external/skia/src/gpu/
H A DSkGr.cpp570 const SkMatrix& localM,
584 matrix.setConcat(viewM, localM);
604 matrix.setConcat(viewM, localM);
568 GrSkFilterQualityToGrFilterMode(SkFilterQuality paintFilterQuality, const SkMatrix& viewM, const SkMatrix& localM, bool sharpenMipmappedTextures, bool* doBicubic) argument
/external/skqp/src/gpu/
H A DSkGr.cpp591 const SkMatrix& localM,
604 matrix.setConcat(viewM, localM);
615 matrix.setConcat(viewM, localM);
589 GrSkFilterQualityToGrFilterMode(SkFilterQuality paintFilterQuality, const SkMatrix& viewM, const SkMatrix& localM, bool* doBicubic) argument
/external/skia/src/utils/
H A DSkLua.cpp1622 const SkMatrix* localM = nullptr; local
1623 push_ref(L, get_ref<SkImage>(L, 1)->makeShader(tmode, tmode, localM));
/external/skqp/src/utils/
H A DSkLua.cpp1622 const SkMatrix* localM = nullptr; local
1623 push_ref(L, get_ref<SkImage>(L, 1)->makeShader(tmode, tmode, localM));

Completed in 579 milliseconds

12