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

/frameworks/base/libs/hwui/
H A DClipArea.h99 struct ClipBase { struct in namespace:android::uirenderer
100 explicit ClipBase(ClipMode mode) function in struct:android::uirenderer::ClipBase
102 explicit ClipBase(const Rect& rect) function in struct:android::uirenderer::ClipBase
114 struct ClipRect : ClipBase {
116 : ClipBase(rect) {}
119 struct ClipRectList : ClipBase {
121 : ClipBase(ClipMode::RectangleList)
126 struct ClipRegion : ClipBase {
128 : ClipBase(ClipMode::Region)
131 : ClipBase(ClipMod
[all...]
H A DBakedOpRenderer.h30 struct ClipBase;
43 typedef void (*GlopReceiver)(BakedOpRenderer&, const Rect*, const ClipBase*, const Glop&);
87 void renderGlop(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop) {
107 const ClipBase* clip, const Glop& glop) {
110 void renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip, const Glop& glop);
113 void prepareRender(const Rect* dirtyBounds, const ClipBase* clip);
114 void setupStencilRectList(const ClipBase* clip);
115 void setupStencilRegion(const ClipBase* clip);
136 const ClipBase* lastStencilClip = nullptr;
H A DRecordedOp.h37 struct ClipBase;
154 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint
155 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip
170 const ClipBase* localClip;
249 CirclePropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint,
262 ColorOp(const ClipBase* localClip, int color, SkBlendMode mode)
273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor)
333 RoundRectPropsOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint,
402 TextOnPathOp(const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint,
H A DBakedOpState.h60 const Matrix4& localTransform, const ClipBase* localClip);
87 const ClipBase* getClipIfNeeded() const {
92 const ClipBase* clipState = nullptr;
H A DSnapshot.h150 WARN_UNUSED_RESULT const ClipBase* serializeIntersectedClip(LinearAllocator& allocator,
151 const ClipBase* recordedClip, const Matrix4& recordedClipTransform);
152 void applyClip(const ClipBase* clip, const Matrix4& transform);
H A DClipArea.cpp44 void ClipBase::dump() const {
361 const ClipBase* ClipArea::serializeClip(LinearAllocator& allocator) {
373 ClipBase* serialization = nullptr;
395 inline static const RectangleList& getRectList(const ClipBase* scb) {
399 inline static const SkRegion& getRegion(const ClipBase* scb) {
405 static bool cannotFitInRectangleList(const ClipArea& clipArea, const ClipBase* scb) {
417 const ClipBase* ClipArea::serializeIntersectedClip(LinearAllocator& allocator,
418 const ClipBase* recordedClip, const Matrix4& recordedClipTransform) {
512 void ClipArea::applyClip(const ClipBase* clip, const Matrix4& transform) {
H A DFontRenderer.h50 struct ClipBase;
57 const ClipBase* clip,
75 const ClipBase* clip;
H A DSnapshot.cpp172 const ClipBase* Snapshot::serializeIntersectedClip(LinearAllocator& allocator,
173 const ClipBase* recordedClip, const Matrix4& recordedClipTransform) {
184 void Snapshot::applyClip(const ClipBase* recordedClip, const Matrix4& transform) {
H A DBakedOpRenderer.cpp239 void BakedOpRenderer::setupStencilRectList(const ClipBase* clip) {
273 void BakedOpRenderer::setupStencilRegion(const ClipBase* clip) {
290 void BakedOpRenderer::prepareRender(const Rect* dirtyBounds, const ClipBase* clip) {
344 void BakedOpRenderer::renderGlopImpl(const Rect* dirtyBounds, const ClipBase* clip,
H A DDisplayList.h91 const ClipBase* reorderClip;
H A DFrameBuilder.h196 void defer3dChildren(const ClipBase* reorderClip, ChildrenSelectMode mode,
199 void deferShadow(const ClipBase* reorderClip, const RenderNodeOp& casterOp);
H A DRecordingCanvas.h39 struct ClipBase;
202 const ClipBase* getRecordedClip() {
315 const ClipBase* mDeferredBarrierClip = nullptr;
H A DBakedOpState.cpp88 const Matrix4& localTransform, const ClipBase* localClip) {
H A DBakedOpDispatcher.cpp83 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr;
187 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr;
260 const ClipBase* renderClip, TextRenderType renderType) {
323 const ClipBase* clip = opList.clipSideFlags ? &renderTargetClip : nullptr;
H A DFrameBuilder.cpp345 void FrameBuilder::defer3dChildren(const ClipBase* reorderClip, ChildrenSelectMode mode,
396 void FrameBuilder::deferShadow(const ClipBase* reorderClip, const RenderNodeOp& casterNodeOp) {
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp46 const ClipBase* clip, const Glop& glop) {

Completed in 140 milliseconds