/frameworks/base/libs/hwui/ |
D | OpDumper.cpp | 36 if (op.localClip in dump() 37 && (!op.localClip->rect.contains(localBounds) || op.localClip->intersectWithRoot)) { in dump() 39 << " clip=" << op.localClip->rect in dump() 40 << " mode=" << (int)op.localClip->mode; in dump() 42 if (op.localClip->intersectWithRoot) { in dump()
|
D | RecordedOp.h | 153 …const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* … 154 …_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip 155 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 156 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip… 169 const ClipBase* localClip; member 178 , localClip(localClip) 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() 262 ColorOp(const ClipBase* localClip, int color, SkXfermode::Mode mode) in ColorOp() 263 : RecordedOp(RecordedOpId::ColorOp, Rect(), Matrix4::identity(), localClip, nullptr) in ColorOp() [all …]
|
D | TessellationCache.h | 93 ShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque, in ShadowTask() argument 97 , localClip(localClip) in ShadowTask() 114 const Rect localClip; variable 165 void precacheShadows(const Matrix4* drawTransform, const Rect& localClip, 169 void getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip, 175 sp<ShadowTask> getShadowTask(const Matrix4* drawTransform, const Rect& localClip, 227 const Matrix4* drawTransform, const Rect* localClip,
|
D | TessellationCache.cpp | 208 const Matrix4* drawTransform, const Rect* localClip, in tessellateShadows() argument 263 casterBounds, *localClip, maxZ, ambientBuffer); in tessellateShadows() 267 *drawTransform, lightCenter, lightRadius, casterBounds, *localClip, in tessellateShadows() 281 tessellateShadows(&t->drawTransform, &t->localClip, t->opaque, &t->casterPerimeter, in onProcess() 355 void TessellationCache::precacheShadows(const Matrix4* drawTransform, const Rect& localClip, in precacheShadows() argument 362 sp<ShadowTask> task = new ShadowTask(drawTransform, localClip, opaque, in precacheShadows() 372 void TessellationCache::getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip, in getShadowBuffers() argument 379 precacheShadows(drawTransform, localClip, opaque, casterPerimeter, in getShadowBuffers() 388 const Matrix4* drawTransform, const Rect& localClip, in getShadowTask() argument 395 precacheShadows(drawTransform, localClip, opaque, casterPerimeter, in getShadowTask()
|
D | ShadowTessellator.cpp | 34 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) { in tessellateAmbientShadow() argument 49 if (!localClip.intersects(ambientShadowBounds)) { in tessellateAmbientShadow() 64 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) { in tessellateSpotShadow() argument 99 lightRect.unionWith(localClip); in tessellateSpotShadow()
|
D | ShadowTessellator.h | 74 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer); 79 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
|
D | BakedOpState.cpp | 54 recordedOp.localClip, *(snapshot.transform)); in ResolvedRenderState() 86 const Matrix4& localTransform, const ClipBase* localClip) { in ResolvedRenderState() argument 88 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform)); in ResolvedRenderState()
|
D | BakedOpState.h | 60 const Matrix4& localTransform, const ClipBase* localClip); 151 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState()
|
D | Snapshot.cpp | 91 void Snapshot::clip(const Rect& localClip, SkRegion::Op op) { in clip() argument 93 mClipArea->clipRectWithTransform(localClip, transform, op); in clip()
|
D | FrameBuilder.cpp | 541 mCanvasState.writableSnapshot()->applyClip(op.localClip, in deferRenderNodeOpImpl() 639 op.localClip, in deferVectorDrawableOp() 656 op.localClip, in deferCirclePropsOp() 731 op.localClip, in deferRoundRectPropsOp() 926 beginLayerOp.localClip, in deferEndLayerOp()
|
D | Snapshot.h | 128 void clip(const Rect& localClip, SkRegion::Op op);
|
D | RecordingCanvas.cpp | 609 if (op->localClip && op->localClip->rect.isEmpty()) { in addOp()
|
D | BakedOpDispatcher.cpp | 800 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint); in renderRectForLayer()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | RecordingCanvasTests.cpp | 67 EXPECT_CLIP_RECT(Rect(100, 100), dl->getOps()[0]->localClip); in TEST() 68 EXPECT_CLIP_RECT(Rect(100, 100), dl->getOps()[1]->localClip); in TEST() 69 EXPECT_EQ(dl->getOps()[0]->localClip, dl->getOps()[1]->localClip) in TEST() 125 EXPECT_EQ(nullptr, op.localClip); in TEST() 159 EXPECT_EQ(nullptr, op.localClip); in TEST() 237 EXPECT_EQ(nullptr, op.localClip); in TEST() 273 EXPECT_EQ(nullptr, op.localClip); in TEST() 282 EXPECT_EQ(nullptr, op.localClip); in TEST() 322 EXPECT_EQ(nullptr, op.localClip); in TEST() 327 EXPECT_CLIP_RECT(Rect(180, 160), op.localClip); in TEST() [all …]
|
D | OpDumperTests.cpp | 38 op.localClip = &clipRect; in TEST()
|
D | FrameBuilderTests.cpp | 2190 EXPECT_TRUE(op.localClip->intersectWithRoot); in RENDERTHREAD_TEST()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | ShadowBench.cpp | 34 Rect localClip; member 65 out->localClip = SAMPLE_CLIP; in createShadowTestData() 74 tessellateShadows(&testData.drawTransform, &testData.localClip, in tessellateShadows()
|