/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 | 54 struct Layer { struct 99 std::vector<Layer>& instance_layers) const; 101 void* GetGPA(const Layer& layer, const std::string_view gpa_name) const; 192 std::vector<Layer>& instance_layers) const { in EnumerateLayers() 262 Layer layer; in EnumerateLayers() 332 void* LayerLibrary::GetGPA(const Layer& layer, const std::string_view gpa_name) const { in GetGPA() 342 std::vector<Layer> g_instance_layers; 471 void* GetLayerGetProcAddr(const Layer& layer, in GetLayerGetProcAddr() 493 const Layer& GetLayer(uint32_t index) { in GetLayer() 497 const Layer* FindLayer(const char* name) { in FindLayer() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 105 TimeStats::SetFrameRateVote frameRateToSetFrameRateVotePayload(Layer::FrameRate frameRate) { in frameRateToSetFrameRateVotePayload() 110 case Layer::FrameRateCompatibility::Default: in frameRateToSetFrameRateVotePayload() 112 case Layer::FrameRateCompatibility::ExactOrMultiple: in frameRateToSetFrameRateVotePayload() 149 Layer::Layer(const surfaceflinger::LayerCreationArgs& args) in Layer() function in android::Layer 227 void Layer::onFirstRef() { in onFirstRef() 231 Layer::~Layer() { in ~Layer() 268 void Layer::removeRelativeZ(const std::vector<Layer*>& layersInTree) { in removeRelativeZ() 273 sp<Layer> strongRelative = mDrawingState.zOrderRelativeOf.promote(); in removeRelativeZ() 280 strongRelative->removeZOrderRelative(wp<Layer>::fromExisting(this)); in removeRelativeZ() 286 void Layer::removeFromCurrentState() { in removeFromCurrentState() [all …]
|
D | Layer.h | 81 class Layer : public virtual RefBase { 126 wp<Layer> zOrderRelativeOf; 130 SortedVector<wp<Layer>> zOrderRelatives; 135 wp<Layer> touchableRegionCrop; 166 sp<Layer> bgColorLayer; 241 explicit Layer(const surfaceflinger::LayerCreationArgs& args); 242 virtual ~Layer(); 253 virtual sp<Layer> createClone(); 299 virtual void setChildrenDrawingParent(const sp<Layer>&); 373 bool isOpaque(const Layer::State&) const; [all …]
|
D | LayerRenderArea.h | 30 class Layer; variable 35 LayerRenderArea(sp<Layer> layer, frontend::LayerSnapshot layerSnapshot, const Rect& crop, 45 sp<Layer> getParentLayer() const override { return mLayer; } in getParentLayer() 49 const sp<Layer> mLayer;
|
/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/ |
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 | 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 | 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 | FrameRateSelectionStrategyTest.cpp | 40 using FrameRate = Layer::FrameRate; 41 using FrameRateCompatibility = Layer::FrameRateCompatibility; 57 void addChild(sp<Layer> layer, sp<Layer> child); 58 void removeChild(sp<Layer> layer, sp<Layer> child); 61 std::vector<sp<Layer>> mLayers; 72 void FrameRateSelectionStrategyTest::addChild(sp<Layer> layer, sp<Layer> child) { in addChild() 76 void FrameRateSelectionStrategyTest::removeChild(sp<Layer> layer, sp<Layer> child) { in removeChild()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 41 using android::hardware::graphics::composer::V2_1::Layer; 64 MOCK_METHOD2(createLayer, Error(Display, Layer* outLayer)); 65 MOCK_METHOD2(destroyLayer, Error(Display, Layer)); 68 Error(Display, std::vector<Layer>*, 78 Error(Display, uint32_t*, std::vector<Layer>*, std::vector<uint32_t>*)); 86 MOCK_METHOD3(getReleaseFences, Error(Display, std::vector<Layer>*, std::vector<int>*)); 102 MOCK_METHOD4(setCursorPosition, Error(Display, Layer, int32_t, int32_t)); 103 MOCK_METHOD5(setLayerBuffer, Error(Display, Layer, uint32_t, const sp<GraphicBuffer>&, int)); 105 Error(Display, Layer, const std::vector<uint32_t>&, uint32_t)); 107 Error(Display, Layer, const std::vector<IComposerClient::Rect>&)); [all …]
|
D | MockHWC2.cpp | 28 Layer::Layer() = default; 29 Layer::~Layer() = default;
|
/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; 188 Error createLayer(Display display, Layer* outLayer) override; 189 Error destroyLayer(Display display, Layer layer) override; 193 Display display, std::vector<Layer>* outLayers, [all …]
|
D | ComposerHal.h | 77 using V2_1::Layer; 126 virtual Error createLayer(Display display, Layer* outLayer) = 0; 127 virtual Error destroyLayer(Display display, Layer layer) = 0; 130 virtual Error getChangedCompositionTypes(Display display, std::vector<Layer>* outLayers, 143 std::vector<Layer>* outLayers, 152 virtual Error getReleaseFences(Display display, std::vector<Layer>* outLayers, 186 virtual Error setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) = 0; 188 virtual Error setLayerBuffer(Display display, Layer layer, uint32_t slot, 190 virtual Error setLayerBufferSlotsToClear(Display display, Layer layer, 193 virtual Error setLayerSurfaceDamage(Display display, Layer layer, [all …]
|
D | AidlComposerHal.h | 87 Error createLayer(Display display, Layer* outLayer) override; 88 Error destroyLayer(Display display, Layer layer) override; 92 Display display, std::vector<Layer>* outLayers, 104 std::vector<Layer>* outLayers, 113 Error getReleaseFences(Display display, std::vector<Layer>* outLayers, 146 Error setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) override; 148 Error setLayerBuffer(Display display, Layer layer, uint32_t slot, 150 Error setLayerBufferSlotsToClear(Display display, Layer layer, 153 Error setLayerSurfaceDamage(Display display, Layer layer, 155 Error setLayerBlendMode(Display display, Layer layer, IComposerClient::BlendMode mode) override; [all …]
|
D | HWC2.cpp | 132 base::expected<std::shared_ptr<HWC2::Layer>, hal::Error> Display::createLayer() { in createLayer() 140 auto layer = std::make_shared<impl::Layer>(mComposer, mCapabilities, *this, layerId); in createLayer() 166 Error Display::getChangedCompositionTypes(std::unordered_map<HWC2::Layer*, Composition>* outTypes) { in getChangedCompositionTypes() argument 167 std::vector<Hwc2::Layer> layerIds; in getChangedCompositionTypes() 258 std::unordered_map<HWC2::Layer*, LayerRequest>* outLayerRequests) { in getRequests() argument 260 std::vector<Hwc2::Layer> layerIds; in getRequests() 383 Error Display::getReleaseFences(std::unordered_map<HWC2::Layer*, sp<Fence>>* outFences) const { in getReleaseFences() argument 384 std::vector<Hwc2::Layer> layerIds; in getReleaseFences() 393 std::unordered_map<HWC2::Layer*, sp<Fence>> releaseFences; in getReleaseFences() 633 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/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 perfetto::protos::LayersProto& layersProto); 139 static LayerProtoParser::Layer generateLayer(const perfetto::protos::LayerProto& layerProto); 150 std::unordered_map<int32_t, Layer*>& layerMap); [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 | 29 class Layer; variable 53 void registerLayer(Layer* layer) { mActiveLayers.insert(layer); } in registerLayer() 54 void unregisterLayer(Layer* layer) { mActiveLayers.erase(layer); } in unregisterLayer() 70 std::set<Layer*> mActiveLayers;
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockLayer.h | 24 class MockLayer : public Layer { 27 : Layer(LayerCreationArgs(flinger, nullptr, std::move(name), 0, {})) { in MockLayer() 33 : Layer(LayerCreationArgs(flinger, nullptr, std::move(name), 0, {}, uid)) { in MockLayer() 43 MOCK_METHOD0(createClone, sp<Layer>());
|