/frameworks/base/libs/hwui/ |
D | TessellationCache.h | 78 Description(Type type, const Matrix4& transform, const SkPaint& paint); 79 void setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const; 88 ShadowDescription(const SkPath* nodeKey, const Matrix4* drawTransform); 93 ShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque, in ShadowTask() 94 … const SkPath* casterPerimeter, const Matrix4* transformXY, const Matrix4* transformZ, in ShadowTask() 113 const Matrix4 drawTransform; 117 const Matrix4 transformXY; 118 const Matrix4 transformZ; 157 void precacheRoundRect(const Matrix4& transform, const SkPaint& paint, in precacheRoundRect() 161 const VertexBuffer* getRoundRect(const Matrix4& transform, const SkPaint& paint, [all …]
|
D | Matrix.h | 47 class ANDROID_API Matrix4 { 80 Matrix4() { in Matrix4() function 84 Matrix4(const float* v) { in Matrix4() function 88 Matrix4(const SkMatrix& v) { in Matrix4() function 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& v); 126 void loadMultiply(const Matrix4& u, const Matrix4& v); 135 void multiplyInverse(const Matrix4& v) { in multiplyInverse() [all …]
|
D | Matrix.cpp | 40 const Matrix4& Matrix4::identity() { in identity() 41 static Matrix4 sIdentity; in identity() 45 void Matrix4::loadIdentity() { in loadIdentity() 73 uint8_t Matrix4::getType() const { in getType() 116 uint8_t Matrix4::getGeometryType() const { in getGeometryType() 120 bool Matrix4::rectToRect() const { in rectToRect() 124 bool Matrix4::positiveScale() const { in positiveScale() 128 bool Matrix4::changesBounds() const { in changesBounds() 132 bool Matrix4::isPureTranslate() const { in isPureTranslate() 138 bool Matrix4::isSimple() const { in isSimple() [all …]
|
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 { in getTransform() 55 void transform(const Matrix4& transform) { in transform() 56 Matrix4 t; in transform() 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); 179 const ClipBase* recordedClip, const Matrix4& recordedClipTransform); [all …]
|
D | Glop.h | 126 Matrix4* textureTransform; 147 Matrix4 modelView; 150 Matrix4 canvas; 153 const Matrix4& meshTransform() const { in meshTransform() 155 ? Matrix4::identity() : canvas; in meshTransform()
|
D | TessellationCache.cpp | 49 TessellationCache::Description::Description(Type type, const Matrix4& transform, const SkPaint& pai… in Description() 90 void TessellationCache::Description::setupMatrixAndPaint(Matrix4* matrix, SkPaint* paint) const { in setupMatrixAndPaint() 103 TessellationCache::ShadowDescription::ShadowDescription(const SkPath* nodeKey, const Matrix4* drawT… in ShadowDescription() 208 const Matrix4* drawTransform, const Rect* localClip, in tessellateShadows() 210 const Matrix4* casterTransformXY, const Matrix4* casterTransformZ, in tessellateShadows() 355 void TessellationCache::precacheShadows(const Matrix4* drawTransform, const Rect& localClip, in precacheShadows() 357 const Matrix4* transformXY, const Matrix4* transformZ, in precacheShadows() 372 void TessellationCache::getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip, in getShadowBuffers() 374 const Matrix4* transformXY, const Matrix4* transformZ, in getShadowBuffers() 388 const Matrix4* drawTransform, const Rect& localClip, in getShadowTask() [all …]
|
D | RecordedOp.h | 153 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localCl… 154 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBas… 166 const Matrix4 localMatrix; 196 Matrix4 transformFromCompositingAncestor; 249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in CirclePropsOp() 263 : RecordedOp(RecordedOpId::ColorOp, Rect(), Matrix4::identity(), localClip, nullptr) in ColorOp() 273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) in FunctorOp() 333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in RoundRectPropsOp() 367 : RecordedOp(RecordedOpId::ShadowOp, Rect(), Matrix4::identity(), nullptr, nullptr) in ShadowOp() 402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in TextOnPathOp() [all …]
|
D | SkiaShader.h | 60 Matrix4 textureTransform; 64 Matrix4 screenSpace; 83 Matrix4 textureTransform; 90 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
|
D | Snapshot.h | 60 Matrix4 matrix; 75 Matrix4 projectionMaskTransform; 174 const ClipBase* recordedClip, const Matrix4& recordedClipTransform); 175 void applyClip(const ClipBase* clip, const Matrix4& transform); 194 const Matrix4& getOrthoMatrix() const { return mViewportData.mOrthoMatrix; } in getOrthoMatrix() 228 void buildScreenSpaceTransform(Matrix4* outTransform) const;
|
D | ClipArea.cpp | 27 static void handlePoint(Rect& transformedBounds, const Matrix4& transform, float x, float y) { in handlePoint() 33 Rect transformAndCalculateBounds(const Rect& r, const Matrix4& transform) { in transformAndCalculateBounds() 56 const Matrix4& transform) in TransformedRectangle() 108 void RectangleList::set(const Rect& bounds, const Matrix4& transform) { in set() 114 const Matrix4& transform) { in intersectWith() 152 const Matrix4& transform) { in pathFromTransformedRectangle() 179 void RectangleList::transform(const Matrix4& transform) { in transform() 306 mRectangleList.set(mClipRect, Matrix4::identity()); in enterRectangleListMode() 418 const ClipBase* recordedClip, const Matrix4& recordedClipTransform) { in serializeIntersectedClip() 490 rectList.set(mClipRect, Matrix4::identity()); in serializeIntersectedClip() [all …]
|
D | DamageAccumulator.h | 37 class Matrix4; variable 49 void pushTransform(const Matrix4* transform); 60 ANDROID_API void computeCurrentTransform(Matrix4* outMatrix) const;
|
D | DamageAccumulator.cpp | 38 const Matrix4* matrix4; 55 static void computeTransformImpl(const DirtyStack* currentFrame, Matrix4* outMatrix) { in computeTransformImpl() 74 void DamageAccumulator::computeCurrentTransform(Matrix4* outMatrix) const { in computeCurrentTransform() 96 void DamageAccumulator::pushTransform(const Matrix4* transform) { in pushTransform() 121 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) { in mapRect()
|
D | BakedOpState.h | 60 const Matrix4& localTransform, const ClipBase* localClip); 69 Matrix4 inverse; in computeLocalSpaceClip() 91 Matrix4 transform;
|
D | OpenGLRenderer.h | 296 void setGlobalMatrix(const Matrix4& matrix) { in setGlobalMatrix() 299 void setLocalMatrix(const Matrix4& matrix); 308 void setMatrix(const Matrix4& matrix); // internal only convenience method 309 void concatMatrix(const Matrix4& matrix); // internal only convenience method 351 void setBaseTransform(const Matrix4& matrix) { mBaseTransform = matrix; } in setBaseTransform() 561 const float right, const float bottom, const Matrix4& transform); 773 Matrix4 mBaseTransform;
|
D | GlopBuilder.h | 32 class Matrix4; variable 76 GlopBuilder& setFillExternalTexture(Texture& texture, Matrix4& textureTransform); 81 GlopBuilder& setTransform(const Matrix4& canvas, const int transformFlags);
|
D | Readback.cpp | 104 Matrix4 texTransform; in copySurfaceInto() 172 .setTransform(Matrix4::identity(), TransformFlags::None) in copySurfaceInto() 175 Matrix4 ortho; in copySurfaceInto()
|
D | SkiaShader.cpp | 120 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix, in tryStoreGradient() 202 bool tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreBitmap() 282 const Matrix4& modelViewMatrix, GLuint* textureUnit, in storeCompose() 292 bool tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreCompose() 324 bool tryStoreLayer(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in tryStoreLayer() 360 void SkiaShader::store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, in store()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SnapshotTests.cpp | 26 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); in TEST() 27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST() 28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST() 36 &rect, Matrix4::identity()); in TEST() 44 &rect, Matrix4::identity()); in TEST() 51 auto actualRoot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(0, 0, 100, 100)); in TEST() 52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); in TEST() 57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST() 59 child->applyClip(&rect, Matrix4::identity()); in TEST() 67 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); in TEST() [all …]
|
D | ClipAreaTests.cpp | 40 Matrix4 minus90; in TEST() 45 Matrix4 m90; in TEST() 50 Matrix4 m0; in TEST() 54 Matrix4 m45; in TEST() 65 Matrix4 m45; in TEST() 76 Matrix4 m30; in TEST() 98 area.clipPathWithTransform(path, &Matrix4::identity(), SkRegion::kIntersect_Op); in TEST() 118 area.clipRectWithTransform(expected, &Matrix4::identity(), SkRegion::kReplace_Op); in TEST() 142 Matrix4 rotate; in TEST() 160 area.clipPathWithTransform(circlePath, &Matrix4::identity(), SkRegion::kReplace_Op); in TEST() [all …]
|
D | BakedOpStateTests.cpp | 29 Matrix4 translate10x20; in TEST() 37 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST() 49 Matrix4 expectedTranslate; in TEST() 64 Matrix4 translate10x20; in TEST() 72 auto parentSnapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST() 167 Matrix4::identity(), &clip, &strokedPaint); in TEST() 169 Matrix4 snapshotMatrix; in TEST() 179 Matrix4 translate100x0; in TEST() 186 RectOp successOp(Rect(30, 40, 100, 200), Matrix4::identity(), &clip, &paint); in TEST() 187 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 200)); in TEST() [all …]
|
D | DamageAccumulatorTests.cpp | 35 da.pushTransform(&Matrix4::identity()); in TEST() 38 da.pushTransform(&Matrix4::identity()); in TEST() 54 Matrix4 translate; in TEST() 70 da.pushTransform(&Matrix4::identity()); in TEST() 72 da.pushTransform(&Matrix4::identity()); in TEST() 75 da.pushTransform(&Matrix4::identity()); in TEST()
|
D | BakedOpDispatcherTests.cpp | 59 auto snapshot = TestUtils::makeSnapshot(Matrix4::identity(), Rect(100, 100)); in testUnmergedGlopDispatch() 102 Matrix4 expectedModelView; in RENDERTHREAD_TEST() 110 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); in RENDERTHREAD_TEST() 113 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); in RENDERTHREAD_TEST() 121 LayerOp op(Rect(10, 10), Matrix4::identity(), nullptr, &layerPaint, &buffer); in RENDERTHREAD_TEST() 141 RoundRectOp roundRectOp(bounds, Matrix4::identity(), nullptr, &paint, 0, 270); in RENDERTHREAD_TEST() 146 PointsOp antiAliasedPointsOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4); in RENDERTHREAD_TEST() 149 PointsOp pointsOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4); in RENDERTHREAD_TEST() 153 LinesOp antiAliasedLinesOp(bounds, Matrix4::identity(), nullptr, &aaPaint, points, 4); in RENDERTHREAD_TEST() 156 LinesOp linesOp(bounds, Matrix4::identity(), nullptr, &paint, points, 4); in RENDERTHREAD_TEST()
|
D | CanvasStateTests.cpp | 39 static bool approxEqual(const Matrix4& a, const Matrix4& b) { in approxEqual() 56 Matrix4 simpleTranslate; in TEST() 130 Matrix4 simpleTranslate; in TEST() 154 Matrix4 simpleTranslate; in TEST()
|
D | MatrixTests.cpp | 26 Matrix4 scaleMatrix; in TEST() 41 Matrix4 skewMatrix; in TEST()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | ShadowBench.cpp | 33 Matrix4 drawTransform; 35 Matrix4 casterTransformXY; 36 Matrix4 casterTransformZ;
|