Home
last modified time | relevance | path

Searched defs:layer (Results 1 – 25 of 112) sorted by relevance

12345

/frameworks/native/services/surfaceflinger/
DClient.cpp45 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) in attachLayer()
51 void Client::detachLayer(const Layer* layer) in detachLayer()
67 wp<Layer> layer(mLayers.valueFor(handle)); in getLayerUser() local
94 const auto& layer = (static_cast<MonitoredProducer*>(parent.get()))->getLayer(); in createWithSurfaceParent() local
105 sp<Layer> layer = getLayerUser(handle); in clearLayerFrameStats() local
114 sp<Layer> layer = getLayerUser(handle); in getLayerFrameStats() local
DSurfaceInterceptor.cpp88 l->traverseInZOrder(LayerVector::StateSet::Drawing, [this](Layer* layer) { in saveExistingSurfacesLocked()
96 const sp<const Layer>& layer) in addInitialSurfaceStateLocked()
156 const sp<const Layer> layer(layerHandle->owner.promote()); in getLayer() local
161 const std::string SurfaceInterceptor::getLayerName(const sp<const Layer>& layer) { in getLayerName()
165 int32_t SurfaceInterceptor::getLayerId(const sp<const Layer>& layer) { in getLayerId()
302 const sp<const Layer>& layer, uint64_t frameNumber) in addDeferTransactionLocked()
326 const sp<const Layer> layer(getLayer(state.surface)); in addSurfaceChangesLocked() local
424 const sp<const Layer>& layer) in addSurfaceCreationLocked()
434 const sp<const Layer>& layer) in addSurfaceDeletionLocked()
440 void SurfaceInterceptor::addBufferUpdateLocked(Increment* increment, const sp<const Layer>& layer, in addBufferUpdateLocked()
[all …]
DLayerVector.cpp64 const auto& layer = (*this)[i]; in traverseInZOrder() local
76 const auto& layer = (*this)[i]; in traverseInReverseZOrder() local
DSurfaceFlinger.cpp1280 mCurrentState.traverseInZOrder([&](Layer* layer) { in getLayerDebugInfo()
1806 for (auto& layer : mLayersPendingRefresh) { in handleMessageInvalidate() local
1827 for (auto& layer : display->getOutputLayersOrderedByZ()) { in calculateWorkingSet() local
1878 for (auto& layer : displayDevice->getVisibleLayersSortedByZ()) { in calculateWorkingSet() local
1912 for (auto& layer : displayDevice->getVisibleLayersSortedByZ()) { in calculateWorkingSet() local
1972 mDrawingState.traverseInZOrder([&](Layer* layer) { in preComposition()
2046 for (auto& layer : mLayersWithQueuedFrames) { in postComposition() local
2086 mDrawingState.traverseInZOrder([&](Layer* layer) { in postComposition()
2192 for (const auto& layer : mDrawingState.layersSortedByZ) { in computeLayerBounds() local
2226 mDrawingState.traverseInZOrder([&](Layer* layer) { in rebuildLayerStacks()
[all …]
/frameworks/base/core/jni/
Dandroid_view_TextureLayer.cpp44 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_prepare() local
53 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_setLayerPaint() local
62 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_setTransform() local
69 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_setSurfaceTexture() local
75 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_updateSurfaceTexture() local
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp246 Layer layer; in EnumerateLayers() local
316 void* LayerLibrary::GetGPA(const Layer& layer, const std::string_view gpa_name) const { in GetGPA() argument
429 for (auto& layer : g_layer_libraries) { in DiscoverLayersInPathList() local
454 void* GetLayerGetProcAddr(const Layer& layer, in GetLayerGetProcAddr()
481 auto layer = in FindLayer() local
489 const VkLayerProperties& GetLayerProperties(const Layer& layer) { in GetLayerProperties()
493 bool IsLayerGlobal(const Layer& layer) { in IsLayerGlobal()
497 const VkExtensionProperties* GetLayerInstanceExtensions(const Layer& layer, in GetLayerInstanceExtensions()
503 const VkExtensionProperties* GetLayerDeviceExtensions(const Layer& layer, in GetLayerDeviceExtensions()
509 const VkExtensionProperties* FindLayerInstanceExtension(const Layer& layer, in FindLayerInstanceExtension()
[all …]
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp180 for (const auto& layer : layers_) { in GetFrame() local
220 for (const auto& layer : layers_) in UpdateLastFrameAndGetLastFrameLayers() local
241 for (const auto& layer : layers_) { in dumpDebugInfo() local
312 HwcLayer* layer = display_ptr->CreateLayer(); in createLayer() local
317 Error VrHwc::destroyLayer(Display display, Layer layer) { in destroyLayer()
661 Error VrHwc::setLayerCursorPosition(Display display, Layer layer, int32_t x, in setLayerCursorPosition()
677 Error VrHwc::setLayerBuffer(Display display, Layer layer, in setLayerBuffer()
696 Error VrHwc::setLayerSurfaceDamage(Display display, Layer layer, in setLayerSurfaceDamage()
711 Error VrHwc::setLayerBlendMode(Display display, Layer layer, int32_t mode) { in setLayerBlendMode()
727 Error VrHwc::setLayerColor(Display display, Layer layer, in setLayerColor()
[all …]
/frameworks/native/opengl/libs/EGL/
DGLES_layers.md108 ### Example Passive Layer Initialization
169 ### Example Active Layer Initialization
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp69 const Layer layer; member
215 Error FakeComposerClient::destroyLayer(Display /*display*/, Layer layer) { in destroyLayer()
386 for (uint64_t layer = 0; layer < mLayers.size(); layer++) { in presentDisplay() local
409 Error FakeComposerClient::setLayerBuffer(Display /*display*/, Layer layer, buffer_handle_t buffer, in setLayerBuffer()
428 Error FakeComposerClient::setLayerBlendMode(Display /*display*/, Layer layer, int32_t mode) { in setLayerBlendMode()
434 Error FakeComposerClient::setLayerColor(Display /*display*/, Layer layer, in setLayerColor()
456 Error FakeComposerClient::setLayerDisplayFrame(Display /*display*/, Layer layer, in setLayerDisplayFrame()
464 Error FakeComposerClient::setLayerPlaneAlpha(Display /*display*/, Layer layer, float alpha) { in setLayerPlaneAlpha()
476 Error FakeComposerClient::setLayerSourceCrop(Display /*display*/, Layer layer, in setLayerSourceCrop()
483 Error FakeComposerClient::setLayerTransform(Display /*display*/, Layer layer, int32_t transform) { in setLayerTransform()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp361 auto layer = createSurface(client, name, width, height, format, flags, parent); in createLayer() local
379 auto layer = client->createSurface(String8(name), width, height, format, flags, parent); in createSurface() local
402 ANativeWindow_Buffer getBufferQueueLayerBuffer(const sp<SurfaceControl>& layer) { in getBufferQueueLayerBuffer()
412 void postBufferQueueLayerBuffer(const sp<SurfaceControl>& layer) { in postBufferQueueLayerBuffer()
419 virtual void fillBufferQueueLayerColor(const sp<SurfaceControl>& layer, const Color& color, in fillBufferQueueLayerColor()
427 virtual void fillBufferStateLayerColor(const sp<SurfaceControl>& layer, const Color& color, in fillBufferStateLayerColor()
438 void fillLayerColor(uint32_t mLayerType, const sp<SurfaceControl>& layer, const Color& color, in fillLayerColor()
452 void fillLayerQuadrant(uint32_t mLayerType, const sp<SurfaceControl>& layer, in fillLayerQuadrant()
470 virtual void fillBufferQueueLayerQuadrant(const sp<SurfaceControl>& layer, int32_t bufferWidth, in fillBufferQueueLayerQuadrant()
489 virtual void fillBufferStateLayerQuadrant(const sp<SurfaceControl>& layer, int32_t bufferWidth, in fillBufferStateLayerQuadrant()
[all …]
/frameworks/ml/nn/common/include/
DTracing.h116 #define NNTRACE_FULL(layer, phase, detail) NNTRACE_NAME_1(("[NN_" layer "_" phase "]" detail)) argument
117 #define NNTRACE_FULL_SWITCH(layer, phase, detail) \ argument
119 #define NNTRACE_FULL_SUBTRACT(layer, phase, detail) \ argument
122 #define NNTRACE_FULL_RAW(layer, phase, detail) \ argument
/frameworks/base/libs/hwui/renderstate/
DRenderState.h51 void registerLayer(Layer* layer) { mActiveLayers.insert(layer); } in registerLayer()
52 void unregisterLayer(Layer* layer) { mActiveLayers.erase(layer); } in unregisterLayer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp325 Error Composer::destroyLayer(Display display, Layer layer) in destroyLayer()
684 Error Composer::setCursorPosition(Display display, Layer layer, in setCursorPosition()
693 Error Composer::setLayerBuffer(Display display, Layer layer, in setLayerBuffer()
719 Error Composer::setLayerSurfaceDamage(Display display, Layer layer, in setLayerSurfaceDamage()
728 Error Composer::setLayerBlendMode(Display display, Layer layer, in setLayerBlendMode()
737 Error Composer::setLayerColor(Display display, Layer layer, in setLayerColor()
746 Error Composer::setLayerCompositionType(Display display, Layer layer, in setLayerCompositionType()
755 Error Composer::setLayerDataspace(Display display, Layer layer, in setLayerDataspace()
764 Error Composer::setLayerDisplayFrame(Display display, Layer layer, in setLayerDisplayFrame()
773 Error Composer::setLayerPlaneAlpha(Display display, Layer layer, in setLayerPlaneAlpha()
[all …]
/frameworks/base/libs/hwui/
DReadback.cpp97 Layer* layer = deferredLayer->backingLayer(); in copyLayerInto() local
145 Layer layer(mRenderThread.renderState(), nullptr, 255, SkBlendMode::kSrc); in copyImageInto() local
159 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto()
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
Dparcelable_composer_layer.h18 ComposerView::ComposerLayer layer() const { return layer_; } in layer() function
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DBlurStack.java96 public LayerInfo getLayerInfo(int layer) { in getLayerInfo()
106 public int getNumDepths(int layer) { in getNumDepths()
122 public int getDepth(int layer, int relativeDepthInLayer) { in getDepth()
275 int layer = 0; in generateOneLayerForEachDepth() local
/frameworks/base/services/core/java/com/android/server/wm/
DBlackFrame.java38 final int layer; field in BlackFrame.BlackSurface
41 BlackSurface(SurfaceControl.Transaction transaction, int layer, in BlackSurface()
116 Rect inner, int layer, DisplayContent dc, boolean forceDefaultOrientation) in BlackFrame()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java128 Rect windowCrop, int layer, float cornerRadius, boolean visible) { in SurfaceParams()
154 public final int layer; field in SyncRtSurfaceTransactionApplier.SurfaceParams
/frameworks/ml/nn/tools/systrace_parser/parser/
Dtree.py28 def push(self, start_time_s, mark, layer, phase, app_phase, subtract): argument
187 def __init__(self, start_time_s, mark, layer, phase, app_phase, subtract): argument
247 def add(self, start_time_s, mark, layer, phase, app_phase, subtract): argument
253 def add_intermediate_parent(self, layer, phase, app_phase): argument
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.cpp47 void DrawFrameTask::pushLayerUpdate(DeferredLayerUpdater* layer) { in pushLayerUpdate()
59 void DrawFrameTask::removeLayerUpdate(DeferredLayerUpdater* layer) { in removeLayerUpdate()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp306 renderengine::LayerSettings layer; in fillBuffer() local
348 renderengine::LayerSettings layer; in fillRedOffsetBuffer() local
482 renderengine::LayerSettings layer; in fillBufferWithLayerTransform() local
513 renderengine::LayerSettings layer; in fillBufferWithColorTransform() local
546 renderengine::LayerSettings layer; in fillRedBufferWithRoundedCorners() local
619 renderengine::LayerSettings layer; in fillRedBufferTextureTransform() local
670 renderengine::LayerSettings layer; in fillRedBufferWithPremultiplyAlpha() local
709 renderengine::LayerSettings layer; in fillRedBufferWithoutPremultiplyAlpha() local
749 renderengine::LayerSettings layer; in clearLeftRegion() local
770 renderengine::LayerSettings layer; in TEST_F() local
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp30 Layer* layer = mLayerUpdater->backingLayer(); in onDraw() local
70 bool LayerDrawable::DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer, in DrawLayer()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSyncRtSurfaceTransactionApplierCompat.java193 Rect windowCrop, int layer, float cornerRadius) { in SurfaceParams()
207 public final int layer; field in SyncRtSurfaceTransactionApplierCompat.SurfaceParams
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp88 Layer layer; in generateLayer() local
216 for (const LayerProtoParser::Layer* layer : layerTree.topLevelLayers) { in layerTreeToString() local
226 std::string LayerProtoParser::layerToString(const LayerProtoParser::Layer* layer) { in layerToString()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2Test.cpp71 hwc2_layer_t layer = itr->second; in TearDown() local
164 void destroyLayer(hwc2_display_t display, hwc2_layer_t layer, in destroyLayer()
360 void setLayerCompositionType(hwc2_display_t display, hwc2_layer_t layer, in setLayerCompositionType()
377 void setCursorPosition(hwc2_display_t display, hwc2_layer_t layer, in setCursorPosition()
395 void setLayerBlendMode(hwc2_display_t display, hwc2_layer_t layer, in setLayerBlendMode()
412 void setLayerBuffer(hwc2_display_t display, hwc2_layer_t layer, in setLayerBuffer()
429 void setLayerColor(hwc2_display_t display, hwc2_layer_t layer, in setLayerColor()
445 void setLayerDataspace(hwc2_display_t display, hwc2_layer_t layer, in setLayerDataspace()
461 void setLayerDisplayFrame(hwc2_display_t display, hwc2_layer_t layer, in setLayerDisplayFrame()
478 void setLayerPlaneAlpha(hwc2_display_t display, hwc2_layer_t layer, in setLayerPlaneAlpha()
[all …]

12345