Searched refs:offscreenBuffer (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/ |
D | BakedOpRenderer.cpp | 33 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startTemporaryLayer() 40 void BakedOpRenderer::recycleTemporaryLayer(OffscreenBuffer* offscreenBuffer) { in recycleTemporaryLayer() argument 41 mRenderState.layerPool().putOrDelete(offscreenBuffer); in recycleTemporaryLayer() 44 void BakedOpRenderer::startRepaintLayer(OffscreenBuffer* offscreenBuffer, const Rect& repaintRect) { in startRepaintLayer() argument 45 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startRepaintLayer() 49 offscreenBuffer->viewportWidth, offscreenBuffer->viewportHeight)) { in startRepaintLayer() 51 offscreenBuffer->region.clear(); in startRepaintLayer() 53 offscreenBuffer->region.subtractSelf(android::Rect(repaintRect.left, repaintRect.top, in startRepaintLayer() 57 mRenderTarget.offscreenBuffer = offscreenBuffer; in startRepaintLayer() 58 mRenderTarget.offscreenBuffer->hasRenderedSinceRepaint = false; in startRepaintLayer() [all …]
|
D | BakedOpRenderer.h | 72 void recycleTemporaryLayer(OffscreenBuffer* offscreenBuffer); 73 void startRepaintLayer(OffscreenBuffer* offscreenBuffer, const Rect& repaintRect); 90 bool offscreenRenderTarget() { return mRenderTarget.offscreenBuffer != nullptr; } in offscreenRenderTarget() 129 OffscreenBuffer* offscreenBuffer = nullptr; member
|
D | FrameBuilder.h | 125 renderer.startRepaintLayer(layer.offscreenBuffer, layer.repaintRect); in replayBakedOps() 132 layer.offscreenBuffer = renderer.startTemporaryLayer(layer.width, layer.height); in replayBakedOps() 133 temporaryLayers.push_back(layer.offscreenBuffer); in replayBakedOps()
|
D | LayerBuilder.h | 111 OffscreenBuffer* offscreenBuffer; variable
|
D | LayerBuilder.cpp | 206 , offscreenBuffer(renderNode ? renderNode->getLayer() : nullptr) in LayerBuilder() 377 this, width, height, offscreenBuffer, beginLayerOp, in dump()
|
D | FrameBuilder.cpp | 928 &(mLayerBuilders[finishedLayerIndex]->offscreenBuffer)); in deferEndLayerOp()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameBuilderTests.cpp | 837 void recycleTemporaryLayer(OffscreenBuffer* offscreenBuffer) override { in RENDERTHREAD_TEST() argument 839 EXPECT_EQ(nullptr, offscreenBuffer); in RENDERTHREAD_TEST() 908 void recycleTemporaryLayer(OffscreenBuffer* offscreenBuffer) override { in RENDERTHREAD_TEST() argument 912 EXPECT_EQ((OffscreenBuffer*)0x400, offscreenBuffer); in RENDERTHREAD_TEST() 914 EXPECT_EQ((OffscreenBuffer*)0x800, offscreenBuffer); in RENDERTHREAD_TEST() 1205 void recycleTemporaryLayer(OffscreenBuffer* offscreenBuffer) override { in RENDERTHREAD_TEST() argument 1207 EXPECT_EQ((OffscreenBuffer*)0xabcd, offscreenBuffer); in RENDERTHREAD_TEST() 1234 void startRepaintLayer(OffscreenBuffer* offscreenBuffer, const Rect& repaintRect) override { in RENDERTHREAD_TEST() argument 1236 EXPECT_EQ(100u, offscreenBuffer->viewportWidth); in RENDERTHREAD_TEST() 1237 EXPECT_EQ(100u, offscreenBuffer->viewportHeight); in RENDERTHREAD_TEST() [all …]
|