/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.h | 25 struct Layer; 29 explicit LayerRef(const Layer* layer); 37 operator const Layer*() const { return layer_; } 43 const Layer* layer_; 49 const Layer& GetLayer(uint32_t index); 50 const Layer* FindLayer(const char* name); 52 const VkLayerProperties& GetLayerProperties(const Layer& layer); 53 bool IsLayerGlobal(const Layer& layer); 54 const VkExtensionProperties* GetLayerInstanceExtensions(const Layer& layer, 56 const VkExtensionProperties* GetLayerDeviceExtensions(const Layer& layer, [all …]
|
D | layers_extensions.cpp | 53 struct Layer { struct 96 std::vector<Layer>& instance_layers) const; 98 void* GetGPA(const Layer& layer, const std::string_view gpa_name) const; 175 std::vector<Layer>& instance_layers) const { in EnumerateLayers() 245 Layer layer; in EnumerateLayers() 315 void* LayerLibrary::GetGPA(const Layer& layer, const std::string_view gpa_name) const { in GetGPA() 325 std::vector<Layer> g_instance_layers; 453 void* GetLayerGetProcAddr(const Layer& layer, in GetLayerGetProcAddr() 475 const Layer& GetLayer(uint32_t index) { in GetLayer() 479 const Layer* FindLayer(const char* name) { in FindLayer() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 100 TimeStats::SetFrameRateVote frameRateToSetFrameRateVotePayload(Layer::FrameRate frameRate) { in frameRateToSetFrameRateVotePayload() 105 case Layer::FrameRateCompatibility::Default: in frameRateToSetFrameRateVotePayload() 107 case Layer::FrameRateCompatibility::ExactOrMultiple: in frameRateToSetFrameRateVotePayload() 143 Layer::Layer(const LayerCreationArgs& args) in Layer() function in android::Layer 222 void Layer::onFirstRef() { in onFirstRef() 226 Layer::~Layer() { in ~Layer() 270 void Layer::removeRelativeZ(const std::vector<Layer*>& layersInTree) { in removeRelativeZ() 275 sp<Layer> strongRelative = mDrawingState.zOrderRelativeOf.promote(); in removeRelativeZ() 282 strongRelative->removeZOrderRelative(wp<Layer>::fromExisting(this)); in removeRelativeZ() 288 void Layer::removeFromCurrentState() { in removeFromCurrentState() [all …]
|
D | Layer.h | 84 class Layer : public virtual RefBase { 128 wp<Layer> zOrderRelativeOf; 132 SortedVector<wp<Layer>> zOrderRelatives; 137 wp<Layer> touchableRegionCrop; 167 sp<Layer> bgColorLayer; 240 explicit Layer(const LayerCreationArgs& args); 241 virtual ~Layer(); 252 virtual sp<Layer> createClone(uint32_t mirrorRoot); 298 virtual void setChildrenDrawingParent(const sp<Layer>&); 367 bool isOpaque(const Layer::State&) const; [all …]
|
D | LayerRenderArea.h | 30 class Layer; variable 35 LayerRenderArea(SurfaceFlinger& flinger, sp<Layer> layer, const Rect& crop, ui::Size reqSize, 46 virtual sp<Layer> getParentLayer() const { return mLayer; } in getParentLayer() 49 const sp<Layer> mLayer;
|
D | LayerRenderArea.cpp | 29 void reparentForDrawing(const sp<Layer>& oldParent, const sp<Layer>& newParent, in reparentForDrawing() 40 LayerRenderArea::LayerRenderArea(SurfaceFlinger& flinger, sp<Layer> layer, const Rect& crop, in LayerRenderArea() 88 [&](Layer* layer) { layer->updateMirrorInfo({}); }); in render() 90 [&](Layer* layer) { layer->updateCloneBufferInfo(); }); in render()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWC2.cpp | 22 Layer::~Layer() = default; 28 Layer::Layer() = default; 29 Layer::~Layer() = default;
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 41 using android::hardware::graphics::composer::V2_1::Layer; 63 MOCK_METHOD2(createLayer, Error(Display, Layer* outLayer)); 64 MOCK_METHOD2(destroyLayer, Error(Display, Layer)); 67 Error(Display, std::vector<Layer>*, 75 Error(Display, uint32_t*, std::vector<Layer>*, std::vector<uint32_t>*)); 83 MOCK_METHOD3(getReleaseFences, Error(Display, std::vector<Layer>*, std::vector<int>*)); 98 MOCK_METHOD4(setCursorPosition, Error(Display, Layer, int32_t, int32_t)); 99 MOCK_METHOD5(setLayerBuffer, Error(Display, Layer, uint32_t, const sp<GraphicBuffer>&, int)); 101 Error(Display, Layer, const std::vector<uint32_t>&, uint32_t)); 103 Error(Display, Layer, const std::vector<IComposerClient::Rect>&)); [all …]
|
D | MockHWC2.cpp | 28 Layer::Layer() = default; 29 Layer::~Layer() = default;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | GameModeTest.cpp | 54 sp<Layer> createLayer() { in createLayer() 57 return sp<Layer>::make(args); in createLayer() 68 void setGameModeMetadata(sp<Layer> layer, GameMode gameMode) { in setGameModeMetadata() 81 sp<Layer> rootLayer = createLayer(); in TEST_F() 82 sp<Layer> childLayer1 = createLayer(); in TEST_F() 83 sp<Layer> childLayer2 = createLayer(); in TEST_F() 94 sp<Layer> rootLayer = createLayer(); in TEST_F() 95 sp<Layer> childLayer = createLayer(); in TEST_F() 104 sp<Layer> rootLayer = createLayer(); in TEST_F() 105 sp<Layer> childLayer = createLayer(); in TEST_F() [all …]
|
D | FrameRateSelectionPriorityTest.cpp | 55 sp<Layer> createBufferStateLayer(); 56 sp<Layer> createEffectLayer(); 58 void setParent(Layer* child, Layer* parent); 59 void commitTransaction(Layer* layer); 64 sp<Layer> mParent; 65 sp<Layer> mChild; 66 sp<Layer> mGrandChild; 84 sp<Layer> RefreshRateSelectionTest::createBufferStateLayer() { in createBufferStateLayer() 88 return sp<Layer>::make(args); in createBufferStateLayer() 91 sp<Layer> RefreshRateSelectionTest::createEffectLayer() { in createEffectLayer() [all …]
|
D | LayerTestUtils.cpp | 21 sp<Layer> BufferStateLayerFactory::createLayer(TestableSurfaceFlinger& flinger) { in createLayer() 25 return sp<Layer>::make(args); in createLayer() 28 sp<Layer> EffectLayerFactory::createLayer(TestableSurfaceFlinger& flinger) { in createLayer() 31 return sp<Layer>::make(args); in createLayer()
|
D | FpsReporterTest.cpp | 77 sp<Layer> createBufferStateLayer(LayerMetadata metadata); 84 sp<Layer> mParent; 85 sp<Layer> mTarget; 86 sp<Layer> mChild; 87 sp<Layer> mGrandChild; 88 sp<Layer> mUnrelated; 113 sp<Layer> FpsReporterTest::createBufferStateLayer(LayerMetadata metadata = {}) { in createBufferStateLayer() 116 return sp<Layer>::make(args);
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 82 class Layer { 86 std::vector<Layer*> children; 87 std::vector<Layer*> relatives; 107 Layer* parent = 0; 108 Layer* zOrderRelativeOf = 0; 128 std::vector<Layer> allLayers; 131 std::vector<Layer*> topLevelLayers; 138 static std::vector<Layer> generateLayerList(const LayersProto& layersProto); 139 static LayerProtoParser::Layer generateLayer(const LayerProto& layerProto); 147 std::unordered_map<int32_t, Layer*>& layerMap); [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HidlComposerHal.h | 64 using V2_1::Layer; 96 Display display, std::vector<Layer>* outLayers, 101 std::vector<Layer>* outLayers, 105 void takeReleaseFences(Display display, std::vector<Layer>* outLayers, 133 std::vector<Layer> changedLayers; 136 std::vector<Layer> requestedLayers; 141 std::vector<Layer> releasedLayers; 187 Error createLayer(Display display, Layer* outLayer) override; 188 Error destroyLayer(Display display, Layer layer) override; 192 Display display, std::vector<Layer>* outLayers, [all …]
|
D | ComposerHal.h | 76 using V2_1::Layer; 123 virtual Error createLayer(Display display, Layer* outLayer) = 0; 124 virtual Error destroyLayer(Display display, Layer layer) = 0; 127 virtual Error getChangedCompositionTypes(Display display, std::vector<Layer>* outLayers, 136 std::vector<Layer>* outLayers, 145 virtual Error getReleaseFences(Display display, std::vector<Layer>* outLayers, 176 virtual Error setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) = 0; 178 virtual Error setLayerBuffer(Display display, Layer layer, uint32_t slot, 180 virtual Error setLayerBufferSlotsToClear(Display display, Layer layer, 183 virtual Error setLayerSurfaceDamage(Display display, Layer layer, [all …]
|
D | AidlComposerHal.h | 86 Error createLayer(Display display, Layer* outLayer) override; 87 Error destroyLayer(Display display, Layer layer) override; 91 Display display, std::vector<Layer>* outLayers, 101 std::vector<Layer>* outLayers, 110 Error getReleaseFences(Display display, std::vector<Layer>* outLayers, 141 Error setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) override; 143 Error setLayerBuffer(Display display, Layer layer, uint32_t slot, 145 Error setLayerBufferSlotsToClear(Display display, Layer layer, 148 Error setLayerSurfaceDamage(Display display, Layer layer, 150 Error setLayerBlendMode(Display display, Layer layer, IComposerClient::BlendMode mode) override; [all …]
|
D | HWC2.cpp | 128 base::expected<std::shared_ptr<HWC2::Layer>, hal::Error> Display::createLayer() { in createLayer() 136 auto layer = std::make_shared<impl::Layer>(mComposer, mCapabilities, *this, layerId); in createLayer() 162 Error Display::getChangedCompositionTypes(std::unordered_map<HWC2::Layer*, Composition>* outTypes) { in getChangedCompositionTypes() argument 163 std::vector<Hwc2::Layer> layerIds; in getChangedCompositionTypes() 255 std::unordered_map<HWC2::Layer*, LayerRequest>* outLayerRequests) { in getRequests() argument 257 std::vector<Hwc2::Layer> layerIds; in getRequests() 363 Error Display::getReleaseFences(std::unordered_map<HWC2::Layer*, sp<Fence>>* outFences) const { in getReleaseFences() argument 364 std::vector<Hwc2::Layer> layerIds; in getReleaseFences() 373 std::unordered_map<HWC2::Layer*, sp<Fence>> releaseFences; in getReleaseFences() 625 std::shared_ptr<HWC2::Layer> Display::getLayerById(HWLayerId id) const { in getLayerById() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | CachedSetTest.cpp | 91 std::unique_ptr<CachedSet::Layer> cachedSetLayer; 126 std::make_unique<CachedSet::Layer>(testLayer->layerState.get(), kStartTime); in SetUp() 142 void expectEqual(const CachedSet& cachedSet, const CachedSet::Layer& layer) { in expectEqual() 154 CachedSet::Layer layer(&layerState, lastUpdate); in expectEqual() 172 CachedSet::Layer& layer = *mTestLayers[0]->cachedSetLayer.get(); in TEST_F() 186 CachedSet::Layer& layer1 = *mTestLayers[0]->cachedSetLayer.get(); in TEST_F() 187 CachedSet::Layer& layer2 = *mTestLayers[1]->cachedSetLayer.get(); in TEST_F() 207 CachedSet::Layer& layer1 = *mTestLayers[0]->cachedSetLayer.get(); in TEST_F() 208 CachedSet::Layer& layer2 = *mTestLayers[1]->cachedSetLayer.get(); in TEST_F() 209 CachedSet::Layer& layer3 = *mTestLayers[2]->cachedSetLayer.get(); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 46 void setHwcLayer(std::shared_ptr<HWC2::Layer>) override; 56 HWC2::Layer* getHwcLayer() const override; 79 HWC2::Layer*, aidl::android::hardware::graphics::composer3::Composition, uint32_t z); 80 void writeOutputIndependentGeometryStateToHWC(HWC2::Layer*, const LayerFECompositionState&, 82 void writeOutputDependentPerFrameStateToHWC(HWC2::Layer*); 84 HWC2::Layer*, const LayerFECompositionState&, 87 void writeSolidColorStateToHWC(HWC2::Layer*, const LayerFECompositionState&); 88 void writeSidebandStateToHWC(HWC2::Layer*, const LayerFECompositionState&); 89 void writeBufferStateToHWC(HWC2::Layer*, const LayerFECompositionState&, bool skipLayer); 90 void writeCompositionTypeToHWC(HWC2::Layer*,
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 30 Layer::Layer(RenderState& renderState, sk_sp<SkColorFilter> colorFilter, int alpha, in Layer() function in android::uirenderer::Layer 43 Layer::~Layer() { in ~Layer() 47 void Layer::postDecStrong() { in postDecStrong() 51 SkBlendMode Layer::getMode() const { in getMode() 93 void Layer::draw(SkCanvas* canvas) { in draw()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | Update.h | 27 LayerCreatedState(const wp<Layer>& layer, const wp<Layer>& parent, bool addToRoot) in LayerCreatedState() 29 wp<Layer> layer; 32 wp<Layer> initialParent;
|
D | LayerHandle.h | 24 class Layer; variable 39 LayerHandle(const sp<android::SurfaceFlinger>& flinger, const sp<android::Layer>& layer); 46 static sp<android::Layer> getLayer(const sp<IBinder>& handle); 54 sp<android::Layer> mLayer;
|
/frameworks/base/packages/SystemUI/checks/src/com/android/internal/systemui/lint/ |
D | CleanArchitectureDependencyViolationDetector.kt | 68 layer: Layer, in <lambda>() 87 private fun matchingLayer(packageName: String): Layer? { in <lambda>() 89 return Layer.values() in <lambda>() 95 private enum class Layer( in <lambda>() class in com.android.internal.systemui.lint.CleanArchitectureDependencyViolationDetector 97 val canDependOn: Set<Layer>, in <lambda>() 117 fun mayDependOn(otherLayer: Layer): Boolean { in <lambda>()
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.h | 27 class Layer; variable 51 void registerLayer(Layer* layer) { mActiveLayers.insert(layer); } in registerLayer() 52 void unregisterLayer(Layer* layer) { mActiveLayers.erase(layer); } in unregisterLayer() 68 std::set<Layer*> mActiveLayers;
|