Home
last modified time | relevance | path

Searched refs:ClipBase (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/
DClipArea.h93 struct ClipBase { struct
94 explicit ClipBase(ClipMode mode) : mode(mode) {} in ClipBase() function
95 explicit ClipBase(const Rect& rect) : mode(ClipMode::Rectangle), rect(rect) {} in ClipBase() argument
105 struct ClipRect : ClipBase { argument
106 explicit ClipRect(const Rect& rect) : ClipBase(rect) {} in ClipRect()
109 struct ClipRectList : ClipBase {
111 : ClipBase(ClipMode::RectangleList), rectList(rectList) {} in ClipRectList()
115 struct ClipRegion : ClipBase {
116 explicit ClipRegion(const SkRegion& region) : ClipBase(ClipMode::Region), region(region) {} in ClipRegion()
117 ClipRegion() : ClipBase(ClipMode::Region) {} in ClipRegion()
[all …]
DBakedOpRenderer.h30 struct ClipBase;
43 typedef void (*GlopReceiver)(BakedOpRenderer&, const Rect*, const ClipBase*, const Glop&);
83 void renderGlop(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) { in renderGlop()
105 const ClipBase* clip, const Glop& glop) { in DefaultGlopReceiver()
108 void renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop);
111 void prepareRender(const Rect* dirtyBounds, const ClipBase* clip);
112 void setupStencilRectList(const ClipBase* clip);
113 void setupStencilRegion(const ClipBase* clip);
135 const ClipBase* lastStencilClip = nullptr;
DRecordedOp.h37 struct ClipBase;
151 const Rect &unmappedBounds, const Matrix4 &localMatrix, const ClipBase *localClip, \
154 const Rect &unmappedBounds, const Matrix4 &localMatrix, const ClipBase *localClip
170 const ClipBase* localClip;
242 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in CirclePropsOp()
255 ColorOp(const ClipBase* localClip, int color, SkBlendMode mode) in ColorOp()
266 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) in FunctorOp()
313 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in RoundRectPropsOp()
378 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint, in TextOnPathOp()
DSnapshot.h147 WARN_UNUSED_RESULT const ClipBase* serializeIntersectedClip(
148 LinearAllocator& allocator, const ClipBase* recordedClip,
150 void applyClip(const ClipBase* clip, const Matrix4& transform);
DClipArea.cpp44 void ClipBase::dump() const { in dump()
345 const ClipBase* ClipArea::serializeClip(LinearAllocator& allocator) { in serializeClip()
357 ClipBase* serialization = nullptr; in serializeClip()
379 inline static const RectangleList& getRectList(const ClipBase* scb) { in getRectList()
383 inline static const SkRegion& getRegion(const ClipBase* scb) { in getRegion()
389 static bool cannotFitInRectangleList(const ClipArea& clipArea, const ClipBase* scb) { in cannotFitInRectangleList()
401 const ClipBase* ClipArea::serializeIntersectedClip(LinearAllocator& allocator, in serializeIntersectedClip()
402 const ClipBase* recordedClip, in serializeIntersectedClip()
494 void ClipArea::applyClip(const ClipBase* clip, const Matrix4& transform) { in applyClip()
DBakedOpState.h61 const Matrix4& localTransform, const ClipBase* localClip);
86 const ClipBase* getClipIfNeeded() const { return requiresClip() ? clipState : nullptr; } in getClipIfNeeded()
89 const ClipBase* clipState = nullptr;
DSnapshot.cpp172 const ClipBase* Snapshot::serializeIntersectedClip(LinearAllocator& allocator, in serializeIntersectedClip()
173 const ClipBase* recordedClip, in serializeIntersectedClip()
185 void Snapshot::applyClip(const ClipBase* recordedClip, const Matrix4& transform) { in applyClip()
DFontRenderer.h50 struct ClipBase;
54 TextDrawFunctor(BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, in TextDrawFunctor()
71 const ClipBase* clip;
DBakedOpRenderer.cpp238 void BakedOpRenderer::setupStencilRectList(const ClipBase* clip) { in setupStencilRectList()
273 void BakedOpRenderer::setupStencilRegion(const ClipBase* clip) { in setupStencilRegion()
290 void BakedOpRenderer::prepareRender(const Rect* dirtyBounds, const ClipBase* clip) { in prepareRender()
344 void BakedOpRenderer::renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, in renderGlopImpl()
DFrameBuilder.h190 void defer3dChildren(const ClipBase* reorderClip, ChildrenSelectMode mode,
193 void deferShadow(const ClipBase* reorderClip, const RenderNodeOp& casterOp);
DRecordingCanvas.h39 struct ClipBase;
200 const ClipBase* getRecordedClip() { in getRecordedClip()
312 const ClipBase* mDeferredBarrierClip = nullptr;
DDisplayList.h92 const ClipBase* reorderClip;
DBakedOpState.cpp89 const Matrix4& localTransform, const ClipBase* localClip) { in ResolvedRenderState()
DBakedOpDispatcher.cpp83 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; in onMergedBitmapOps()
184 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; in onMergedPatchOps()
253 const ClipBase* renderClip, TextRenderType renderType) { in renderText()
316 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr; in onMergedTextOps()
DFrameBuilder.cpp338 void FrameBuilder::defer3dChildren(const ClipBase* reorderClip, ChildrenSelectMode mode, in defer3dChildren()
388 void FrameBuilder::deferShadow(const ClipBase* reorderClip, const RenderNodeOp& casterNodeOp) { in deferShadow()
/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp48 const ClipBase* clip, const Glop& glop) { in ValidatingGlopReceiver()