Searched refs:Layer (Results 1 - 25 of 61) sorted by relevance

123

/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 DLayerRenderer.h23 #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 DLayerCache.h21 #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 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 DLayerCache.cpp74 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 DDeferredLayerUpdater.h25 #include "Layer.h"
38 ANDROID_API DeferredLayerUpdater(Layer* layer);
89 Layer* backingLayer() {
109 Layer* mLayer;
H A DSkiaShader.h33 class Layer;
78 Layer* layer;
H A DLayerRenderer.cpp38 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 DGpuMemoryTracker.h36 Layer, member in class:android::uirenderer::GpuObjectType
H A DOpenGLRenderer.h150 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 DClient.h33 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;
76 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
H A DLayerDim.h23 #include "Layer.h"
29 class LayerDim : public Layer
39 virtual bool isOpaque(const Layer::State&) const { return false; }
H A DLayer.cpp19 #define LOG_TAG "Layer"
46 #include "Layer.h"
62 int32_t Layer::sSequence = 1;
64 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, function in class:android::Layer
104 ALOGV("Creating Layer %s", name.string());
154 void Layer::onFirstRef() {
176 Layer::~Layer() {
197 void Layer
[all...]
H A DFenceTracker.h31 class Layer;
42 const Vector<sp<Layer>>& layers, sp<Fence> glDoneFence);
43 bool getFrameTimestamps(const Layer& layer, uint64_t frameNumber,
H A DSurfaceFlingerConsumer.h26 class Layer;
40 uint32_t tex, const Layer* layer)
114 wp<const Layer> mLayer;
H A DClient.cpp26 #include "Layer.h"
54 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer)
60 void Client::detachLayer(const Layer* layer)
72 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const
75 sp<Layer> lbc;
76 wp<Layer> layer(mLayers.valueFor(handle));
156 sp<Layer> layer = getLayerUser(handle);
165 sp<Layer> layer = getLayerUser(handle);
175 sp<Layer> layer = getLayerUser(handle);
H A DLayerDim.cpp40 : Layer(flinger, client, name, w, h, flags) {
61 const Layer::State& s(getDrawingState());
H A DDisplayDevice.h54 class Layer;
122 void setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers);
123 const Vector< sp<Layer> >& getVisibleLayersSortedByZ() const;
237 Vector< sp<Layer> > mVisibleLayersSortedByZ;
H A DSurfaceFlinger.h74 class Layer;
142 const Vector< sp<Layer> >& getLayerSortedByZForHwcDisplay(int id);
151 friend class Layer;
167 class LayerVector : public SortedVector< sp<Layer> > {
302 * Layer management
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>
[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/base/libs/hwui/renderstate/
H A DRenderState.h43 class Layer;
74 void registerLayer(Layer* layer) {
77 void unregisterLayer(Layer* layer) {
124 std::set<Layer*> mActiveLayers;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.h50 class Layer;
64 friend class HWC2::Layer;
169 // Layer function pointers
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>,
341 // For use by Layer
346 std::shared_ptr<Layer> getLayerByI
358 class Layer class in namespace:HWC2
[all...]
H A DHWC2On1Adapter.cpp287 // Layer functions
290 layerHook<decltype(&Layer::setCursorPosition),
291 &Layer::setCursorPosition, int32_t, int32_t>);
294 layerHook<decltype(&Layer::setBuffer), &Layer::setBuffer,
298 layerHook<decltype(&Layer::setSurfaceDamage),
299 &Layer::setSurfaceDamage, hwc_region_t>);
301 // Layer state functions
307 layerHook<decltype(&Layer::setColor), &Layer
1974 HWC2On1Adapter::Layer::Layer(Display& display) function in class:android::HWC2On1Adapter::Layer
[all...]
H A DHWC2On1Adapter.h121 class Layer;
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;
456 // Layer functions
461 LatchedState(Layer& parent, T initialValue)
491 Layer
496 class Layer { class in class:android::HWC2On1Adapter
581 callLayerFunction(hwc2_device_t* device, hwc2_display_t displayId, hwc2_layer_t layerId, HWC2::Error (Layer::*member)(Args...), Args... args) argument
[all...]

Completed in 169 milliseconds

123