/external/skia/tests/ |
D | ShaderTest.cpp | 29 SkMatrix localM; in check_isaimage() local 32 localM.setScale(9999, -9999); in check_isaimage() 35 SkImage* image = shader->isAImage(&localM, tileModes); in check_isaimage() 39 REPORTER_ASSERT(reporter, localM == expectedM); in check_isaimage() 50 const SkMatrix localM = SkMatrix::Scale(2, 3); in DEF_TEST() local 54 auto shader0 = bm.makeShader(tmx, tmy, SkSamplingOptions(), localM); in DEF_TEST() 55 auto shader1 = bm.asImage()->makeShader(tmx, tmy, SkSamplingOptions(), localM); in DEF_TEST() 57 check_isaimage(reporter, shader0.get(), W, H, tmx, tmy, localM); in DEF_TEST() 58 check_isaimage(reporter, shader1.get(), W, H, tmx, tmy, localM); in DEF_TEST()
|
/external/skia/src/core/ |
D | SkLocalMatrixImageFilter.cpp | 15 sk_sp<SkImageFilter> SkLocalMatrixImageFilter::Make(const SkMatrix& localM, in Make() argument 20 if (localM.isIdentity()) { in Make() 24 if ((inputCapability == MatrixCapability::kTranslate && !localM.isTranslate()) || in Make() 25 (inputCapability == MatrixCapability::kScaleTranslate && !localM.isScaleTranslate())) { in Make() 29 return sk_sp<SkImageFilter>(new SkLocalMatrixImageFilter(localM, input)); in Make() 32 SkLocalMatrixImageFilter::SkLocalMatrixImageFilter(const SkMatrix& localM, in SkLocalMatrixImageFilter() argument 35 , fLocalM(localM) { in SkLocalMatrixImageFilter()
|
D | SkLocalMatrixImageFilter.h | 20 static sk_sp<SkImageFilter> Make(const SkMatrix& localM, sk_sp<SkImageFilter> input); 35 SkLocalMatrixImageFilter(const SkMatrix& localM, sk_sp<SkImageFilter> input);
|
D | SkDraw_vertices.cpp | 436 SkMatrix localM; in drawFixedVertices() local 437 if (!transformShader || (texture_to_matrix(state, positions, texCoords, &localM) && in drawFixedVertices() 438 transformShader->update(SkMatrix::Concat(ctm, localM)))) { in drawFixedVertices() 458 SkMatrix localM; in drawFixedVertices() local 459 if (transformShader && !(texture_to_matrix(state, positions, texCoords, &localM) && in drawFixedVertices() 460 transformShader->update(SkMatrix::Concat(ctm, localM)))) { in drawFixedVertices()
|
D | SkRuntimeEffect.cpp | 1543 SkTLazy<SkMatrix> localM; in CreateProc() local 1547 buffer.readMatrix(localM.init()); in CreateProc() 1579 return effect->makeShader(std::move(uniforms), SkSpan(children), localM.getMaybeNull()); in CreateProc()
|
/external/skia/gm/ |
D | shadertext3.cpp | 112 SkMatrix localM; in onDraw() local 113 localM.setTranslate(5.f, 5.f); in onDraw() 114 localM.postRotate(20); in onDraw() 115 localM.postScale(1.15f, .85f); in onDraw() 120 sampling, localM)); in onDraw()
|
D | runtimefunctions.cpp | 51 SkMatrix localM; in onDraw() local 52 localM.setRotate(90, 128, 128); in onDraw() 56 SkData::MakeWithCopy(&iResolution, sizeof(iResolution)), nullptr, 0, &localM); in onDraw()
|
D | patch.cpp | 173 SkMatrix localM; variable 174 localM.reset(); 175 localM[6] = 0.00001f; // force perspective 176 dopatch(canvas, colors, GetResourceAsImage("images/mandrill_128.png"), &localM);
|
D | gm.cpp | 57 SkMatrix localM; in draw_gpu_only_message() local 58 localM.setRotate(35.f); in draw_gpu_only_message() 59 localM.postTranslate(10.f, 0.f); in draw_gpu_only_message() 63 localM)); in draw_gpu_only_message()
|
D | image_shader.cpp | 132 const SkMatrix localM = SkMatrix::Translate(-50, -50); in testImage() local 134 paint.setShader(image->makeShader(tile, tile, SkSamplingOptions(), &localM)); in testImage()
|
D | runtimeshader.cpp | 78 SkMatrix localM; in onDraw() local 79 localM.setRotate(90, 128, 128); in onDraw() 83 p.setShader(builder.makeShader(&localM)); in onDraw()
|
/external/skia/tools/gpu/ |
D | TestOps.cpp | 92 const SkMatrix& localM); 150 const SkMatrix& localM) { in Make() argument 152 return GrOp::Make<TestRectOp>(context, caps, std::move(paint), drawRect, localRect, localM); in Make() 231 const SkMatrix& localM) { in MakeRect() argument 232 return TestRectOp::Make(context, std::move(paint), drawRect, localRect, localM); in MakeRect() 239 const SkMatrix& localM) { in MakeRect() argument 242 return TestRectOp::Make(context, std::move(paint), drawRect, localRect, localM); in MakeRect()
|
D | TestOps.h | 30 const SkMatrix& localM = SkMatrix::I()); 40 const SkMatrix& localM = SkMatrix::I());
|
/external/jdiff/src/jdiff/ |
D | XMLToAPI.java | 145 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/src/shaders/ |
D | SkShaderBase.h | 132 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() 135 , fLocalMatrix(localM) in ContextRec()
|
/external/skia/tools/viewer/ |
D | TouchGesture.h | 34 const SkMatrix& localM();
|
D | TouchGesture.cpp | 131 const SkMatrix& TouchGesture::localM() { in localM() function in TouchGesture
|
D | Viewer.cpp | 1262 SkMatrix m = fGesture.localM(); in computeMatrix()
|
/external/skia/src/effects/imagefilters/ |
D | SkRuntimeImageFilter.cpp | 201 SkMatrix localM = inverse * SkMatrix::Translate(inputOffset); in onFilterImage() local 203 input->asShader(SkSamplingOptions(SkFilterMode::kLinear), localM); in onFilterImage()
|
/external/skia/src/gpu/ganesh/ |
D | Device_drawTexture.cpp | 694 bool can_disable_mipmap(const SkMatrix& viewM, const SkMatrix& localM) { in can_disable_mipmap() argument 696 matrix.setConcat(viewM, localM); in can_disable_mipmap()
|