Home
last modified time | relevance | path

Searched refs:layerHandle (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/
DRecordedOp.h468 CopyToLayerOp(const RecordedOp& op, OffscreenBuffer** layerHandle) in CopyToLayerOp()
474 , layerHandle(layerHandle) {} in CopyToLayerOp()
478 OffscreenBuffer** layerHandle; member
484 CopyFromLayerOp(const RecordedOp& op, OffscreenBuffer** layerHandle) in CopyFromLayerOp()
490 , layerHandle(layerHandle) {} in CopyFromLayerOp()
494 OffscreenBuffer** layerHandle; member
505 LayerOp(BASE_PARAMS, OffscreenBuffer** layerHandle) in LayerOp()
507 , layerHandle(layerHandle) in LayerOp()
514 , layerHandle(node.getLayerHandle()) in LayerOp()
521 OffscreenBuffer** layerHandle; member
DRecordingCanvas.cpp584 void RecordingCanvas::drawLayer(DeferredLayerUpdater* layerHandle) { in drawLayer() argument
586 mDisplayList->ref(layerHandle); in drawLayer()
591 Rect(layerHandle->getWidth(), layerHandle->getHeight()), in drawLayer()
594 layerHandle->backingLayer())); in drawLayer()
DBakedOpDispatcher.cpp806 OffscreenBuffer* buffer = *op.layerHandle; in onLayerOp()
837 LOG_ALWAYS_FATAL_IF(*(op.layerHandle) != nullptr, "layer already exists!"); in onCopyToLayerOp()
838 *(op.layerHandle) = renderer.copyToLayer(state.computedState.clippedBounds); in onCopyToLayerOp()
839 LOG_ALWAYS_FATAL_IF(*op.layerHandle == nullptr, "layer copy failed"); in onCopyToLayerOp()
843 LOG_ALWAYS_FATAL_IF(*op.layerHandle == nullptr, "no layer to draw underneath!"); in onCopyFromLayerOp()
854 OffscreenBuffer& layer = **(op.layerHandle); in onCopyFromLayerOp()
866 renderer.renderState().layerPool().putOrDelete(*op.layerHandle); in onCopyFromLayerOp()
DDisplayListCanvas.cpp222 void DisplayListCanvas::drawLayer(DeferredLayerUpdater* layerHandle) { in drawLayer() argument
225 mDisplayList->ref(layerHandle); in drawLayer()
226 addDrawOp(new (alloc()) DrawLayerOp(layerHandle->backingLayer())); in drawLayer()
DFrameBuilder.cpp957 OffscreenBuffer** layerHandle = mAllocator.create<OffscreenBuffer*>(nullptr); in deferBeginUnclippedLayerOp() local
962 auto copyToOp = mAllocator.create_trivial<CopyToLayerOp>(op, layerHandle); in deferBeginUnclippedLayerOp()
977 auto copyFromOp = mAllocator.create_trivial<CopyFromLayerOp>(op, layerHandle); in deferBeginUnclippedLayerOp()
DDisplayListCanvas.h94 virtual void drawLayer(DeferredLayerUpdater* layerHandle) override;
DRecordingCanvas.h60 virtual void drawLayer(DeferredLayerUpdater* layerHandle) override;
DSkiaCanvas.cpp161 virtual void drawLayer(uirenderer::DeferredLayerUpdater* layerHandle) override;
/frameworks/base/core/jni/android/graphics/
DRasterizer.cpp80 …static void addLayer(JNIEnv* env, jobject, jlong layerHandle, jlong paintHandle, jfloat dx, jfloat… in addLayer() argument
81 NativeLayerRasterizer* nr = reinterpret_cast<NativeLayerRasterizer *>(layerHandle); in addLayer()
/frameworks/base/libs/hwui/tests/unit/
DBakedOpDispatcherTests.cpp207 OffscreenBuffer** layerHandle = node->getLayerHandle(); in validateLayerDraw() local
213 *layerHandle = &layer; in validateLayerDraw()
227 *layerHandle = nullptr; in validateLayerDraw()
DFrameBuilderTests.cpp901 EXPECT_EQ((OffscreenBuffer*)0x400, *op.layerHandle); in RENDERTHREAD_TEST()
904 EXPECT_EQ((OffscreenBuffer*)0x800, *op.layerHandle); in RENDERTHREAD_TEST()
1200 EXPECT_EQ((OffscreenBuffer*)0xabcd, *op.layerHandle); in RENDERTHREAD_TEST()
1270 OffscreenBuffer** layerHandle = node->getLayerHandle(); in RENDERTHREAD_TEST() local
1274 *layerHandle = &layer; in RENDERTHREAD_TEST()
1292 *layerHandle = nullptr; in RENDERTHREAD_TEST()
1338 OffscreenBuffer* layer = *op.layerHandle; in RENDERTHREAD_TEST()
1344 EXPECT_EQ((OffscreenBuffer*)0xabcd, *op.layerHandle); in RENDERTHREAD_TEST()
1438 OffscreenBuffer** layerHandle = node->getLayerHandle(); in RENDERTHREAD_TEST() local
1442 *layerHandle = &layer; in RENDERTHREAD_TEST()
[all …]
/frameworks/base/libs/hwui/hwui/
DCanvas.h126 virtual void drawLayer(uirenderer::DeferredLayerUpdater* layerHandle) = 0;