/frameworks/base/libs/hwui/ |
H A D | 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) {
|
H A D | 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; member in struct:android::uirenderer::RecordedOp 178 , localClip(localClip) 249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, argument 251 : RecordedOp(RecordedOpId::CirclePropsOp, Rect(), localMatrix, localClip, paint) 262 ColorOp(const ClipBase* localClip, in argument 273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) argument 333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, float* left, float* top, float* right, float* bottom, float *rx, float *ry) argument 402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) argument [all...] |
H A D | ShadowTessellator.h | 74 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer); 79 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
|
H A D | TessellationCache.h | 93 ShadowTask(const Matrix4* drawTransform, const Rect& localClip, bool opaque, argument 97 , localClip(localClip) 114 const Rect localClip; member in class:android::uirenderer::TessellationCache::ShadowTask 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,
|
H A D | 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); 31 tessellateAmbientShadow(bool isCasterOpaque, const Vector3* casterPolygon, int casterVertexCount, const Vector3& centroid3d, const Rect& casterBounds, const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) argument 61 tessellateSpotShadow(bool isCasterOpaque, const Vector3* casterPolygon, int casterVertexCount, const Vector3& casterCentroid, const mat4& receiverTransform, const Vector3& lightCenter, int lightRadius, const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) argument
|
H A D | 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, argument 362 sp<ShadowTask> task = new ShadowTask(drawTransform, localClip, opaque, 372 void TessellationCache::getShadowBuffers(const Matrix4* drawTransform, const Rect& localClip, argument 379 precacheShadows(drawTransform, localClip, opaque, casterPerimeter, 388 const Matrix4* drawTransform, const Rect& localClip, 395 precacheShadows(drawTransform, localClip, opaqu 207 tessellateShadows( const Matrix4* drawTransform, const Rect* localClip, bool isCasterOpaque, const SkPath* casterPerimeter, const Matrix4* casterTransformXY, const Matrix4* casterTransformZ, const Vector3& lightCenter, float lightRadius, VertexBuffer& ambientBuffer, VertexBuffer& spotBuffer) argument 387 getShadowTask( const Matrix4* drawTransform, const Rect& localClip, bool opaque, const SkPath* casterPerimeter, const Matrix4* transformXY, const Matrix4* transformZ, const Vector3& lightCenter, float lightRadius) argument [all...] |
H A D | BakedOpState.h | 60 const Matrix4& localTransform, const ClipBase* localClip); 151 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip)
|
H A D | 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)); 85 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, const Matrix4& localTransform, const ClipBase* localClip) argument
|
H A D | Snapshot.cpp | 91 void Snapshot::clip(const Rect& localClip, SkRegion::Op op) { argument 93 mClipArea->clipRectWithTransform(localClip, transform, op);
|
H A D | Snapshot.h | 128 void clip(const Rect& localClip, SkRegion::Op op);
|
H A D | FrameBuilder.cpp | 541 mCanvasState.writableSnapshot()->applyClip(op.localClip, 639 op.localClip, 656 op.localClip, 731 op.localClip, 926 beginLayerOp.localClip,
|
H A D | RecordingCanvas.cpp | 627 if (op->localClip && op->localClip->rect.isEmpty()) {
|
H A D | BakedOpDispatcher.cpp | 800 RectOp rectOp(op.unmappedBounds, op.localMatrix, op.localClip, &paint);
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | ShadowBench.cpp | 34 Rect localClip; member in struct:ShadowTestData 65 out->localClip = SAMPLE_CLIP; 74 tessellateShadows(&testData.drawTransform, &testData.localClip,
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | OpDumperTests.cpp | 38 op.localClip = &clipRect;
|
H A D | 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...] |
H A D | FrameBuilderTests.cpp | 2220 EXPECT_TRUE(op.localClip->intersectWithRoot);
|