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

/frameworks/base/libs/hwui/
H A DLayer.cpp17 #include "Layer.h"
26 Layer::Layer(RenderState& renderState, Api api, SkColorFilter* colorFilter, int alpha, function in class:android::uirenderer::Layer
28 : GpuMemoryTracker(GpuObjectType::Layer)
41 Layer::~Layer() {
47 void Layer::setColorFilter(SkColorFilter* filter) {
51 void Layer::postDecStrong() {
H A DGpuMemoryTracker.h37 Layer, member in class:android::uirenderer::GpuObjectType
H A DLayer.h39 class Layer : public VirtualLightRefBase, GpuMemoryTracker { class in namespace:android::uirenderer
50 ~Layer();
108 Layer(RenderState& renderState, Api api, SkColorFilter* colorFilter, int alpha,
146 }; // struct Layer
/frameworks/native/vulkan/libvulkan/
H A Dlayers_extensions.h25 struct Layer;
29 explicit 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.cpp55 struct Layer { struct in namespace:vulkan::api
91 std::vector<Layer>& instance_layers) const;
93 void* GetGPA(const Layer& layer,
145 std::vector<Layer>& instance_layers) const {
216 Layer layer;
286 void* LayerLibrary::GetGPA(const Layer& layer,
306 std::vector<Layer> g_instance_layers;
417 void* GetLayerGetProcAddr(const Layer& layer,
439 const Layer& GetLayer(uint32_t index) {
443 const Layer* FindLaye
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.h54 class Layer;
73 friend class HWC2::Layer;
142 friend class HWC2::Layer;
217 std::shared_ptr<Layer>* outLayer);
221 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes);
231 std::unordered_map<std::shared_ptr<Layer>, LayerRequest>*
238 std::unordered_map<std::shared_ptr<Layer>,
282 // For use by Layer
287 std::shared_ptr<Layer> getLayerById(hwc2_layer_t id) const;
295 std::unordered_map<hwc2_layer_t, std::weak_ptr<Layer>> mLayer
302 class Layer class in namespace:HWC2
[all...]
H A DHWC2.cpp390 Error Display::createLayer(std::shared_ptr<Layer>* outLayer)
399 auto layer = std::make_shared<Layer>(shared_from_this(), layerId);
433 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes)
435 std::vector<Hwc2::Layer> layerIds;
497 std::unordered_map<std::shared_ptr<Layer>, LayerRequest>*
501 std::vector<Hwc2::Layer> layerIds;
574 std::unordered_map<std::shared_ptr<Layer>, sp<Fence>>* outFences) const
576 std::vector<Hwc2::Layer> layerIds;
586 std::unordered_map<std::shared_ptr<Layer>, sp<Fence>> releaseFences;
776 // For use by Layer
802 Layer::Layer(const std::shared_ptr<Display>& display, hwc2_layer_t id) function in class:HWC2::Layer
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.h48 // Layer represents the connection between a hardware composer layer and the
50 class Layer { class in namespace:android::dvr
52 Layer() {} function in class:android::dvr::Layer
54 // Sets up the global state used by all Layer instances. This must be called
55 // before using any Layer methods.
62 // Sets up the layer to use a display surface as its content source. The Layer
112 // remain valid across calls to Layer::Setup(), Layer::Prepare(), or
113 // Layer::Reset(). YOU HAVE BEEN WARNED.
117 HWC::Layer GetLayerHandl
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java59 * a list of Graphics2D for each layers. The class actually maintains a list of {@link Layer}
61 * ({@link Layer#getGraphics()}) is configured only for the new snapshot.
69 private final ArrayList<Layer> mLayers = new ArrayList<Layer>();
82 private final Layer mLocalLayer;
95 private static class Layer { class in class:GcSnapshot
114 Layer(Graphics2D graphics, Bitmap_Delegate bitmap) { method in class:GcSnapshot.Layer
124 * {@link Layer#Layer(Graphics2D, Bitmap_Delegate)} should be used.
130 Layer(Graphics2 method in class:GcSnapshot.Layer
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp282 class Layer { class
286 Layer() : function in class:Layer
582 Layer mLayers[MAX_NUM_LAYERS];
/frameworks/native/services/surfaceflinger/
H A DLayer.h68 * Layer is first referenced.
73 class Layer : public SurfaceFlingerConsumer::ContentsChangedListener { class in namespace:android
84 // Layer serial number. This gives layers an explicit ordering, so we
140 // If set, defers this state update until the identified Layer
142 wp<Layer> barrierLayer;
156 wp<Layer> zOrderRelativeOf;
159 SortedVector<wp<Layer>> zOrderRelatives;
164 Layer(SurfaceFlinger* flinger, const sp<Client>& client,
167 virtual ~Layer();
236 void deferTransactionUntil(const sp<Layer>
[all...]
H A DLayer.cpp19 #define LOG_TAG "Layer"
47 #include "Layer.h"
64 int32_t Layer::sSequence = 1;
66 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, function in class:android::Layer
109 ALOGV("Creating Layer %s", name.string());
168 void Layer::onFirstRef() {
187 Layer::~Layer() {
208 void Layer
[all...]
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
H A DHWC2On1Adapter.h129 class Layer;
133 bool operator()(const std::shared_ptr<Layer>& lhs,
134 const std::shared_ptr<Layer>& rhs);
327 // - Layer composition type.
328 // - Layer hints.
375 // prepare/set array and Layer object. Stores mapping in
376 // mHwc1LayerMap and also updates Layer's attribute mHwc1Id.
382 const Layer& layer);
387 const Layer& layer);
446 std::multiset<std::shared_ptr<Layer>, SortLayersBy
524 class Layer { class in class:android::HWC2On1Adapter
615 callLayerFunction(hwc2_device_t* device, hwc2_display_t displayId, hwc2_layer_t layerId, HWC2::Error (Layer::*member)(Args...), Args... args) argument
[all...]
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp254 // Layer functions
257 layerHook<decltype(&Layer::setCursorPosition),
258 &Layer::setCursorPosition, int32_t, int32_t>);
261 layerHook<decltype(&Layer::setBuffer), &Layer::setBuffer,
265 layerHook<decltype(&Layer::setSurfaceDamage),
266 &Layer::setSurfaceDamage, hwc_region_t>);
268 // Layer state functions
274 layerHook<decltype(&Layer::setColor), &Layer
1897 HWC2On1Adapter::Layer::Layer(Display& display) function in class:android::HWC2On1Adapter::Layer
[all...]

Completed in 230 milliseconds