/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 | 60 struct Layer { struct 103 std::vector<Layer>& instance_layers) const; 105 void* GetGPA(const Layer& layer, const std::string_view gpa_name) const; 182 std::vector<Layer>& instance_layers) const { in EnumerateLayers() 246 Layer layer; in EnumerateLayers() 316 void* LayerLibrary::GetGPA(const Layer& layer, const std::string_view gpa_name) const { in GetGPA() 326 std::vector<Layer> g_instance_layers; 454 void* GetLayerGetProcAddr(const Layer& layer, in GetLayerGetProcAddr() 476 const Layer& GetLayer(uint32_t index) { in GetLayer() 480 const Layer* FindLayer(const char* name) { in FindLayer() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | Layer.cpp | 25 Layer::~Layer() = default; 29 std::shared_ptr<compositionengine::Layer> createLayer( in createLayer() 32 return std::make_shared<Layer>(compositionEngine, std::move(args)); in createLayer() 35 Layer::Layer(const CompositionEngine& compositionEngine, LayerCreationArgs&& args) in Layer() function in android::compositionengine::impl::Layer 40 Layer::~Layer() = default; 42 sp<LayerFE> Layer::getLayerFE() const { in getLayerFE() 46 const LayerCompositionState& Layer::getState() const { in getState() 50 LayerCompositionState& Layer::editState() { in editState() 54 void Layer::dump(std::string& out) const { in dump()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 72 std::atomic<int32_t> Layer::sSequence{1}; 74 Layer::Layer(const LayerCreationArgs& args) in Layer() function in android::Layer 128 Layer::~Layer() { in ~Layer() 147 void Layer::onLayerDisplayed(const sp<Fence>& /*releaseFence*/) {} in onLayerDisplayed() 149 void Layer::removeRemoteSyncPoints() { in removeRemoteSyncPoints() 162 void Layer::removeRelativeZ(const std::vector<Layer*>& layersInTree) { in removeRelativeZ() 167 sp<Layer> strongRelative = mCurrentState.zOrderRelativeOf.promote(); in removeRelativeZ() 180 void Layer::removeFromCurrentState() { in removeFromCurrentState() 201 void Layer::onRemovedFromCurrentState() { in onRemovedFromCurrentState() 210 void Layer::addToCurrentState() { in addToCurrentState() [all …]
|
D | Layer.h | 70 class Layer; variable 96 class Layer : public virtual compositionengine::LayerFE { 164 wp<Layer> barrierLayer_legacy; 176 wp<Layer> zOrderRelativeOf; 179 SortedVector<wp<Layer>> zOrderRelatives; 186 wp<Layer> touchableRegionCrop; 214 sp<Layer> bgColorLayer; 222 explicit Layer(const LayerCreationArgs& args); 223 virtual ~Layer(); 295 virtual void deferTransactionUntil_legacy(const sp<Layer>& barrierLayer, uint64_t frameNumber); [all …]
|
D | SurfaceInterceptor.h | 36 class Layer; variable 50 virtual void enable(const SortedVector<sp<Layer>>& layers, 62 virtual void saveSurfaceCreation(const sp<const Layer>& layer) = 0; 63 virtual void saveSurfaceDeletion(const sp<const Layer>& layer) = 0; 64 virtual void saveBufferUpdate(const sp<const Layer>& layer, uint32_t width, uint32_t height, 86 void enable(const SortedVector<sp<Layer>>& layers, 97 void saveSurfaceCreation(const sp<const Layer>& layer) override; 98 void saveSurfaceDeletion(const sp<const Layer>& layer) override; 99 void saveBufferUpdate(const sp<const Layer>& layer, uint32_t width, uint32_t height, 114 void saveExistingSurfacesLocked(const SortedVector<sp<Layer>>& layers); [all …]
|
D | Client.cpp | 45 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) in attachLayer() 51 void Client::detachLayer(const Layer* layer) in detachLayer() 63 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const in getLayerUser() 66 sp<Layer> lbc; in getLayerUser() 67 wp<Layer> layer(mLayers.valueFor(handle)); in getLayerUser() 105 sp<Layer> layer = getLayerUser(handle); in clearLayerFrameStats() 114 sp<Layer> layer = getLayerUser(handle); in getLayerFrameStats()
|
D | LayerRejecter.h | 26 LayerRejecter(Layer::State &front, 27 Layer::State ¤t, 38 Layer::State &mFront; 39 Layer::State &mCurrent;
|
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; 73 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 43 using android::hardware::graphics::composer::V2_1::Layer; 62 MOCK_METHOD2(createLayer, Error(Display, Layer* outLayer)); 63 MOCK_METHOD2(destroyLayer, Error(Display, Layer)); 66 Error(Display, std::vector<Layer>*, std::vector<IComposerClient::Composition>*)); 73 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 …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.h | 61 using V2_1::Layer; 100 virtual Error createLayer(Display display, Layer* outLayer) = 0; 101 virtual Error destroyLayer(Display display, Layer layer) = 0; 105 Display display, std::vector<Layer>* outLayers, 114 std::vector<Layer>* outLayers, 123 virtual Error getReleaseFences(Display display, std::vector<Layer>* outLayers, 154 virtual Error setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) = 0; 156 virtual Error setLayerBuffer(Display display, Layer layer, uint32_t slot, 158 virtual Error setLayerSurfaceDamage(Display display, Layer layer, 160 virtual Error setLayerBlendMode(Display display, Layer layer, [all …]
|
D | HWC2.cpp | 293 Error Display::createLayer(HWC2::Layer** outLayer) { in createLayer() 304 auto layer = std::make_unique<impl::Layer>(mComposer, mCapabilities, mId, layerId); in createLayer() 310 Error Display::destroyLayer(HWC2::Layer* layer) { in destroyLayer() 370 Error Display::getChangedCompositionTypes(std::unordered_map<HWC2::Layer*, Composition>* outTypes) { in getChangedCompositionTypes() argument 371 std::vector<Hwc2::Layer> layerIds; in getChangedCompositionTypes() 472 std::unordered_map<HWC2::Layer*, LayerRequest>* outLayerRequests) { in getRequests() argument 474 std::vector<Hwc2::Layer> layerIds; in getRequests() 553 Error Display::getReleaseFences(std::unordered_map<HWC2::Layer*, sp<Fence>>* outFences) const { in getReleaseFences() argument 554 std::vector<Hwc2::Layer> layerIds; in getReleaseFences() 563 std::unordered_map<HWC2::Layer*, sp<Fence>> releaseFences; in getReleaseFences() [all …]
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.h | 72 Error createLayer(Display display, Layer* outLayer) override; 73 Error destroyLayer(Display display, Layer layer) override; 97 Error validateDisplay(Display display, std::vector<Layer>* outChangedLayers, 99 uint32_t* outDisplayRequestMask, std::vector<Layer>* outRequestedLayers, 102 Error presentDisplay(Display display, int32_t* outPresentFence, std::vector<Layer>* outLayers, 105 Error setLayerCursorPosition(Display display, Layer layer, int32_t x, int32_t y) override; 106 Error setLayerBuffer(Display display, Layer layer, buffer_handle_t buffer, 108 Error setLayerSurfaceDamage(Display display, Layer layer, 110 Error setLayerBlendMode(Display display, Layer layer, int32_t mode) override; 111 Error setLayerColor(Display display, Layer layer, IComposerClient::Color color) override; [all …]
|
D | FakeComposerClient.cpp | 66 FrameRect(Layer layer_, const RenderState& state, uint32_t z_) in FrameRect() 69 const Layer layer; 207 Error FakeComposerClient::createLayer(Display /*display*/, Layer* outLayer) { in createLayer() 215 Error FakeComposerClient::destroyLayer(Display /*display*/, Layer layer) { in destroyLayer() 358 Display /*display*/, std::vector<Layer>* /*outChangedLayers*/, in validateDisplay() argument 360 uint32_t* /*outDisplayRequestMask*/, std::vector<Layer>* /*outRequestedLayers*/, in validateDisplay() 378 std::vector<Layer>* /*outLayers*/, in presentDisplay() argument 403 Error FakeComposerClient::setLayerCursorPosition(Display /*display*/, Layer /*layer*/, in setLayerCursorPosition() argument 409 Error FakeComposerClient::setLayerBuffer(Display /*display*/, Layer layer, buffer_handle_t buffer, in setLayerBuffer() 422 Error FakeComposerClient::setLayerSurfaceDamage(Display /*display*/, Layer /*layer*/, in setLayerSurfaceDamage() argument [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/vr/hardware_composer/impl/ |
D | vr_hwc.h | 60 Layer id; 116 explicit HwcLayer(Layer new_id) { info.id = new_id; } in HwcLayer() 134 bool DestroyLayer(Layer id); 135 HwcLayer* GetLayer(Layer id); 142 std::vector<Layer>* layer_ids, 147 std::vector<Layer> UpdateLastFrameAndGetLastFrameLayers(); 176 std::vector<Layer> last_frame_layers_ids_; 200 Error setLayerInfo(Display display, Layer layer, uint32_t type, 205 Display display, Layer layer, 220 Error createLayer(Display display, Layer* outLayer) override; [all …]
|
/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; 133 std::vector<Layer> allLayers; 136 std::vector<Layer*> topLevelLayers; 144 static std::vector<Layer> generateLayerList(const LayersProto& layersProto); 145 static LayerProtoParser::Layer generateLayer(const LayerProto& layerProto); 153 std::unordered_map<int32_t, Layer*>& layerMap); [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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 69 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); 81 private final Layer mLocalLayer; 94 private static class Layer { class in GcSnapshot 113 Layer(Graphics2D graphics, Bitmap_Delegate bitmap) { in Layer() method in GcSnapshot.Layer 129 Layer(Graphics2D graphics, BufferedImage image, int flags) { in Layer() method in GcSnapshot.Layer 155 Layer makeCopy() { in makeCopy() 157 return new Layer((Graphics2D) mGraphics.create(), mBitmap); in makeCopy() 160 return new Layer((Graphics2D) mGraphics.create(), mImage, mFlags); in makeCopy() 283 for (Layer layer : mPrevious.mLayers) { in GcSnapshot() 298 Layer baseLayer = mLayers.get(0); in GcSnapshot() [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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | Layer.h | 37 class Layer : public compositionengine::Layer { 39 Layer(const CompositionEngine&, compositionengine::LayerCreationArgs&&); 40 ~Layer() override; 56 std::shared_ptr<compositionengine::Layer> createLayer(const compositionengine::CompositionEngine&,
|
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/ |
D | Layer.cpp | 23 Layer::Layer() = default; 24 Layer::~Layer() = default;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | Layer.h | 26 class Layer : public compositionengine::Layer { 28 Layer(); 29 virtual ~Layer();
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 57 class Layer { 59 Layer() = default; 71 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 85 Layer(Hwc2::Composer* composer, const DisplayParams& display_params, 89 Layer(Layer&&) noexcept; 90 Layer& operator=(Layer&&) noexcept; 92 ~Layer(); 127 HWC::Layer GetLayerHandle() const { return hardware_composer_layer_; } in GetLayerHandle() 149 bool operator<(const Layer& other) const { 289 Layer(const Layer&) = delete; [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockSurfaceInterceptor.h | 32 void(const SortedVector<sp<Layer>>&, 40 MOCK_METHOD1(saveSurfaceCreation, void(const sp<const Layer>&)); 41 MOCK_METHOD1(saveSurfaceDeletion, void(const sp<const Layer>&)); 42 MOCK_METHOD4(saveBufferUpdate, void(const sp<const Layer>&, uint32_t, uint32_t, uint64_t));
|