/frameworks/native/vulkan/libvulkan/ |
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) [all...] |
layers_extensions.cpp | 54 struct Layer { 58 // true if the layer intercepts vkCreateDevice and device commands 90 std::vector<Layer>& instance_layers) const; 92 void* GetGPA(const Layer& layer, 107 ALOGV("opening layer library '%s'", path_.c_str()); 108 // Libraries in the system layer library dir can't be loaded into 125 ALOGE("failed to load layer library '%s': %s", path_.c_str(), 137 ALOGV("closing layer library '%s'", path_.c_str()); 144 std::vector<Layer>& instance_layers) const 215 Layer layer; local 443 auto layer = local [all...] |
/frameworks/base/libs/hwui/ |
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) [all...] |
LayerCache.h | 21 #include "Layer.h" 50 * Returns a layer large enough for the specified dimensions. If no suitable 51 * layer can be found, a new one is created and returned. If creating a new 52 * layer fails, NULL is returned. 54 * When a layer is obtained from the cache, it is removed and the total 57 * @param width The desired width of the layer 58 * @param height The desired height of the layer 60 Layer* get(RenderState& renderState, const uint32_t width, const uint32_t height); 63 * Adds the layer to the cache. The layer will not be added if there i [all...] |
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) 39 : GpuMemoryTracker(GpuObjectType::Layer) 54 Layer::~Layer() { 66 void Layer::onGlContextLost() { 71 uint32_t Layer::computeIdealWidth(uint32_t layerWidth) { 75 uint32_t Layer::computeIdealHeight(uint32_t layerHeight) [all...] |
LayerCache.cpp | 74 void LayerCache::deleteLayer(Layer* layer) { 75 if (layer) { 76 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(), 77 layer->getFbo()); 78 mSize -= layer->getWidth() * layer->getHeight() * 4; 79 layer->state = Layer::State::DeletedFromCache 92 Layer* layer = nullptr; local [all...] |
DeferredLayerUpdater.h | 25 #include "Layer.h" 32 // Container to hold the properties a layer should be set to at the start 36 // Note that DeferredLayerUpdater assumes it is taking ownership of the layer 38 ANDROID_API DeferredLayerUpdater(Layer* layer); 89 Layer* backingLayer() { 109 Layer* mLayer;
|
SkiaShader.h | 33 class Layer; 78 Layer* layer; member in struct:android::uirenderer::SkiaShaderData::LayerShaderData
|
OpenGLRenderer.h | 150 void pushLayerUpdate(Layer* layer); 151 void cancelLayerUpdate(Layer* layer); 160 // Specialized saveLayer implementation, which will pass the convexMask to an FBO layer, if 169 void drawLayer(Layer* layer); 373 * Call this method after updating a layer during a drawing pass. 380 * appropriate layer(s). 386 * attaches it to the specified layer [all...] |
LayerRenderer.cpp | 38 LayerRenderer::LayerRenderer(RenderState& renderState, Layer* layer) 40 , mLayer(layer) { 48 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo()); 52 const float width = mLayer->layer.getWidth(); 53 const float height = mLayer->layer.getHeight(); 88 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo()); 104 // Layer support 164 const float height = mLayer->layer.getHeight(); 187 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height) 199 Layer* layer = caches.layerCache.get(renderState, width, height); local 276 Layer* layer = new Layer(Layer::Type::Texture, renderState, 0, 0); local [all...] |
GpuMemoryTracker.h | 36 Layer,
|
/frameworks/native/services/surfaceflinger/ |
LayerDim.h | 23 #include "Layer.h" 29 class LayerDim : public Layer 39 virtual bool isOpaque(const Layer::State&) const { return false; }
|
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; 76 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
|
Layer.cpp | 19 #define LOG_TAG "Layer" 46 #include "Layer.h" 62 int32_t Layer::sSequence = 1; 64 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, 104 ALOGV("Creating Layer %s", name.string()); 154 void Layer::onFirstRef() { 176 Layer::~Layer() { 197 void Layer::onLayerDisplayed(const sp<Fence>& releaseFence) [all...] |
SurfaceFlingerConsumer.h | 26 class Layer; 40 uint32_t tex, const Layer* layer) 43 mPrevReleaseFence(Fence::NO_FENCE), mLayer(layer) 113 // The layer for this SurfaceFlingerConsumer 114 wp<const Layer> mLayer;
|
FenceTracker.h | 31 class Layer; 42 const Vector<sp<Layer>>& layers, sp<Fence> glDoneFence); 43 bool getFrameTimestamps(const Layer& layer, uint64_t frameNumber, 50 String8 name; // layer name 51 uint64_t frameNumber; // frame number for this layer 52 bool isGlesComposition; // was GLES composition used for this layer? 76 // layer data for this frame
|
Client.cpp | 26 #include "Layer.h" 54 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) 57 mLayers.add(handle, layer); 60 void Client::detachLayer(const Layer* layer) 66 if (mLayers.valueAt(i) == 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); local 165 sp<Layer> layer = getLayerUser(handle); local 175 sp<Layer> layer = getLayerUser(handle); local [all...] |
LayerDim.cpp | 40 : Layer(flinger, client, name, w, h, flags) { 61 const Layer::State& s(getDrawingState());
|
SurfaceFlinger.h | 74 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); 322 // this layer meaning it is entirely safe to destroy all 323 // resources associated to this layer. 324 status_t onLayerDestroyed(const wp<Layer>& layer) [all...] |
DisplayDevice.h | 54 class Layer; 61 // region in layer-stack space 122 void setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers); 123 const Vector< sp<Layer> >& getVisibleLayersSortedByZ() const; 237 Vector< sp<Layer> > mVisibleLayersSortedByZ; 248 // user-provided visible area of the layer stack
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Kube.java | 138 mLayers[kUp] = new Layer(Layer.kAxisY); 139 mLayers[kDown] = new Layer(Layer.kAxisY); 140 mLayers[kLeft] = new Layer(Layer.kAxisX); 141 mLayers[kRight] = new Layer(Layer.kAxisX); 142 mLayers[kFront] = new Layer(Layer.kAxisZ) 150 Layer layer; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
GcSnapshot.java | 57 * a list of Graphics2D for each layers. The class actually maintains a list of {@link Layer} 58 * for each layer. Doing a save() will duplicate this list so that each graphics2D object 59 * ({@link Layer#getGraphics()}) is configured only for the new snapshot. 67 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); 74 // local layer data 75 /** a local layer created with {@link Canvas#saveLayer(RectF, Paint, int)}. 76 * If this is null, this does not mean there's no layer, just that the snapshot is not the 77 * one that created the layer. 80 private final Layer mLocalLayer 332 Layer layer = mLayers.get(i); local 591 Layer layer = mLayers.get(i); local [all...] |
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcCBindingsStack.h | 55 GenericHandleImpl(LayerT &Layer, typename LayerT::ModuleSetHandleT Handle) 56 : Layer(Layer), Handle(std::move(Handle)) {} 60 return Layer.findSymbolIn(Handle, Name, ExportedSymbolsOnly); 64 return Layer.removeModuleSet(Handle); 68 LayerT &Layer; 74 createGenericHandle(LayerT &Layer, typename LayerT::ModuleSetHandleT Handle) { 75 return llvm::make_unique<GenericHandleImpl<LayerT>>(Layer, 81 // We need a 'ModuleSetHandleT' to conform to the layer concept. 174 ModuleHandleT addIRModule(LayerT &Layer, [all...] |
/frameworks/base/libs/hwui/renderstate/ |
RenderState.h | 43 class Layer; 74 void registerLayer(Layer* layer) { 75 mActiveLayers.insert(layer); 77 void unregisterLayer(Layer* layer) { 78 mActiveLayers.erase(layer); 124 std::set<Layer*> mActiveLayers;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWC2.h | 50 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 344 // This may fail (and return a null pointer) if no layer with this ID exist [all...] |