Searched defs:Layer (Results 1 - 13 of 13) sorted by relevance

/frameworks/native/vulkan/libvulkan/
H A Dlayers_extensions.h25 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 Dlayers_extensions.cpp54 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 DGpuMemoryTracker.h36 Layer, member in class:android::uirenderer::GpuObjectType
H A DLayer.cpp17 #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 DLayer.h58 class Layer : public VirtualLightRefBase, GpuMemoryTracker { class in namespace:android::uirenderer
76 Layer(Type type, RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight);
77 ~Layer();
443 }; // struct Layer
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp383 // Layer function pointers
489 Error Display::createLayer(std::shared_ptr<Layer>* outLayer)
498 auto layer = std::make_shared<Layer>(shared_from_this(), layerId);
531 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes)
622 std::unordered_map<std::shared_ptr<Layer>, LayerRequest>*
718 std::unordered_map<std::shared_ptr<Layer>, sp<Fence>>* outFences) const
737 std::unordered_map<std::shared_ptr<Layer>, sp<Fence>> releaseFences;
907 // For use by Layer
921 std::shared_ptr<Layer> Display::getLayerById(hwc2_layer_t id) const
931 // Layer method
933 Layer::Layer(const std::shared_ptr<Display>& display, hwc2_layer_t id) function in class:HWC2::Layer
[all...]
H A DHWC2.h49 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 DHWC2On1Adapter.h121 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...]
H A DHWC2On1Adapter.cpp289 // 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...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java57 * 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/native/cmds/flatland/
H A DMain.cpp283 class Layer { class
287 Layer() : function in class:Layer
583 Layer mLayers[MAX_NUM_LAYERS];
/frameworks/native/services/surfaceflinger/
H A DLayer.h67 * 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...]
H A DLayer.cpp19 #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...]

Completed in 200 milliseconds