/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 | 77 std::atomic<int32_t> Layer::sSequence{1}; 79 Layer::Layer(const LayerCreationArgs& args) in Layer() function in android::Layer 141 void Layer::onFirstRef() { in onFirstRef() 145 Layer::~Layer() { in ~Layer() 178 void Layer::onLayerDisplayed(const sp<Fence>& /*releaseFence*/) {} in onLayerDisplayed() 180 void Layer::removeRemoteSyncPoints() { in removeRemoteSyncPoints() 193 void Layer::removeRelativeZ(const std::vector<Layer*>& layersInTree) { in removeRelativeZ() 198 sp<Layer> strongRelative = mCurrentState.zOrderRelativeOf.promote(); in removeRelativeZ() 211 void Layer::removeFromCurrentState() { in removeFromCurrentState() 232 sp<Layer> Layer::getRootLayer() { in getRootLayer() [all …]
|
D | Layer.h | 95 class Layer : public virtual RefBase, compositionengine::LayerFE { 201 wp<Layer> barrierLayer_legacy; 213 wp<Layer> zOrderRelativeOf; 217 SortedVector<wp<Layer>> zOrderRelatives; 225 wp<Layer> touchableRegionCrop; 254 sp<Layer> bgColorLayer; 284 explicit Layer(const LayerCreationArgs& args); 285 virtual ~Layer(); 364 virtual void deferTransactionUntil_legacy(const sp<Layer>& barrierLayer, uint64_t frameNumber); 368 void reparentChildren(const sp<Layer>& newParent); [all …]
|
D | SurfaceInterceptor.h | 36 class Layer; variable 56 virtual void enable(const SortedVector<sp<Layer>>& layers, 68 virtual void saveSurfaceCreation(const sp<const Layer>& layer) = 0; 69 virtual void saveSurfaceDeletion(const sp<const Layer>& layer) = 0; 92 void enable(const SortedVector<sp<Layer>>& layers, 103 void saveSurfaceCreation(const sp<const Layer>& layer) override; 104 void saveSurfaceDeletion(const sp<const Layer>& layer) override; 120 void saveExistingSurfacesLocked(const SortedVector<sp<Layer>>& layers); 121 void addInitialSurfaceStateLocked(Increment* increment, const sp<const Layer>& layer); 125 const sp<const Layer> getLayer(const wp<const IBinder>& weakHandle) const; [all …]
|
D | BufferStateLayer.h | 52 uint32_t doTransactionResize(uint32_t flags, Layer::State* /*stateToCommit*/) override { in doTransactionResize() 58 bool applyPendingStates(Layer::State* stateToCommit) override; 60 uint32_t getActiveWidth(const Layer::State& s) const override { return s.active.w; } in getActiveWidth() 61 uint32_t getActiveHeight(const Layer::State& s) const override { return s.active.h; } in getActiveHeight() 62 ui::Transform getActiveTransform(const Layer::State& s) const override { in getActiveTransform() 65 Region getActiveTransparentRegion(const Layer::State& s) const override { in getActiveTransparentRegion() 68 Rect getCrop(const Layer::State& s) const; 99 void deferTransactionUntil_legacy(const sp<Layer>& /*barrierLayer*/, in deferTransactionUntil_legacy() argument 104 Layer::RoundedCornerState getRoundedCornerState() const override; 139 sp<Layer> createClone() override;
|
D | LayerRejecter.h | 26 LayerRejecter(Layer::State& front, Layer::State& current, bool& recomputeVisibleRegions, 33 Layer::State& mFront; 34 Layer::State& mCurrent;
|
D | Client.cpp | 49 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) in attachLayer() 55 void Client::detachLayer(const Layer* layer) in detachLayer() 67 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const in getLayerUser() 70 sp<Layer> lbc; in getLayerUser() 71 wp<Layer> layer(mLayers.valueFor(handle)); in getLayerUser() 114 sp<Layer> layer = getLayerUser(handle); in clearLayerFrameStats() 123 sp<Layer> layer = getLayerUser(handle); in getLayerFrameStats()
|
D | Client.h | 33 class Layer; variable 47 void attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer); 48 void detachLayer(const Layer* layer); 50 sp<Layer> getLayerUser(const sp<IBinder>& handle) const; 77 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 42 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>*, std::vector<IComposerClient::Composition>*)); 74 Error(Display, uint32_t*, std::vector<Layer>*, std::vector<uint32_t>*)); 81 MOCK_METHOD3(getReleaseFences, Error(Display, std::vector<Layer>*, std::vector<int>*)); 95 MOCK_METHOD4(setCursorPosition, Error(Display, Layer, int32_t, int32_t)); 96 MOCK_METHOD5(setLayerBuffer, Error(Display, Layer, uint32_t, const sp<GraphicBuffer>&, int)); 98 Error(Display, Layer, const std::vector<IComposerClient::Rect>&)); 99 MOCK_METHOD3(setLayerBlendMode, Error(Display, Layer, IComposerClient::BlendMode)); [all …]
|
D | MockDisplay.h | 23 using android::HWC2::Layer; 33 using Layer = ::Layer; 44 MOCK_METHOD1(createLayer, hal::Error(Layer**)); 45 MOCK_METHOD1(destroyLayer, hal::Error(Layer*)); 49 hal::Error(std::unordered_map<Layer*, hal::Composition>*)); 60 hal::Error(hal::DisplayRequest*, std::unordered_map<Layer*, hal::LayerRequest>*)); 71 hal::Error(std::unordered_map<Layer*, android::sp<android::Fence>>* outFences));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.h | 72 using V2_1::Layer; 114 virtual Error createLayer(Display display, Layer* outLayer) = 0; 115 virtual Error destroyLayer(Display display, Layer layer) = 0; 119 Display display, std::vector<Layer>* outLayers, 128 std::vector<Layer>* outLayers, 136 virtual Error getReleaseFences(Display display, std::vector<Layer>* outLayers, 167 virtual Error setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) = 0; 169 virtual Error setLayerBuffer(Display display, Layer layer, uint32_t slot, 171 virtual Error setLayerSurfaceDamage(Display display, Layer layer, 173 virtual Error setLayerBlendMode(Display display, Layer layer, [all …]
|
D | HWC2.cpp | 141 Error Display::createLayer(HWC2::Layer** outLayer) { in createLayer() 152 auto layer = std::make_unique<impl::Layer>(mComposer, mCapabilities, mId, layerId); in createLayer() 158 Error Display::destroyLayer(HWC2::Layer* layer) { in destroyLayer() 253 Error Display::getChangedCompositionTypes(std::unordered_map<HWC2::Layer*, Composition>* outTypes) { in getChangedCompositionTypes() argument 254 std::vector<Hwc2::Layer> layerIds; in getChangedCompositionTypes() 355 std::unordered_map<HWC2::Layer*, LayerRequest>* outLayerRequests) { in getRequests() argument 357 std::vector<Hwc2::Layer> layerIds; in getRequests() 446 Error Display::getReleaseFences(std::unordered_map<HWC2::Layer*, sp<Fence>>* outFences) const { in getReleaseFences() argument 447 std::vector<Hwc2::Layer> layerIds; in getReleaseFences() 456 std::unordered_map<HWC2::Layer*, sp<Fence>> releaseFences; in getReleaseFences() [all …]
|
/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/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 80 class Layer { 84 std::vector<Layer*> children; 85 std::vector<Layer*> relatives; 105 Layer* parent = 0; 106 Layer* zOrderRelativeOf = 0; 124 std::vector<Layer> allLayers; 127 std::vector<Layer*> topLevelLayers; 134 static std::vector<Layer> generateLayerList(const LayersProto& layersProto); 135 static LayerProtoParser::Layer generateLayer(const LayerProto& layerProto); 143 std::unordered_map<int32_t, Layer*>& layerMap); [all …]
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.h | 44 using android::hardware::graphics::composer::V2_1::Layer; 73 Layer id; 129 explicit HwcLayer(Layer new_id) { info.id = new_id; } in HwcLayer() 147 bool DestroyLayer(Layer id); 148 HwcLayer* GetLayer(Layer id); 155 std::vector<Layer>* layer_ids, 160 std::vector<Layer> UpdateLastFrameAndGetLastFrameLayers(); 189 std::vector<Layer> last_frame_layers_ids_; 213 Error setLayerInfo(Display display, Layer layer, uint32_t type, 218 Display display, Layer layer, [all …]
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 25 Layer::Layer(RenderState& renderState, sk_sp<SkColorFilter> colorFilter, int alpha, in Layer() function in android::uirenderer::Layer 39 Layer::~Layer() { in ~Layer() 43 void Layer::postDecStrong() { in postDecStrong() 47 SkBlendMode Layer::getMode() const { in getMode()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 40 void setHwcLayer(std::shared_ptr<HWC2::Layer>) override; 47 HWC2::Layer* getHwcLayer() const override; 68 void writeOutputDependentGeometryStateToHWC(HWC2::Layer*, Hwc2::IComposerClient::Composition); 69 void writeOutputIndependentGeometryStateToHWC(HWC2::Layer*, const LayerFECompositionState&); 70 void writeOutputDependentPerFrameStateToHWC(HWC2::Layer*); 71 void writeOutputIndependentPerFrameStateToHWC(HWC2::Layer*, const LayerFECompositionState&); 72 void writeSolidColorStateToHWC(HWC2::Layer*, const LayerFECompositionState&); 73 void writeSidebandStateToHWC(HWC2::Layer*, const LayerFECompositionState&); 74 void writeBufferStateToHWC(HWC2::Layer*, const LayerFECompositionState&); 75 void writeCompositionTypeToHWC(HWC2::Layer*, Hwc2::IComposerClient::Composition);
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.h | 72 V2_1::Error createLayer(Display display, Layer* outLayer) override; 73 V2_1::Error destroyLayer(Display display, Layer layer) override; 101 V2_1::Error validateDisplay(Display display, std::vector<Layer>* outChangedLayers, 104 std::vector<Layer>* outRequestedLayers, 108 std::vector<Layer>* outLayers, 111 V2_1::Error setLayerCursorPosition(Display display, Layer layer, int32_t x, int32_t y) override; 112 V2_1::Error setLayerBuffer(Display display, Layer layer, buffer_handle_t buffer, 114 V2_1::Error setLayerSurfaceDamage(Display display, Layer layer, 116 V2_1::Error setLayerBlendMode(Display display, Layer layer, int32_t mode) override; 117 V2_1::Error setLayerColor(Display display, Layer layer, IComposerClient::Color color) override; [all …]
|
D | FakeComposerClient.cpp | 70 FrameRect(Layer layer_, const RenderState& state, uint32_t z_) in FrameRect() 73 const Layer layer; 220 V2_1::Error FakeComposerClient::createLayer(Display /*display*/, Layer* outLayer) { in createLayer() 228 V2_1::Error FakeComposerClient::destroyLayer(Display /*display*/, Layer layer) { in destroyLayer() 365 Display /*display*/, std::vector<Layer>* /*outChangedLayers*/, in validateDisplay() argument 367 uint32_t* /*outDisplayRequestMask*/, std::vector<Layer>* /*outRequestedLayers*/, in validateDisplay() 385 std::vector<Layer>* /*outLayers*/, in presentDisplay() argument 410 V2_1::Error FakeComposerClient::setLayerCursorPosition(Display /*display*/, Layer /*layer*/, in setLayerCursorPosition() argument 416 V2_1::Error FakeComposerClient::setLayerBuffer(Display /*display*/, Layer layer, in setLayerBuffer() 429 V2_1::Error FakeComposerClient::setLayerSurfaceDamage(Display /*display*/, Layer /*layer*/, in setLayerSurfaceDamage() argument [all …]
|
/frameworks/ml/nn/tools/systrace_parser/ |
D | contract-between-code-and-parser.txt | 35 …t0: t_m_w:B|T1|[NN_LR_PP]funcP Add (t1-t0) to total time spent in Layer 45 …t0: t_m_w:B|T1|[NN_LA_PP]funcE1 Add (t3-t0) to total time spent in Layer 48 …t3: t_m_w:E|T1 Add (t2-t1) to total time spent in Layer 51 … Note: Self-time of Layer Application, 53 … total time in Layer Application - tota… 54 … in Layer Runtime 68 …t0: t_m_w:B|T1|[NN_LC_PTR]funcC1 Add (t1-t0) to total time spent in Layer 71 …t3: t_m_w:E|T1 Add (t2-t1) to total time spent in Layer 82 …t0: t_m_w:B|T1|[NN_LR_PE]funcR2 Add (t2-t1) to total time spent in Layer 86 … Add (t3-t0) to total time spent in Layer [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 75 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); 87 private final Layer mLocalLayer; 100 private static class Layer { class in GcSnapshot 119 Layer(Graphics2D graphics, Bitmap_Delegate bitmap) { in Layer() method in GcSnapshot.Layer 135 Layer(Graphics2D graphics, BufferedImage image, int flags) { in Layer() method in GcSnapshot.Layer 161 Layer makeCopy() { in makeCopy() 163 return new Layer((Graphics2D) mGraphics.create(), mBitmap); in makeCopy() 166 return new Layer((Graphics2D) mGraphics.create(), mImage, mFlags); in makeCopy() 289 for (Layer layer : mPrevious.mLayers) { in GcSnapshot() 304 Layer baseLayer = mLayers.get(0); in GcSnapshot() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerHistory.h | 32 class Layer; variable 49 virtual void registerLayer(Layer*, float lowRefreshRate, float highRefreshRate, 66 virtual void record(Layer*, nsecs_t presentTime, nsecs_t now, LayerUpdateType updateType) = 0; 86 void registerLayer(Layer*, float lowRefreshRate, float highRefreshRate, 94 void record(Layer*, nsecs_t presentTime, nsecs_t now, LayerUpdateType updateType) override; 105 using LayerPair = std::pair<wp<Layer>, std::unique_ptr<LayerInfo>>; 143 void registerLayer(Layer*, float lowRefreshRate, float highRefreshRate, 152 void record(Layer*, nsecs_t presentTime, nsecs_t now, LayerUpdateType updateType) override; 163 using LayerPair = std::pair<wp<Layer>, std::unique_ptr<LayerInfoV2>>;
|
D | LayerHistory.cpp | 41 bool isLayerActive(const Layer& layer, const LayerInfo& info, nsecs_t threshold) { in isLayerActive() 60 void trace(const wp<Layer>& weak, int fps) { in trace() 75 void LayerHistory::registerLayer(Layer* layer, float lowRefreshRate, float highRefreshRate, in registerLayer() 82 void LayerHistory::record(Layer* layer, nsecs_t presentTime, nsecs_t now, in record() 113 Layer::isLayerFocusedBasedOnPriority(layer->getFrameRateSelectionPriority()); in summarize() 119 case Layer::FrameRateCompatibility::Default: in summarize() 121 case Layer::FrameRateCompatibility::ExactOrMultiple: in summarize() 123 case Layer::FrameRateCompatibility::NoVote: in summarize()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 58 class Layer { 60 Layer() = default; 72 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 86 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 90 Layer(Layer&&) noexcept; 91 Layer& operator=(Layer&&) noexcept; 93 ~Layer(); 128 HWC::Layer GetLayerHandle() const { return hardware_composer_layer_; } in GetLayerHandle() 150 bool operator<(const Layer& other) const { 290 Layer(const Layer&) = delete; [all …]
|