/external/skia/include/effects/ |
SkBitmapSource.h | 24 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
|
SkColorFilterImageFilter.h | 28 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
|
SkDashPathEffect.h | 47 const SkStrokeRec&, const SkMatrix&,
|
SkEmbossMaskFilter.h | 35 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
|
SkLayerRasterizer.h | 42 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
|
SkRectShaderImageFilter.h | 40 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&,
|
SkTileImageFilter.h | 25 virtual bool onFilterImage(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm,
|
SkTransparentShader.h | 20 const SkMatrix& matrix) SK_OVERRIDE;
|
/external/skia/include/utils/ |
SkLuaCanvas.h | 32 virtual bool concat(const SkMatrix& matrix) SK_OVERRIDE; 33 virtual void setMatrix(const SkMatrix& matrix) SK_OVERRIDE; 53 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 65 const SkPath& path, const SkMatrix* matrix,
|
/external/skia/src/core/ |
SkDeviceImageFilterProxy.h | 25 const SkMatrix& ctm,
|
SkFilterShader.h | 22 const SkMatrix&) SK_OVERRIDE;
|
SkImageFilter.cpp | 95 const SkMatrix& ctm, 107 bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, 114 bool SkImageFilter::onFilterImage(Proxy*, const SkBitmap&, const SkMatrix&, 120 return this->asNewEffect(NULL, NULL, SkMatrix::I(), SkIRect()); 123 bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, 153 SkMatrix matrix(ctm); 172 bool SkImageFilter::applyCropRect(SkIRect* rect, const SkMatrix& matrix) const { 186 bool SkImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 192 bool SkImageFilter::asNewEffect(GrEffectRef**, GrTexture*, const SkMatrix&, const SkIRect&) const {
|
SkBitmapProcState.cpp | 38 static bool matrix_only_scale_translate(const SkMatrix& m) { 39 return m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask); 46 static bool just_trans_clamp(const SkMatrix& matrix, const SkBitmap& bitmap) { 49 if (matrix.getType() & SkMatrix::kScale_Mask) { 72 static bool just_trans_general(const SkMatrix& matrix) { 75 if (matrix.getType() & SkMatrix::kScale_Mask) { 78 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleX] - SK_Scalar1, tol)) { 81 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleY] - SK_Scalar1, tol)) { 97 static SkScalar effective_matrix_scale_sqrd(const SkMatrix& mat) [all...] |
/external/skia/src/gpu/ |
GrEffect.cpp | 23 const SkMatrix& TestMatrix(SkRandom* random) { 24 static SkMatrix gMatrices[5]; 34 gMatrices[4].set(SkMatrix::kMPersp0, 0.00013f); 35 gMatrices[4].set(SkMatrix::kMPersp1, -0.000039f);
|
GrPaint.cpp | 14 void GrPaint::addColorTextureEffect(GrTexture* texture, const SkMatrix& matrix) { 19 void GrPaint::addCoverageTextureEffect(GrTexture* texture, const SkMatrix& matrix) { 25 const SkMatrix& matrix, 32 const SkMatrix& matrix,
|
/external/chromium_org/skia/ext/ |
platform_device_win.cc | 8 #include "third_party/skia/include/core/SkMatrix.h" 131 void PlatformDevice::LoadTransformToDC(HDC dc, const SkMatrix& matrix) { 133 xf.eM11 = matrix[SkMatrix::kMScaleX]; 134 xf.eM21 = matrix[SkMatrix::kMSkewX]; 135 xf.eDx = matrix[SkMatrix::kMTransX]; 136 xf.eM12 = matrix[SkMatrix::kMSkewY]; 137 xf.eM22 = matrix[SkMatrix::kMScaleY]; 138 xf.eDy = matrix[SkMatrix::kMTransY]; 207 const SkMatrix& transformation) { 224 SkMatrix t(transformation) [all...] |
bitmap_platform_device_mac_unittest.cc | 10 #include "third_party/skia/include/core/SkMatrix.h" 30 SkMatrix transform; 50 SkMatrix transform;
|
/external/chromium_org/third_party/skia/src/core/ |
SkImageFilter.cpp | 95 const SkMatrix& ctm, 107 bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, 114 bool SkImageFilter::onFilterImage(Proxy*, const SkBitmap&, const SkMatrix&, 120 return this->asNewEffect(NULL, NULL, SkMatrix::I(), SkIRect()); 123 bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, 153 SkMatrix matrix(ctm); 172 bool SkImageFilter::applyCropRect(SkIRect* rect, const SkMatrix& matrix) const { 186 bool SkImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, 192 bool SkImageFilter::asNewEffect(GrEffectRef**, GrTexture*, const SkMatrix&, const SkIRect&) const {
|
SkBitmapProcState.cpp | 38 static bool matrix_only_scale_translate(const SkMatrix& m) { 39 return m.getType() <= (SkMatrix::kScale_Mask | SkMatrix::kTranslate_Mask); 46 static bool just_trans_clamp(const SkMatrix& matrix, const SkBitmap& bitmap) { 49 if (matrix.getType() & SkMatrix::kScale_Mask) { 72 static bool just_trans_general(const SkMatrix& matrix) { 75 if (matrix.getType() & SkMatrix::kScale_Mask) { 78 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleX] - SK_Scalar1, tol)) { 81 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleY] - SK_Scalar1, tol)) { 97 static SkScalar effective_matrix_scale_sqrd(const SkMatrix& mat) [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFShader.cpp | 26 static bool inverseTransformBBox(const SkMatrix& matrix, SkRect* bbox) { 27 SkMatrix inverse; 35 static void unitToPointsMatrix(const SkPoint pts[2], SkMatrix* matrix) { 223 const SkMatrix& inversePerspectiveMatrix) { 234 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; 235 const SkScalar p1 = inversePerspectiveMatrix[SkMatrix::kMPersp1]; 236 const SkScalar p2 = inversePerspectiveMatrix[SkMatrix::kMPersp2]; 262 const SkMatrix& perspectiveRemover) { 275 const SkMatrix& perspectiveRemover) { 300 const SkMatrix& perspectiveRemover) [all...] |
/external/skia/src/pdf/ |
SkPDFShader.cpp | 26 static bool inverseTransformBBox(const SkMatrix& matrix, SkRect* bbox) { 27 SkMatrix inverse; 35 static void unitToPointsMatrix(const SkPoint pts[2], SkMatrix* matrix) { 223 const SkMatrix& inversePerspectiveMatrix) { 234 const SkScalar p0 = inversePerspectiveMatrix[SkMatrix::kMPersp0]; 235 const SkScalar p1 = inversePerspectiveMatrix[SkMatrix::kMPersp1]; 236 const SkScalar p2 = inversePerspectiveMatrix[SkMatrix::kMPersp2]; 262 const SkMatrix& perspectiveRemover) { 275 const SkMatrix& perspectiveRemover) { 300 const SkMatrix& perspectiveRemover) [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkCamera.cpp | 284 SkMatrix* orien = &fOrientation; 289 orien->set(SkMatrix::kMScaleX, SkUnitScalarMul(x, axis.fX) - SkUnitScalarMul(z, cross.fX)); 290 orien->set(SkMatrix::kMSkewX, SkUnitScalarMul(x, axis.fY) - SkUnitScalarMul(z, cross.fY)); 291 orien->set(SkMatrix::kMTransX, SkUnitScalarMul(x, axis.fZ) - SkUnitScalarMul(z, cross.fZ)); 292 orien->set(SkMatrix::kMSkewY, SkUnitScalarMul(y, axis.fX) - SkUnitScalarMul(z, zenith.fX)); 293 orien->set(SkMatrix::kMScaleY, SkUnitScalarMul(y, axis.fY) - SkUnitScalarMul(z, zenith.fY)); 294 orien->set(SkMatrix::kMTransY, SkUnitScalarMul(y, axis.fZ) - SkUnitScalarMul(z, zenith.fZ)); 295 orien->set(SkMatrix::kMPersp0, axis.fX); 296 orien->set(SkMatrix::kMPersp1, axis.fY); 297 orien->set(SkMatrix::kMPersp2, axis.fZ) [all...] |
/external/skia/src/utils/ |
SkCamera.cpp | 284 SkMatrix* orien = &fOrientation; 289 orien->set(SkMatrix::kMScaleX, SkUnitScalarMul(x, axis.fX) - SkUnitScalarMul(z, cross.fX)); 290 orien->set(SkMatrix::kMSkewX, SkUnitScalarMul(x, axis.fY) - SkUnitScalarMul(z, cross.fY)); 291 orien->set(SkMatrix::kMTransX, SkUnitScalarMul(x, axis.fZ) - SkUnitScalarMul(z, cross.fZ)); 292 orien->set(SkMatrix::kMSkewY, SkUnitScalarMul(y, axis.fX) - SkUnitScalarMul(z, zenith.fX)); 293 orien->set(SkMatrix::kMScaleY, SkUnitScalarMul(y, axis.fY) - SkUnitScalarMul(z, zenith.fY)); 294 orien->set(SkMatrix::kMTransY, SkUnitScalarMul(y, axis.fZ) - SkUnitScalarMul(z, zenith.fZ)); 295 orien->set(SkMatrix::kMPersp0, axis.fX); 296 orien->set(SkMatrix::kMPersp1, axis.fY); 297 orien->set(SkMatrix::kMPersp2, axis.fZ) [all...] |
/external/skia/tests/ |
DrawBitmapRectTest.cpp | 76 static void rand_matrix(SkMatrix* mat, SkRandom& rand, unsigned mask) { 78 if (mask & SkMatrix::kTranslate_Mask) { 81 if (mask & SkMatrix::kScale_Mask) { 84 if (mask & SkMatrix::kAffine_Mask) { 87 if (mask & SkMatrix::kPerspective_Mask) { 97 static bool treat_as_sprite(const SkMatrix& mat, const SkISize& size, 105 SkMatrix mat; 111 rand_matrix(&mat, rand, SkMatrix::kTranslate_Mask); 120 rand_matrix(&mat, rand, SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask) [all...] |
/frameworks/base/libs/hwui/ |
Matrix.cpp | 25 #include <SkMatrix.h> 159 void Matrix4::load(const SkMatrix& v) { 162 data[kScaleX] = v[SkMatrix::kMScaleX]; 163 data[kSkewX] = v[SkMatrix::kMSkewX]; 164 data[kTranslateX] = v[SkMatrix::kMTransX]; 166 data[kSkewY] = v[SkMatrix::kMSkewY]; 167 data[kScaleY] = v[SkMatrix::kMScaleY]; 168 data[kTranslateY] = v[SkMatrix::kMTransY]; 170 data[kPerspective0] = v[SkMatrix::kMPersp0]; 171 data[kPerspective1] = v[SkMatrix::kMPersp1] [all...] |