Home
last modified time | relevance | path

Searched refs:localMatrix (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/
DRecordedOp.h154 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localCl…
155 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBas…
156 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint)
157 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip…
167 const Matrix4 localMatrix; member
178 , localMatrix(localMatrix) in RecordedOp()
249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in CirclePropsOp()
251 : RecordedOp(RecordedOpId::CirclePropsOp, Rect(), localMatrix, localClip, paint) in CirclePropsOp()
273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) in FunctorOp()
274 : RecordedOp(RecordedOpId::FunctorOp, Rect(), localMatrix, localClip, nullptr) in FunctorOp()
[all …]
DFrameBuilder.cpp447 Matrix4 shadowMatrixXY(casterNodeOp.localMatrix); in deferShadow()
448 Matrix4 shadowMatrixZ(casterNodeOp.localMatrix); in deferShadow()
546 mCanvasState.concatMatrix(op.localMatrix); in deferRenderNodeOpImpl()
644 op.localMatrix, in deferVectorDrawableOp()
661 op.localMatrix, in deferCirclePropsOp()
735 op.localMatrix, in deferRoundRectPropsOp()
799 Matrix4 combinedMatrix(op.localMatrix); in deferTextureLayerOp()
848 contentTransform.multiply(op.localMatrix); in deferBeginLayerOp()
902 contentTransform.multiply(beginLayerOp.localMatrix); in deferEndLayerOp()
924 Matrix4 localMatrix(beginLayerOp.localMatrix); in deferEndLayerOp() local
[all …]
DOpDumper.cpp34 op.localMatrix.mapRect(localBounds); in dump()
DDisplayList.cpp114 info.damageAccumulator->pushTransform(&op->localMatrix); in prepareListAndChildren()
DBakedOpState.h152 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState()
DSkiaShader.cpp73 const SkMatrix& localMatrix, const mat4& modelViewMatrix) { in computeScreenSpaceMatrix() argument
76 shaderMatrix.loadInverse(localMatrix); in computeScreenSpaceMatrix()
DBakedOpState.cpp36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); in ResolvedRenderState()
DRenderNode.cpp516 localTransformFromProjectionSurface.multiply(opState->localMatrix); in computeOrderingImpl()
DBakedOpDispatcher.cpp789 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint); in renderRectForLayer()
/frameworks/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java121 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local
123 localMatrix = localMatrix.createInverse(); in createContext()
127 localMatrix = new java.awt.geom.AffineTransform(); in createContext()
130 return new SweepGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
141 java.awt.geom.AffineTransform localMatrix, in SweepGradientPaintContext() argument
144 mLocalMatrix = localMatrix; in SweepGradientPaintContext()
DBitmapShader_Delegate.java124 AffineTransform localMatrix = getLocalMatrix(); in createContext() local
126 localMatrix = localMatrix.createInverse(); in createContext()
130 localMatrix = new AffineTransform(); in createContext()
138 return new BitmapShaderContext(canvasMatrix, localMatrix, colorModel); in createContext()
149 AffineTransform localMatrix, in BitmapShaderContext() argument
152 mLocalMatrix = localMatrix; in BitmapShaderContext()
DRadialGradient_Delegate.java128 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local
130 localMatrix = localMatrix.createInverse(); in createContext()
134 localMatrix = new java.awt.geom.AffineTransform(); in createContext()
137 return new RadialGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
148 java.awt.geom.AffineTransform localMatrix, in RadialGradientPaintContext() argument
151 mLocalMatrix = localMatrix; in RadialGradientPaintContext()
DLinearGradient_Delegate.java139 java.awt.geom.AffineTransform localMatrix = getLocalMatrix(); in createContext() local
141 localMatrix = localMatrix.createInverse(); in createContext()
145 localMatrix = new java.awt.geom.AffineTransform(); in createContext()
148 return new LinearGradientPaintContext(canvasMatrix, localMatrix, colorModel); in createContext()
159 java.awt.geom.AffineTransform localMatrix, in LinearGradientPaintContext() argument
162 mLocalMatrix = localMatrix; in LinearGradientPaintContext()
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp188 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
314 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST()
324 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST()
342 ASSERT_TRUE(op.localMatrix.isIdentity()) << "Op must not apply matrix at record time."; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
360 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
367 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST()
397 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix) << "Expect rounded offset"; in OPENGL_PIPELINE_TEST()
438 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
444 EXPECT_TRUE(op.localMatrix.isIdentity()); in OPENGL_PIPELINE_TEST()
494 EXPECT_MATRIX_APPROX_EQ(expectedMatrix, op.localMatrix); in OPENGL_PIPELINE_TEST()
[all …]
DSkiaCanvasTests.cpp63 EXPECT_EQ(directOp->localMatrix, pictureOp->localMatrix); in OPENGL_PIPELINE_TEST()