/frameworks/base/libs/hwui/ |
H A D | TessellationCache.h | 77 Description(Type type, const Matrix4& transform, const SkPaint& paint); 78 void setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const; 87 ShadowDescription(const SkPath* nodeKey, const Matrix4* drawTransform); 92 ShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque, 93 const SkPath* casterPerimeter, const Matrix4* transformXY, const Matrix4* transformZ, 112 const Matrix4 drawTransform; 116 const Matrix4 transformXY; 117 const Matrix4 transformZ; 156 void precacheRoundRect(const Matrix4 [all...] |
H A D | Matrix.h | 47 class ANDROID_API Matrix4 { class in namespace:android::uirenderer 80 Matrix4() { function in class:android::uirenderer::Matrix4 84 explicit Matrix4(const float* v) { function in class:android::uirenderer::Matrix4 88 Matrix4(const SkMatrix& v) { // NOLINT, implicit function in class:android::uirenderer::Matrix4 101 Matrix4& operator=(const SkMatrix& v) { 106 friend bool operator==(const Matrix4& a, const Matrix4& b) { 110 friend bool operator!=(const Matrix4& a, const Matrix4& b) { 119 void loadInverse(const Matrix4 [all...] |
H A D | ClipArea.h | 30 Rect transformAndCalculateBounds(const Rect& r, const Matrix4& transform); 35 TransformedRectangle(const Rect& bounds, const Matrix4& transform); 51 const Matrix4& getTransform() const { 55 void transform(const Matrix4& transform) { 56 Matrix4 t; 63 Matrix4 mTransform; 75 void set(const Rect& bounds, const Matrix4& transform); 76 bool intersectWith(const Rect& bounds, const Matrix4& transform); 77 void transform(const Matrix4& transform); 178 const ClipBase* recordedClip, const Matrix4 [all...] |
H A D | Glop.h | 123 Matrix4* textureTransform; 144 Matrix4 modelView; 147 Matrix4 canvas; 150 const Matrix4& meshTransform() const { 152 ? Matrix4::identity() : canvas;
|
H A D | DamageAccumulator.h | 37 class Matrix4; 49 void pushTransform(const Matrix4* transform); 60 ANDROID_API void computeCurrentTransform(Matrix4* outMatrix) const;
|
H A D | OpenGLReadback.h | 24 class Matrix4; 38 virtual CopyResult copyImageInto(EGLImageKHR eglImage, const Matrix4& imgTransform, 41 CopyResult copyGraphicBufferInto(GraphicBuffer* graphicBuffer, Matrix4& texTransform, 56 virtual CopyResult copyImageInto(EGLImageKHR eglImage, const Matrix4& imgTransform,
|
H A D | Matrix.cpp | 40 const Matrix4& Matrix4::identity() { 41 static Matrix4 sIdentity; 45 void Matrix4::loadIdentity() { 73 uint8_t Matrix4::getType() const { 116 uint8_t Matrix4::getGeometryType() const { 120 bool Matrix4::rectToRect() const { 124 bool Matrix4::positiveScale() const { 128 bool Matrix4::changesBounds() const { 132 bool Matrix4 [all...] |
H A D | SkiaShader.h | 57 Matrix4 textureTransform; 61 Matrix4 screenSpace; 76 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
|
H A D | OpenGLReadback.cpp | 40 Matrix4 texTransform; 66 Matrix4& texTransform, const Rect& srcRect, SkBitmap* bitmap) { 89 if (texTransform[Matrix4::kSkewX] >= 0.5f || texTransform[Matrix4::kSkewX] <= -0.5f) { 105 Matrix4 transform; 118 static const Matrix4 sFlipV(sFlipVInit); 124 Texture& sourceTexture, const Matrix4& texTransform, const Rect& srcRect, 201 Matrix4 croppedTexTransform(texTransform); 223 .setTransform(Matrix4::identity(), TransformFlags::None) 226 Matrix4 orth [all...] |
H A D | RecordedOp.h | 154 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint 155 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip 167 const Matrix4 localMatrix; 197 Matrix4 transformFromCompositingAncestor; 249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, 263 : RecordedOp(RecordedOpId::ColorOp, Rect(), Matrix4::identity(), localClip, nullptr) 273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) 333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, 367 : RecordedOp(RecordedOpId::ShadowOp, Rect(), Matrix4::identity(), nullptr, nullptr) 402 TextOnPathOp(const Matrix4 [all...] |
H A D | Snapshot.h | 60 Matrix4 matrix; 151 const ClipBase* recordedClip, const Matrix4& recordedClipTransform); 152 void applyClip(const ClipBase* clip, const Matrix4& transform); 166 const Matrix4& getOrthoMatrix() const { return mViewportData.mOrthoMatrix; }
|
H A D | TessellationCache.cpp | 48 TessellationCache::Description::Description(Type type, const Matrix4& transform, const SkPaint& paint) 89 void TessellationCache::Description::setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const { 102 TessellationCache::ShadowDescription::ShadowDescription(const SkPath* nodeKey, const Matrix4* drawTransform) 207 const Matrix4* drawTransform, const Rect* localClip, 209 const Matrix4* casterTransformXY, const Matrix4* casterTransformZ, 354 void TessellationCache::precacheShadows(const Matrix4* drawTransform, const Rect& localClip, 356 const Matrix4* transformXY, const Matrix4* transformZ, 372 const Matrix4* drawTransfor [all...] |
H A D | ClipArea.cpp | 27 static void handlePoint(Rect& transformedBounds, const Matrix4& transform, float x, float y) { 33 Rect transformAndCalculateBounds(const Rect& r, const Matrix4& transform) { 56 const Matrix4& transform) 108 void RectangleList::set(const Rect& bounds, const Matrix4& transform) { 114 const Matrix4& transform) { 152 const Matrix4& transform) { 179 void RectangleList::transform(const Matrix4& transform) { 306 mRectangleList.set(mClipRect, Matrix4::identity()); 418 const ClipBase* recordedClip, const Matrix4& recordedClipTransform) { 490 rectList.set(mClipRect, Matrix4 [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SnapshotTests.cpp | 26 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); 27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); 28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); 36 &rect, Matrix4::identity()); 44 &rect, Matrix4::identity()); 51 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); 52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); 57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); 59 child->applyClip(&rect, Matrix4::identity()); 67 auto child = TestUtils::makeSnapshot(Matrix4 [all...] |
H A D | MatrixTests.cpp | 26 Matrix4 scaleMatrix; 41 Matrix4 skewMatrix;
|
H A D | ClipAreaTests.cpp | 40 Matrix4 minus90; 45 Matrix4 m90; 50 Matrix4 m0; 54 Matrix4 m45; 65 Matrix4 m45; 76 Matrix4 m30; 98 area.clipPathWithTransform(path, &Matrix4::identity(), SkRegion::kIntersect_Op); 118 area.clipRectWithTransform(expected, &Matrix4::identity(), SkRegion::kReplace_Op); 142 Matrix4 rotate; 160 area.clipPathWithTransform(circlePath, &Matrix4 [all...] |
H A D | BakedOpStateTests.cpp | 29 Matrix4 translate10x20; 37 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); 49 Matrix4 expectedTranslate; 64 Matrix4 translate10x20; 72 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); 167 Matrix4::identity(), &clip, &strokedPaint); 169 Matrix4 snapshotMatrix; 179 Matrix4 translate100x0; 186 RectOp successOp(Rect(30, 40, 100, 200), Matrix4::identity(), &clip, &paint); 187 auto snapshot = TestUtils::makeSnapshot(Matrix4 [all...] |
H A D | DamageAccumulatorTests.cpp | 35 da.pushTransform(&Matrix4::identity()); 38 da.pushTransform(&Matrix4::identity()); 54 Matrix4 translate; 70 da.pushTransform(&Matrix4::identity()); 72 da.pushTransform(&Matrix4::identity()); 75 da.pushTransform(&Matrix4::identity());
|
H A D | BakedOpDispatcherTests.cpp | 60 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 100)); 101 Matrix4 expectedModelView; 109 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); 112 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); 120 LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); 140 RoundRectOp roundRectOp(bounds, Matrix4::identity(), nullptr, &paint, 0, 270); 145 PointsOp antiAliasedPointsOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4); 148 PointsOp pointsOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4); 152 LinesOp antiAliasedLinesOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4); 155 LinesOp linesOp(bounds, Matrix4 [all...] |
H A D | DeferredLayerUpdaterTests.cpp | 42 EXPECT_EQ(Matrix4::identity(), layerUpdater->backingLayer()->getTexTransform()); 45 Matrix4 scaledMatrix;
|
H A D | CanvasStateTests.cpp | 39 static bool approxEqual(const Matrix4& a, const Matrix4& b) { 56 Matrix4 simpleTranslate; 130 Matrix4 simpleTranslate; 154 Matrix4 simpleTranslate;
|
H A D | OpDumperTests.cpp | 27 RectOp op(uirenderer::Rect(100, 100), Matrix4::identity(), nullptr, &paint);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaLayer.h | 32 Matrix4 inverseTransformInWindow;
|
H A D | SkiaOpenGLReadback.h | 29 virtual CopyResult copyImageInto(EGLImageKHR eglImage, const Matrix4& imgTransform,
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | ShadowBench.cpp | 33 Matrix4 drawTransform; 35 Matrix4 casterTransformXY; 36 Matrix4 casterTransformZ;
|