/frameworks/native/vulkan/libvulkan/ |
H A 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 [all...] |
H A D | layers_extensions.cpp | 54 struct Layer { struct in namespace:vulkan::api 90 std::vector<Layer>& instance_layers) const; 92 void* GetGPA(const Layer& layer, 144 std::vector<Layer>& instance_layers) const { 215 Layer layer; 285 void* LayerLibrary::GetGPA(const Layer& layer, 305 std::vector<Layer> g_instance_layers; 416 void* GetLayerGetProcAddr(const Layer& layer, 438 const Layer& GetLayer(uint32_t index) { 442 const Layer* FindLaye [all...] |
/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.h | 23 #include "Layer.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* mLaye [all...] |
H A D | LayerCache.h | 21 #include "Layer.h" 60 Layer* get(RenderState& renderState, const uint32_t width, const uint32_t height); 71 bool put(Layer* layer); 104 mWidth = Layer::computeIdealWidth(layerWidth); 105 mHeight = Layer::computeIdealHeight(layerHeight); 108 LayerEntry(Layer* layer): 126 Layer* mLayer; 131 void deleteLayer(Layer* layer);
|
H A D | Layer.cpp | 17 #include "Layer.h" 30 ATRACE_FORMAT("%s HW Layer DisplayList %s %ux%u", \ 38 Layer::Layer(Type layerType, RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight) function in class:android::uirenderer::Layer 39 : GpuMemoryTracker(GpuObjectType::Layer) 54 Layer::~Layer() { 66 void Layer::onGlContextLost() { 71 uint32_t Layer::computeIdealWidth(uint32_t layerWidth) { 75 uint32_t Layer [all...] |
H A D | LayerCache.cpp | 74 void LayerCache::deleteLayer(Layer* layer) { 79 layer->state = Layer::State::DeletedFromCache; 91 Layer* LayerCache::get(RenderState& renderState, const uint32_t width, const uint32_t height) { 92 Layer* layer = nullptr; 102 layer->state = Layer::State::RemovedFromCache; 109 layer = new Layer(Layer::Type::DisplayList, renderState, entry.mWidth, entry.mHeight); 126 ALOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight); 130 bool LayerCache::put(Layer* layer) { 138 Layer* victi [all...] |
H A D | DeferredLayerUpdater.h | 25 #include "Layer.h" 38 ANDROID_API DeferredLayerUpdater(Layer* layer); 89 Layer* backingLayer() { 109 Layer* mLayer;
|
H A D | SkiaShader.h | 33 class Layer; 78 Layer* layer;
|
H A D | LayerRenderer.cpp | 38 LayerRenderer::LayerRenderer(RenderState& renderState, Layer* layer) 104 // Layer support 187 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height) { 188 ATRACE_FORMAT("Allocate %ux%u HW Layer", width, height); 199 Layer* layer = caches.layerCache.get(renderState, width, height); 210 ALOGW("Layer exceeds max. dimensions supported by the GPU (%dx%d, max=%dx%d)", 257 bool LayerRenderer::resizeLayer(Layer* layer, uint32_t width, uint32_t height) { 273 Layer* LayerRenderer::createTextureLayer(RenderState& renderState) { 276 Layer* layer = new Layer(Laye [all...] |
H A D | GpuMemoryTracker.h | 36 Layer, member in class:android::uirenderer::GpuObjectType
|
H A 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* laye [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Client.h | 33 class Layer; 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; 74 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
|
H A D | LayerDim.h | 23 #include "Layer.h" 29 class LayerDim : public Layer 39 virtual bool isOpaque(const Layer::State&) const { return false; }
|
H A D | Client.cpp | 26 #include "Layer.h" 46 sp<Layer> layer(mLayers.valueAt(i).promote()); 57 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) 63 void Client::detachLayer(const Layer* layer) 75 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const 78 sp<Layer> lbc; 79 wp<Layer> layer(mLayers.valueFor(handle)); 159 sp<Layer> layer = getLayerUser(handle); 168 sp<Layer> layer = getLayerUser(handle);
|
H A D | Layer.cpp | 19 #define LOG_TAG "Layer" 46 #include "Layer.h" 60 int32_t Layer::sSequence = 1; 62 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, function in class:android::Layer 102 ALOGV("Creating Layer %s", name.string()); 152 void Layer::onFirstRef() { 173 Layer::~Layer() { 194 void Layer [all...] |
H A D | LayerDim.cpp | 40 : Layer(flinger, client, name, w, h, flags) { 61 const Layer::State& s(getDrawingState());
|
H A D | SurfaceFlinger.h | 68 class Layer; 136 const Vector< sp<Layer> >& getLayerSortedByZForHwcDisplay(int id); 145 friend class Layer; 161 class LayerVector : public SortedVector< sp<Layer> > { 289 * Layer management 298 sp<Layer>* outLayer); 302 sp<IGraphicBufferProducer>* outGbp, sp<Layer>* outLayer); 311 status_t onLayerDestroyed(const wp<Layer>& layer); 314 status_t removeLayer(const sp<Layer>& layer); 320 const sp<Layer> [all...] |
H A D | DisplayDevice.h | 54 class Layer; 122 void setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers); 123 const Vector< sp<Layer> >& getVisibleLayersSortedByZ() const; 232 Vector< sp<Layer> > mVisibleLayersSortedByZ;
|
H A D | FenceTracker.h | 31 class Layer; 42 const Vector<sp<Layer>>& layers, sp<Fence> glDoneFence);
|
H A D | Layer.h | 67 * Layer is first referenced. 72 class Layer : public SurfaceFlingerConsumer::ContentsChangedListener { class in namespace:android 83 // Layer serial number. This gives layers an explicit ordering, so we 125 // If set, defers this state update until the Layer identified by handle 139 Layer(SurfaceFlinger* flinger, const sp<Client>& client, 142 virtual ~Layer(); 189 virtual const char* getTypeId() const { return "Layer"; } 198 virtual bool isOpaque(const Layer::State& s) const; 368 std::shared_ptr<HWC2::Layer> getHwcLayer(int32_t hwcId) { 375 void setHwcLayer(int32_t hwcId, std::shared_ptr<HWC2::Layer> [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 57 * a list of Graphics2D for each layers. The class actually maintains a list of {@link Layer} 59 * ({@link Layer#getGraphics()}) is configured only for the new snapshot. 67 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); 80 private final Layer mLocalLayer; 93 private static class Layer { class in class:GcSnapshot 112 Layer(Graphics2D graphics, Bitmap_Delegate bitmap) { method in class:GcSnapshot.Layer 122 * {@link Layer#Layer(Graphics2D, Bitmap_Delegate)} should be used. 128 Layer(Graphics2 method in class:GcSnapshot.Layer [all...] |
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.h | 43 class Layer; 74 void registerLayer(Layer* layer) { 77 void unregisterLayer(Layer* layer) { 124 std::set<Layer*> mActiveLayers;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2.h | 49 class Layer; 63 friend class HWC2::Layer; 167 // Layer function pointers 202 friend class HWC2::Layer; 277 std::shared_ptr<Layer>* outLayer); 281 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes); 291 std::unordered_map<std::shared_ptr<Layer>, LayerRequest>* 298 std::unordered_map<std::shared_ptr<Layer>, 339 // For use by Layer 344 std::shared_ptr<Layer> getLayerByI 356 class Layer class in namespace:HWC2 [all...] |
H A D | HWC2On1Adapter.cpp | 289 // Layer functions 292 layerHook<decltype(&Layer::setCursorPosition), 293 &Layer::setCursorPosition, int32_t, int32_t>); 296 layerHook<decltype(&Layer::setBuffer), &Layer::setBuffer, 300 layerHook<decltype(&Layer::setSurfaceDamage), 301 &Layer::setSurfaceDamage, hwc_region_t>); 303 // Layer state functions 309 layerHook<decltype(&Layer::setColor), &Layer 1964 HWC2On1Adapter::Layer::Layer(Display& display) function in class:android::HWC2On1Adapter::Layer [all...] |
H A D | HWC2On1Adapter.h | 121 class Layer; 125 bool operator()(const std::shared_ptr<Layer>& lhs, 126 const std::shared_ptr<Layer>& rhs); 345 const Layer& layer); 347 const Layer& layer); 393 std::multiset<std::shared_ptr<Layer>, SortLayersByZ> mLayers; 394 std::unordered_map<size_t, std::shared_ptr<Layer>> mHwc1LayerMap; 449 // Layer functions 454 LatchedState(Layer& parent, T initialValue) 484 Layer 489 class Layer { class in class:android::HWC2On1Adapter 574 callLayerFunction(hwc2_device_t* device, hwc2_display_t displayId, hwc2_layer_t layerId, HWC2::Error (Layer::*member)(Args...), Args... args) argument [all...] |