/frameworks/base/libs/hwui/ |
D | OpDumper.cpp | 37 if (op.localClip && in dump() 38 (!op.localClip->rect.contains(localBounds) || op.localClip->intersectWithRoot)) { in dump() 39 output << std::fixed << std::setprecision(0) << " clip=" << op.localClip->rect in dump() 40 << " mode=" << (int)op.localClip->mode; in dump() 42 if (op.localClip->intersectWithRoot) { in dump()
|
D | RecordedOp.h | 151 const Rect &unmappedBounds, const Matrix4 &localMatrix, const ClipBase *localClip, \ 154 const Rect &unmappedBounds, const Matrix4 &localMatrix, const ClipBase *localClip 155 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 157 RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, nullptr) 170 const ClipBase* localClip; member 180 , localClip(localClip) in RecordedOp() 242 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in CirclePropsOp() 244 : RecordedOp(RecordedOpId::CirclePropsOp, Rect(), localMatrix, localClip, paint) in CirclePropsOp() 255 ColorOp(const ClipBase* localClip, int color, SkBlendMode mode) in ColorOp() 256 : RecordedOp(RecordedOpId::ColorOp, Rect(), Matrix4::identity(), localClip, nullptr) in ColorOp() [all …]
|
D | TessellationCache.h | 92 ShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque, in ShadowTask() argument 96 , localClip(localClip) in ShadowTask() 112 const Rect localClip; variable 162 sp<ShadowTask> getShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque, 174 void precacheShadows(const Matrix4* drawTransform, const Rect& localClip, bool opaque, 219 void tessellateShadows(const Matrix4* drawTransform, const Rect* localClip, bool isCasterOpaque,
|
D | ShadowTessellator.cpp | 33 const Rect& casterBounds, const Rect& localClip, in tessellateAmbientShadow() argument 49 if (!localClip.intersects(ambientShadowBounds)) { in tessellateAmbientShadow() 64 const Rect& casterBounds, const Rect& localClip, in tessellateSpotShadow() argument 99 lightRect.unionWith(localClip); in tessellateSpotShadow()
|
D | TessellationCache.cpp | 200 void tessellateShadows(const Matrix4* drawTransform, const Rect* localClip, bool isCasterOpaque, in tessellateShadows() argument 251 centroid3d, casterBounds, *localClip, maxZ, in tessellateShadows() 256 casterBounds, *localClip, spotBuffer); in tessellateShadows() 269 tessellateShadows(&t->drawTransform, &t->localClip, t->opaque, &t->casterPerimeter, in onProcess() 343 void TessellationCache::precacheShadows(const Matrix4* drawTransform, const Rect& localClip, in precacheShadows() argument 350 sp<ShadowTask> task = new ShadowTask(drawTransform, localClip, opaque, casterPerimeter, in precacheShadows() 361 const Matrix4* drawTransform, const Rect& localClip, bool opaque, in getShadowTask() argument 367 precacheShadows(drawTransform, localClip, opaque, casterPerimeter, transformXY, transformZ, in getShadowTask()
|
D | ShadowTessellator.h | 73 const Rect& casterBounds, const Rect& localClip, float maxZ, 80 const Rect& localClip, VertexBuffer& shadowVertexBuffer);
|
D | BakedOpState.cpp | 56 clipState = snapshot.serializeIntersectedClip(allocator, recordedOp.localClip, in ResolvedRenderState() 89 const Matrix4& localTransform, const ClipBase* localClip) { in ResolvedRenderState() argument 91 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform)); in ResolvedRenderState()
|
D | BakedOpState.h | 61 const Matrix4& localTransform, const ClipBase* localClip); 150 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState()
|
D | Snapshot.cpp | 75 void Snapshot::clip(const Rect& localClip, SkClipOp op) { in clip() argument 77 mClipArea->clipRectWithTransform(localClip, transform, static_cast<SkRegion::Op>(op)); in clip()
|
D | Snapshot.h | 108 void clip(const Rect& localClip, SkClipOp op);
|
D | FrameBuilder.cpp | 530 mCanvasState.writableSnapshot()->applyClip(op.localClip, in deferRenderNodeOpImpl() 629 op.unmappedBounds, op.localMatrix, op.localClip, paint, &bitmap, in deferVectorDrawableOp() 642 op.localClip, op.paint); in deferCirclePropsOp() 714 Rect(*(op.left), *(op.top), *(op.right), *(op.bottom)), op.localMatrix, op.localClip, in deferRoundRectPropsOp() 903 beginLayerOp.unmappedBounds, localMatrix, beginLayerOp.localClip, beginLayerOp.paint, in deferEndLayerOp()
|
D | RecordingCanvas.cpp | 582 if (op->localClip && op->localClip->rect.isEmpty()) { in addOp()
|
D | BakedOpDispatcher.cpp | 804 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint); in renderRectForLayer()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | RecordingCanvasTests.cpp | 74 EXPECT_CLIP_RECT(Rect(100, 100), dl->getOps()[0]->localClip); in OPENGL_PIPELINE_TEST() 75 EXPECT_CLIP_RECT(Rect(100, 100), dl->getOps()[1]->localClip); in OPENGL_PIPELINE_TEST() 76 EXPECT_EQ(dl->getOps()[0]->localClip, dl->getOps()[1]->localClip) in OPENGL_PIPELINE_TEST() 152 EXPECT_EQ(nullptr, op.localClip); in OPENGL_PIPELINE_TEST() 185 EXPECT_EQ(nullptr, op.localClip); in OPENGL_PIPELINE_TEST() 271 EXPECT_EQ(nullptr, op.localClip); in OPENGL_PIPELINE_TEST() 306 EXPECT_EQ(nullptr, op.localClip); in OPENGL_PIPELINE_TEST() 315 EXPECT_EQ(nullptr, op.localClip); in OPENGL_PIPELINE_TEST() 354 EXPECT_EQ(nullptr, op.localClip); in OPENGL_PIPELINE_TEST() 359 EXPECT_CLIP_RECT(Rect(180, 160), op.localClip); in OPENGL_PIPELINE_TEST() [all …]
|
D | OpDumperTests.cpp | 38 op.localClip = &clipRect; in TEST()
|
D | FrameBuilderTests.cpp | 2314 EXPECT_TRUE(op.localClip->intersectWithRoot); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | ShadowBench.cpp | 34 Rect localClip; member 56 out->localClip = SAMPLE_CLIP; in createShadowTestData() 65 tessellateShadows(&testData.drawTransform, &testData.localClip, opaque, &shape, in tessellateShadows()
|