Searched refs:Layer (Results 26 - 50 of 77) sorted by relevance

1234

/frameworks/base/libs/hwui/
H A DLayer.h41 class Layer : public VirtualLightRefBase, GpuMemoryTracker { class in namespace:android::uirenderer
50 ~Layer();
98 Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter>, int alpha,
148 }; // struct Layer
H A DGpuMemoryTracker.h37 Layer, member in class:android::uirenderer::GpuObjectType
H A DCaches.h117 void deleteLayerDeferred(Layer* layer);
189 std::vector<Layer*> mLayerGarbage;
H A DGlLayer.cpp27 ATRACE_FORMAT("%s HW Layer DisplayList %s %ux%u", label, \
36 : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode)
H A DGlLayer.h19 #include "Layer.h"
32 class GlLayer : public Layer {
H A DResourceCache.h33 class Layer;
/frameworks/native/services/surfaceflinger/
H A DLayerVector.cpp18 #include "Layer.h"
25 : SortedVector<sp<Layer>>(rhs), mStateSet(stateSet) {}
38 const auto& l = *reinterpret_cast<const sp<Layer>*>(lhs);
39 const auto& r = *reinterpret_cast<const sp<Layer>*>(rhs);
H A DColorLayer.h22 #include "Layer.h"
26 class ColorLayer : public Layer {
H A DContainerLayer.h22 #include "Layer.h"
26 class ContainerLayer : public Layer {
H A DMonitoredProducer.h27 class Layer;
35 const wp<Layer>& layer);
73 // The Layer which created this producer, and on which queued Buffer's will be displayed.
74 sp<Layer> getLayer() const;
79 // The Layer which created this producer, and on which queued Buffer's will be displayed.
80 wp<Layer> mLayer;
H A DLayerStats.h41 const std::vector<std::unique_ptr<LayerProtoParser::Layer>>& layerTree,
55 static std::string scaleRatioWH(const LayerProtoParser::Layer* layer);
H A DDisplayDevice.h51 class Layer;
115 void setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers);
116 const Vector< sp<Layer> >& getVisibleLayersSortedByZ() const;
117 void setLayersNeedingFences(const Vector< sp<Layer> >& layers);
118 const Vector< sp<Layer> >& getLayersNeedingFences() const;
247 Vector< sp<Layer> > mVisibleLayersSortedByZ;
249 Vector< sp<Layer> > mLayersNeedingFences;
H A DSurfaceInterceptor.cpp20 #include "Layer.h"
43 void SurfaceInterceptor::enable(const SortedVector<sp<Layer>>& layers,
84 void SurfaceInterceptor::saveExistingSurfacesLocked(const SortedVector<sp<Layer>>& layers) {
87 l->traverseInZOrder(LayerVector::StateSet::Drawing, [this](Layer* layer) {
95 const sp<const Layer>& layer)
149 const sp<const Layer> SurfaceInterceptor::getLayer(const wp<const IBinder>& weakHandle) {
151 const auto layerHandle(static_cast<const Layer::Handle*>(handle.get()));
152 const sp<const Layer> layer(layerHandle->owner.promote());
157 const std::string SurfaceInterceptor::getLayerName(const sp<const Layer>& layer) {
161 int32_t SurfaceInterceptor::getLayerId(const sp<const Layer>
[all...]
H A DBufferLayer.h21 #include "Layer.h"
57 class BufferLayer : public Layer, public BufferLayerConsumer::ContentsChangedListener {
71 // Overriden from Layer
75 * getTypeId - Provide unique string for each class type in the Layer
136 bool isOpaque(const Layer::State& s) const override;
H A DColorLayer.cpp40 : Layer(flinger, client, name, w, h, flags) {
60 const Layer::State& s(getDrawingState());
H A DLayerRejecter.cpp28 LayerRejecter::LayerRejecter(Layer::State& front,
29 Layer::State& current,
/frameworks/base/libs/hwui/pipeline/skia/
H A DLayerDrawable.cpp31 Layer* layer = mLayerUpdater->backingLayer();
37 bool LayerDrawable::DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer,
49 if (layer->getApi() == Layer::Api::OpenGL) {
64 SkASSERT(layer->getApi() == Layer::Api::Vulkan);
H A DLayerDrawable.h35 static bool DrawLayer(GrContext* context, SkCanvas* canvas, Layer* layer,
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h44 class Layer;
83 void registerLayer(Layer* layer) { mActiveLayers.insert(layer); }
84 void unregisterLayer(Layer* layer) { mActiveLayers.erase(layer); }
137 std::set<Layer*> mActiveLayers;
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.h55 // Layer represents the connection between a hardware composer layer and the
57 class Layer { class in namespace:android::dvr
59 Layer() = default;
61 // Sets up the layer to use a display surface as its content source. The Layer
71 Layer(Hwc2::Composer* composer, const DisplayParams& display_params,
85 Layer(Hwc2::Composer* composer, const DisplayParams& display_params,
89 Layer(Layer&&);
90 Layer& operator=(Layer
[all...]
H A Dhardware_composer.cpp453 stream << "Layer " << i << ":";
531 std::vector<Hwc2::Layer> out_layers;
1019 std::vector<Layer> layers;
1222 void Layer::Reset() {
1248 Layer::Layer(Hwc2::Composer* composer, const DisplayParams& display_params, function in class:android::dvr::Layer
1261 Layer::Layer(Hwc2::Composer* composer, const DisplayParams& display_params, function in class:android::dvr::Layer
1273 Layer::~Layer() { Rese
1275 Layer::Layer(Layer&& other) { *this = std::move(other); } function in class:android::dvr::Layer
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.h56 class Layer;
205 [[clang::warn_unused_result]] Error createLayer(Layer** outLayer);
206 [[clang::warn_unused_result]] Error destroyLayer(Layer* layer);
211 std::unordered_map<Layer*, Composition>* outTypes);
230 std::unordered_map<Layer*, LayerRequest>* outLayerRequests);
236 std::unordered_map<Layer*,
275 Layer* getLayerById(hwc2_layer_t id) const;
290 std::unordered_map<hwc2_layer_t, std::unique_ptr<Layer>> mLayers;
294 // Convenience C++ class to access hwc2_device_t Layer functions directly.
295 class Layer class in namespace:HWC2
[all...]
H A DHWC2.cpp287 Error Display::createLayer(Layer** outLayer)
299 auto layer = std::make_unique<Layer>(
306 Error Display::destroyLayer(Layer* layer)
368 std::unordered_map<Layer*, Composition>* outTypes)
370 std::vector<Hwc2::Layer> layerIds;
470 std::unordered_map<Layer*, LayerRequest>* outLayerRequests)
473 std::vector<Hwc2::Layer> layerIds;
539 std::unordered_map<Layer*, sp<Fence>>* outFences) const
541 std::vector<Hwc2::Layer> layerIds;
550 std::unordered_map<Layer*, s
756 Layer::Layer(android::Hwc2::Composer& composer, const std::unordered_set<Capability>& capabilities, function in class:HWC2::Layer
[all...]
H A DComposerHal.cpp298 Error Composer::createLayer(Display display, Layer* outLayer)
314 Error Composer::destroyLayer(Display display, Layer layer)
337 std::vector<Layer>* outLayers,
426 uint32_t* outDisplayRequestMask, std::vector<Layer>* outLayers,
492 std::vector<Layer>* outLayers, std::vector<int>* outReleaseFences)
638 Error Composer::setCursorPosition(Display display, Layer layer,
647 Error Composer::setLayerBuffer(Display display, Layer layer,
673 Error Composer::setLayerSurfaceDamage(Display display, Layer layer,
682 Error Composer::setLayerBlendMode(Display display, Layer layer,
691 Error Composer::setLayerColor(Display display, Layer laye
[all...]
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.cpp111 HwcLayer* HwcDisplay::GetLayer(Layer id) {
119 bool HwcDisplay::DestroyLayer(Layer id) {
131 std::vector<Layer>* layer_ids,
202 ALOGV("Layer requested without valid buffer");
214 std::vector<Layer> HwcDisplay::UpdateLastFrameAndGetLastFrameLayers() {
215 std::vector<Layer> last_frame_layers;
295 Error VrHwc::createLayer(Display display, Layer* outLayer) {
306 Error VrHwc::destroyLayer(Display display, Layer layer) {
524 Display display, std::vector<Layer>* outChangedLayers,
527 std::vector<Layer>* /* outRequestedLayer
[all...]

Completed in 379 milliseconds

1234