/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.h | 25 struct Layer; 29 LayerRef(const Layer* layer); 36 operator const Layer*() const { return layer_; } 42 const Layer* layer_; 48 const Layer& GetLayer(uint32_t index); 49 const Layer* FindLayer(const char* name); 51 const VkLayerProperties& GetLayerProperties(const Layer& layer); 52 bool IsLayerGlobal(const Layer& layer); 53 const VkExtensionProperties* GetLayerInstanceExtensions(const Layer& layer, 55 const VkExtensionProperties* GetLayerDeviceExtensions(const Layer& layer, [all …]
|
D | layers_extensions.cpp | 54 struct Layer { struct 90 std::vector<Layer>& instance_layers) const; 92 void* GetGPA(const Layer& layer, 144 std::vector<Layer>& instance_layers) const { in EnumerateLayers() 215 Layer layer; in EnumerateLayers() 285 void* LayerLibrary::GetGPA(const Layer& layer, in GetGPA() 305 std::vector<Layer> g_instance_layers; 416 void* GetLayerGetProcAddr(const Layer& layer, in GetLayerGetProcAddr() 438 const Layer& GetLayer(uint32_t index) { in GetLayer() 442 const Layer* FindLayer(const char* name) { in FindLayer() [all …]
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 38 Layer::Layer(Type layerType, RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight) in Layer() function in android::uirenderer::Layer 39 : GpuMemoryTracker(GpuObjectType::Layer) in Layer() 54 Layer::~Layer() { in ~Layer() 66 void Layer::onGlContextLost() { in onGlContextLost() 71 uint32_t Layer::computeIdealWidth(uint32_t layerWidth) { in computeIdealWidth() 75 uint32_t Layer::computeIdealHeight(uint32_t layerHeight) { in computeIdealHeight() 79 void Layer::requireRenderer() { in requireRenderer() 86 void Layer::updateLightPosFromRenderer(const OpenGLRenderer& rootRenderer) { in updateLightPosFromRenderer() 99 bool Layer::resize(const uint32_t width, const uint32_t height) { in resize() 145 void Layer::removeFbo(bool flush) { in removeFbo() [all …]
|
D | LayerRenderer.h | 49 LayerRenderer(RenderState& renderState, Layer* layer); 58 static Layer* createTextureLayer(RenderState& renderState); 59 static Layer* createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height); 60 static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height); 61 static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, 63 static void destroyLayer(Layer* layer); 64 static bool copyLayer(RenderState& renderState, Layer* layer, SkBitmap* bitmap); 66 static void flushLayer(RenderState& renderState, Layer* layer); 78 Layer* mLayer;
|
D | LayerCache.cpp | 74 void LayerCache::deleteLayer(Layer* layer) { in deleteLayer() 79 layer->state = Layer::State::DeletedFromCache; in deleteLayer() 91 Layer* LayerCache::get(RenderState& renderState, const uint32_t width, const uint32_t height) { in get() 92 Layer* layer = nullptr; in get() 102 layer->state = Layer::State::RemovedFromCache; in get() 109 layer = new Layer(Layer::Type::DisplayList, renderState, entry.mWidth, entry.mHeight); in get() 130 bool LayerCache::put(Layer* layer) { in put() 138 Layer* victim = mCache.begin()->mLayer; in put() 153 layer->state = Layer::State::InCache; in put() 157 layer->state = Layer::State::FailedToCache; in put()
|
D | LayerCache.h | 60 Layer* get(RenderState& renderState, const uint32_t width, const uint32_t height); 71 bool put(Layer* layer); 104 mWidth = Layer::computeIdealWidth(layerWidth); in LayerEntry() 105 mHeight = Layer::computeIdealHeight(layerHeight); in LayerEntry() 108 LayerEntry(Layer* layer): in LayerEntry() 126 Layer* mLayer; 131 void deleteLayer(Layer* layer);
|
D | OpenGLRenderer.h | 150 void pushLayerUpdate(Layer* layer); 151 void cancelLayerUpdate(Layer* layer); 169 void drawLayer(Layer* layer); 388 void attachStencilBufferToLayer(Layer* layer); 440 void drawTextureLayer(Layer* layer, const Rect& rect); 447 inline float getLayerAlpha(const Layer* layer) const; 524 bool createFboLayer(Layer* layer, Rect& bounds, Rect& clip); 532 void composeLayerRegion(Layer* layer, const Rect& rect); 543 void composeLayerRectSwapped(Layer* layer, const Rect& rect); 548 void composeLayerRect(Layer* layer, const Rect& rect); [all …]
|
D | LayerRenderer.cpp | 38 LayerRenderer::LayerRenderer(RenderState& renderState, Layer* layer) in LayerRenderer() 187 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height) { in createRenderLayer() 199 Layer* layer = caches.layerCache.get(renderState, width, height); in createRenderLayer() 257 bool LayerRenderer::resizeLayer(Layer* layer, uint32_t width, uint32_t height) { in resizeLayer() 273 Layer* LayerRenderer::createTextureLayer(RenderState& renderState) { in createTextureLayer() 276 Layer* layer = new Layer(Layer::Type::Texture, renderState, 0, 0); in createTextureLayer() 289 void LayerRenderer::updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, in updateTextureLayer() 309 void LayerRenderer::destroyLayer(Layer* layer) { in destroyLayer() 329 void LayerRenderer::flushLayer(RenderState& renderState, Layer* layer) { in flushLayer() 354 bool LayerRenderer::copyLayer(RenderState& renderState, Layer* layer, SkBitmap* bitmap) { in copyLayer()
|
D | DeferredLayerUpdater.h | 38 ANDROID_API DeferredLayerUpdater(Layer* layer); 89 Layer* backingLayer() { in backingLayer() 109 Layer* mLayer;
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 62 int32_t Layer::sSequence = 1; 64 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, in Layer() function in android::Layer 154 void Layer::onFirstRef() { in onFirstRef() 176 Layer::~Layer() { in ~Layer() 197 void Layer::onLayerDisplayed(const sp<Fence>& releaseFence) { in onLayerDisplayed() 204 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& /* hw */, in onLayerDisplayed() 213 void Layer::onFrameAvailable(const BufferItem& item) { in onFrameAvailable() 244 void Layer::onFrameReplaced(const BufferItem& item) { in onFrameReplaced() 269 void Layer::onSidebandStreamChanged() { in onSidebandStreamChanged() 279 void Layer::onRemoved() { in onRemoved() [all …]
|
D | Client.h | 33 class Layer; variable 47 void attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer); 49 void detachLayer(const Layer* layer); 51 sp<Layer> getLayerUser(const sp<IBinder>& handle) const; 76 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
|
D | Client.cpp | 54 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) in attachLayer() 60 void Client::detachLayer(const Layer* layer) in detachLayer() 72 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const in getLayerUser() 75 sp<Layer> lbc; in getLayerUser() 76 wp<Layer> layer(mLayers.valueFor(handle)); in getLayerUser() 156 sp<Layer> layer = getLayerUser(handle); in clearLayerFrameStats() 165 sp<Layer> layer = getLayerUser(handle); in getLayerFrameStats() 175 sp<Layer> layer = getLayerUser(handle); in getTransformToDisplayInverse()
|
D | SurfaceFlinger.h | 74 class Layer; variable 142 const Vector< sp<Layer> >& getLayerSortedByZForHwcDisplay(int id); 151 friend class Layer; variable 167 class LayerVector : public SortedVector< sp<Layer> > { 311 sp<Layer>* outLayer); 315 sp<IGraphicBufferProducer>* outGbp, sp<Layer>* outLayer); 324 status_t onLayerDestroyed(const wp<Layer>& layer); 327 status_t removeLayer(const wp<Layer>& layer); 333 const sp<Layer>& lbc); 462 bool getFrameTimestamps(const Layer& layer, uint64_t frameNumber, [all …]
|
D | Layer.h | 72 class Layer : public SurfaceFlingerConsumer::ContentsChangedListener { 143 Layer(SurfaceFlinger* flinger, const sp<Client>& client, 146 virtual ~Layer(); 202 virtual bool isOpaque(const Layer::State& s) const; 373 std::shared_ptr<HWC2::Layer> getHwcLayer(int32_t hwcId) { in getHwcLayer() 380 void setHwcLayer(int32_t hwcId, std::shared_ptr<HWC2::Layer>&& layer) { in setHwcLayer() 435 wp<Layer> mLayer; 439 LayerCleaner(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer); 587 std::shared_ptr<HWC2::Layer> layer;
|
D | SurfaceFlinger_hwc1.cpp | 1139 Vector< sp<Layer> > layersSortedByZ; in rebuildLayerStacks() 1149 const sp<Layer>& layer(layers[i]); in rebuildLayerStacks() 1150 const Layer::State& s(layer->getDrawingState()); in rebuildLayerStacks() 1208 const Vector< sp<Layer> >& currentLayers( in setUpHWComposer() 1215 const sp<Layer>& layer(currentLayers[i]); in setUpHWComposer() 1231 const Vector< sp<Layer> >& currentLayers( in setUpHWComposer() 1241 const sp<Layer>& layer(currentLayers[i]); in setUpHWComposer() 1252 const Vector< sp<Layer> >& currentLayers( in setUpHWComposer() 1258 const sp<Layer>& layer(currentLayers[i]); in setUpHWComposer() 1325 const Vector< sp<Layer> >& currentLayers(hw->getVisibleLayersSortedByZ()); in postFramebuffer() [all …]
|
D | SurfaceFlingerConsumer.h | 26 class Layer; variable 40 uint32_t tex, const Layer* layer) in SurfaceFlingerConsumer() 114 wp<const Layer> mLayer;
|
D | FenceTracker.h | 31 class Layer; variable 42 const Vector<sp<Layer>>& layers, sp<Fence> glDoneFence); 43 bool getFrameTimestamps(const Layer& layer, uint64_t frameNumber,
|
D | DisplayDevice.h | 54 class Layer; variable 122 void setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers); 123 const Vector< sp<Layer> >& getVisibleLayersSortedByZ() const; 237 Vector< sp<Layer> > mVisibleLayersSortedByZ;
|
D | LayerDim.h | 29 class LayerDim : public Layer 39 virtual bool isOpaque(const Layer::State&) const { return false; } in isOpaque()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 67 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); 80 private final Layer mLocalLayer; 93 private static class Layer { class in GcSnapshot 112 Layer(Graphics2D graphics, Bitmap_Delegate bitmap) { in Layer() method in GcSnapshot.Layer 128 Layer(Graphics2D graphics, BufferedImage image, int flags) { in Layer() method in GcSnapshot.Layer 154 Layer makeCopy() { in makeCopy() 156 return new Layer((Graphics2D) mGraphics.create(), mBitmap); in makeCopy() 159 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/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2On1Adapter.h | 121 class Layer; variable 125 bool operator()(const std::shared_ptr<Layer>& lhs, 126 const std::shared_ptr<Layer>& rhs); 346 const Layer& layer); 348 const Layer& layer); 394 std::multiset<std::shared_ptr<Layer>, SortLayersByZ> mLayers; 395 std::unordered_map<size_t, std::shared_ptr<Layer>> mHwc1LayerMap; 461 LatchedState(Layer& parent, T initialValue) in LatchedState() 491 Layer& mParent; 496 class Layer { [all …]
|
D | HWC2.h | 50 class Layer; variable 64 friend class HWC2::Layer; 204 friend class HWC2::Layer; 279 std::shared_ptr<Layer>* outLayer); 283 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes); 293 std::unordered_map<std::shared_ptr<Layer>, LayerRequest>* 300 std::unordered_map<std::shared_ptr<Layer>, 346 std::shared_ptr<Layer> getLayerById(hwc2_layer_t id) const; 354 std::unordered_map<hwc2_layer_t, std::weak_ptr<Layer>> mLayers; 358 class Layer [all …]
|
D | HWC2On1Adapter.cpp | 290 layerHook<decltype(&Layer::setCursorPosition), in doGetFunction() 291 &Layer::setCursorPosition, int32_t, int32_t>); in doGetFunction() 294 layerHook<decltype(&Layer::setBuffer), &Layer::setBuffer, in doGetFunction() 298 layerHook<decltype(&Layer::setSurfaceDamage), in doGetFunction() 299 &Layer::setSurfaceDamage, hwc_region_t>); in doGetFunction() 307 layerHook<decltype(&Layer::setColor), &Layer::setColor, in doGetFunction() 316 layerHook<decltype(&Layer::setDisplayFrame), in doGetFunction() 317 &Layer::setDisplayFrame, hwc_rect_t>); in doGetFunction() 320 layerHook<decltype(&Layer::setPlaneAlpha), in doGetFunction() 321 &Layer::setPlaneAlpha, float>); in doGetFunction() [all …]
|
D | HWC2.cpp | 505 Error Display::createLayer(std::shared_ptr<Layer>* outLayer) in createLayer() 514 auto layer = std::make_shared<Layer>(shared_from_this(), layerId); in createLayer() 547 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes) in getChangedCompositionTypes() argument 641 std::unordered_map<std::shared_ptr<Layer>, LayerRequest>* in getRequests() argument 737 std::unordered_map<std::shared_ptr<Layer>, sp<Fence>>* outFences) const in getReleaseFences() argument 756 std::unordered_map<std::shared_ptr<Layer>, sp<Fence>> releaseFences; in getReleaseFences() 941 std::shared_ptr<Layer> Display::getLayerById(hwc2_layer_t id) const in getLayerById() 953 Layer::Layer(const std::shared_ptr<Display>& display, hwc2_layer_t id) in Layer() function in HWC2::Layer 963 Layer::~Layer() in ~Layer() 971 Error Layer::setCursorPosition(int32_t x, int32_t y) in setCursorPosition() [all …]
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.h | 43 class Layer; variable 74 void registerLayer(Layer* layer) { in registerLayer() 77 void unregisterLayer(Layer* layer) { in unregisterLayer() 124 std::set<Layer*> mActiveLayers;
|