Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordedOp.h397 : SUPER_PAINTLESS(TextureLayerOp), layerHandle(layer) {} in TextureLayerOp()
403 , layerHandle(op.layerHandle) {} in TextureLayerOp()
404 DeferredLayerUpdater* layerHandle; member
441 CopyToLayerOp(const RecordedOp& op, OffscreenBuffer** layerHandle) in CopyToLayerOp()
445 , layerHandle(layerHandle) {} in CopyToLayerOp()
449 OffscreenBuffer** layerHandle; member
454 CopyFromLayerOp(const RecordedOp& op, OffscreenBuffer** layerHandle) in CopyFromLayerOp()
458 , layerHandle(layerHandle) {} in CopyFromLayerOp()
462 OffscreenBuffer** layerHandle; member
473 LayerOp(BASE_PARAMS, OffscreenBuffer** layerHandle) in LayerOp()
[all …]
DRecordingCanvas.cpp561 void RecordingCanvas::drawLayer(DeferredLayerUpdater* layerHandle) { in drawLayer() argument
563 mDisplayList->ref(layerHandle); in drawLayer()
565 LOG_ALWAYS_FATAL_IF(layerHandle->getBackingLayerApi() != Layer::Api::OpenGL); in drawLayer()
569 Rect(layerHandle->getWidth(), layerHandle->getHeight()), in drawLayer()
570 *(mState.currentSnapshot()->transform), getRecordedClip(), layerHandle)); in drawLayer()
DBakedOpDispatcher.cpp780 GlLayer* layer = static_cast<GlLayer*>(op.layerHandle->backingLayer()); in onTextureLayerOp()
811 OffscreenBuffer* buffer = *op.layerHandle; in onLayerOp()
844 LOG_ALWAYS_FATAL_IF(*(op.layerHandle) != nullptr, "layer already exists!"); in onCopyToLayerOp()
845 *(op.layerHandle) = renderer.copyToLayer(state.computedState.clippedBounds); in onCopyToLayerOp()
846 LOG_ALWAYS_FATAL_IF(*op.layerHandle == nullptr, "layer copy failed"); in onCopyToLayerOp()
851 LOG_ALWAYS_FATAL_IF(*op.layerHandle == nullptr, "no layer to draw underneath!"); in onCopyFromLayerOp()
863 OffscreenBuffer& layer = **(op.layerHandle); in onCopyFromLayerOp()
875 renderer.renderState().layerPool().putOrDelete(*op.layerHandle); in onCopyFromLayerOp()
DFrameBuilder.cpp770 GlLayer* layer = static_cast<GlLayer*>(op.layerHandle->backingLayer()); in deferTextureLayerOp()
934 OffscreenBuffer** layerHandle = mAllocator.create<OffscreenBuffer*>(nullptr); in deferBeginUnclippedLayerOp() local
939 auto copyToOp = mAllocator.create_trivial<CopyToLayerOp>(op, layerHandle); in deferBeginUnclippedLayerOp()
954 auto copyFromOp = mAllocator.create_trivial<CopyFromLayerOp>(op, layerHandle); in deferBeginUnclippedLayerOp()
DSkiaCanvas.h144 virtual void drawLayer(uirenderer::DeferredLayerUpdater* layerHandle) override;
DRecordingCanvas.h61 virtual void drawLayer(DeferredLayerUpdater* layerHandle) override;
/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.cpp975 EXPECT_EQ((OffscreenBuffer*)0x400, *op.layerHandle); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
978 EXPECT_EQ((OffscreenBuffer*)0x800, *op.layerHandle); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1274 EXPECT_EQ((OffscreenBuffer*)0xabcd, *op.layerHandle); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1339 OffscreenBuffer** layerHandle = node->getLayerHandle(); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
1343 *layerHandle = &layer; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1361 *layerHandle = nullptr; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1411 OffscreenBuffer* layer = *op.layerHandle; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1417 EXPECT_EQ((OffscreenBuffer*)0xabcd, *op.layerHandle); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
1508 OffscreenBuffer** layerHandle = node->getLayerHandle(); in RENDERTHREAD_OPENGL_PIPELINE_TEST() local
1512 *layerHandle = &layer; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
[all …]
/frameworks/native/services/surfaceflinger/
DClient.cpp157 auto layerHandle = reinterpret_cast<Layer::Handle*>(parentHandle.get()); in createSurface() local
158 parent = layerHandle->owner.promote(); in createSurface()
DSurfaceInterceptor.cpp151 const auto layerHandle(static_cast<const Layer::Handle*>(handle.get())); in getLayer()
152 const sp<const Layer> layer(layerHandle->owner.promote()); in getLayer()
DSurfaceFlinger.cpp4797 auto layerHandle = reinterpret_cast<Layer::Handle*>(layerHandleBinder.get()); in captureLayers() local
4798 auto parent = layerHandle->owner.promote(); in captureLayers()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h316 static status_t captureLayers(const sp<IBinder>& layerHandle, Rect sourceCrop, float frameScale,
318 static status_t captureChildLayers(const sp<IBinder>& layerHandle, Rect sourceCrop,
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp779 status_t ScreenshotClient::captureLayers(const sp<IBinder>& layerHandle, Rect sourceCrop, in captureLayers() argument
783 status_t ret = s->captureLayers(layerHandle, outBuffer, sourceCrop, frameScale, in captureLayers()
788 status_t ScreenshotClient::captureChildLayers(const sp<IBinder>& layerHandle, Rect sourceCrop, in captureChildLayers() argument
792 status_t ret = s->captureLayers(layerHandle, outBuffer, sourceCrop, frameScale, in captureChildLayers()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.h73 virtual void drawLayer(uirenderer::DeferredLayerUpdater* layerHandle) override;
/frameworks/base/libs/hwui/hwui/
DCanvas.h169 virtual void drawLayer(uirenderer::DeferredLayerUpdater* layerHandle) = 0;
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp287 sp<IBinder> layerHandle = ibinderForJavaObject(env, layerHandleToken); in nativeCaptureLayers() local
288 if (layerHandle == NULL) { in nativeCaptureLayers()
298 … status_t res = ScreenshotClient::captureChildLayers(layerHandle, sourceCrop, frameScale, &buffer); in nativeCaptureLayers()