Home
last modified time | relevance | path

Searched refs:repaintRect (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
DBakedOpRenderer.cpp44 void BakedOpRenderer::startRepaintLayer(OffscreenBuffer* offscreenBuffer, const Rect& repaintRect) { in startRepaintLayer() argument
48 if (repaintRect.contains(0, 0, in startRepaintLayer()
53 offscreenBuffer->region.subtractSelf(android::Rect(repaintRect.left, repaintRect.top, in startRepaintLayer()
54 repaintRect.right, repaintRect.bottom)); in startRepaintLayer()
80 clearColorBuffer(repaintRect); in startRepaintLayer()
117 void BakedOpRenderer::startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) { in startFrame() argument
123 clearColorBuffer(repaintRect); in startFrame()
129 void BakedOpRenderer::endFrame(const Rect& repaintRect) { in endFrame() argument
131 ClipRect overdrawClip(repaintRect); in endFrame()
DLayerBuilder.h75 LayerBuilder(uint32_t width, uint32_t height, const Rect& repaintRect) in LayerBuilder() argument
76 : LayerBuilder(width, height, repaintRect, nullptr, nullptr) {}; in LayerBuilder()
81 const Rect& repaintRect, const BeginLayerOp* beginLayerOp, RenderNode* renderNode);
109 const Rect repaintRect; variable
DFrameBuilder.h125 renderer.startRepaintLayer(layer.offscreenBuffer, layer.repaintRect); in replayBakedOps()
144 renderer.startFrame(fbo0.width, fbo0.height, fbo0.repaintRect); in replayBakedOps()
148 renderer.endFrame(fbo0.repaintRect); in replayBakedOps()
177 const Rect& repaintRect,
DBakedOpRenderer.h69 void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect);
70 void endFrame(const Rect& repaintRect);
73 void startRepaintLayer(OffscreenBuffer* offscreenBuffer, const Rect& repaintRect);
DLayerBuilder.cpp201 const Rect& repaintRect, const BeginLayerOp* beginLayerOp, RenderNode* renderNode) in LayerBuilder() argument
204 , repaintRect(repaintRect) in LayerBuilder()
205 , repaintClip(repaintRect) in LayerBuilder()
247 && bakedState->computedState.clippedBounds.contains(repaintRect) in onDeferOp()
DFrameBuilder.cpp805 const Rect& repaintRect, in saveForLayer() argument
815 repaintRect.left, repaintRect.top, repaintRect.right, repaintRect.bottom); in saveForLayer()
820 repaintRect, beginLayerOp, renderNode); in saveForLayer()
/frameworks/base/libs/hwui/tests/unit/
DFrameBuilderTests.cpp55 virtual void startRepaintLayer(OffscreenBuffer*, const Rect& repaintRect) { in startRepaintLayer() argument
61 virtual void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) {} in startFrame() argument
62 virtual void endFrame(const Rect& repaintRect) {} in endFrame() argument
114 void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument
125 void endFrame(const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument
324 void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument
327 void endFrame(const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument
342 void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument
345 void endFrame(const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument
884 void startFrame(uint32_t width, uint32_t height, const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument
[all …]