/frameworks/base/libs/hwui/ |
OpDumper.cpp | 36 if (op.localClip 37 && (!op.localClip->rect.contains(localBounds) || op.localClip->intersectWithRoot)) { 39 << " clip=" << op.localClip->rect 40 << " mode=" << (int)op.localClip->mode; 42 if (op.localClip->intersectWithRoot) {
|
ShadowTessellator.h | 74 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer); 79 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
|
TessellationCache.h | 93 ShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque, 97 , localClip(localClip) 114 const Rect localClip; 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,
|
RecordedOp.h | 153 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint 154 #define BASE_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, nullptr) 169 const ClipBase* localClip; 178 , localClip(localClip) 249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, 251 : RecordedOp(RecordedOpId::CirclePropsOp, Rect(), localMatrix, localClip, paint) 262 ColorOp(const ClipBase* localClip, int color, SkXfermode::Mode mode [all...] |
ShadowTessellator.cpp | 34 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) { 49 if (!localClip.intersects(ambientShadowBounds)) { 64 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) { 99 lightRect.unionWith(localClip);
|
TessellationCache.cpp | 208 const Matrix4* drawTransform, const Rect* localClip, 263 casterBounds, *localClip, maxZ, ambientBuffer); 267 *drawTransform, lightCenter, lightRadius, casterBounds, *localClip, 281 tessellateShadows(&t->drawTransform, &t->localClip, t->opaque, &t->casterPerimeter, 355 void TessellationCache::precacheShadows(const Matrix4* drawTransform, const Rect& localClip, 362 sp<ShadowTask> task = new ShadowTask(drawTransform, localClip, opaque, 372 void TessellationCache::getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip, 379 precacheShadows(drawTransform, localClip, opaque, casterPerimeter, 388 const Matrix4* drawTransform, const Rect& localClip, 395 precacheShadows(drawTransform, localClip, opaque, casterPerimeter [all...] |
BakedOpState.h | 60 const Matrix4& localTransform, const ClipBase* localClip); 151 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip)
|
BakedOpState.cpp | 52 // resolvedClipRect = intersect(parentMatrix * localClip, parentClip) 54 recordedOp.localClip, *(snapshot.transform)); 86 const Matrix4& localTransform, const ClipBase* localClip) { 88 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform));
|
Snapshot.cpp | 91 void Snapshot::clip(const Rect& localClip, SkRegion::Op op) { 93 mClipArea->clipRectWithTransform(localClip, transform, op);
|
Snapshot.h | 128 void clip(const Rect& localClip, SkRegion::Op op);
|
FrameBuilder.cpp | 541 mCanvasState.writableSnapshot()->applyClip(op.localClip, 639 op.localClip, 656 op.localClip, 731 op.localClip, [all...] |
RecordingCanvas.cpp | 627 if (op->localClip && op->localClip->rect.isEmpty()) {
|
BakedOpDispatcher.cpp | [all...] |
/frameworks/base/libs/hwui/tests/microbench/ |
ShadowBench.cpp | 34 Rect localClip; 65 out->localClip = SAMPLE_CLIP; 74 tessellateShadows(&testData.drawTransform, &testData.localClip,
|
/frameworks/base/libs/hwui/tests/unit/ |
OpDumperTests.cpp | 38 op.localClip = &clipRect;
|
RecordingCanvasTests.cpp | 67 EXPECT_CLIP_RECT(Rect(100, 100), dl->getOps()[0]->localClip); 68 EXPECT_CLIP_RECT(Rect(100, 100), dl->getOps()[1]->localClip); 69 EXPECT_EQ(dl->getOps()[0]->localClip, dl->getOps()[1]->localClip) 146 EXPECT_EQ(nullptr, op.localClip); 180 EXPECT_EQ(nullptr, op.localClip); 258 EXPECT_EQ(nullptr, op.localClip); 294 EXPECT_EQ(nullptr, op.localClip); 303 EXPECT_EQ(nullptr, op.localClip); 343 EXPECT_EQ(nullptr, op.localClip); [all...] |
FrameBuilderTests.cpp | [all...] |