HomeSort by relevance Sort by last modified time
    Searched refs:Layer (Results 1 - 25 of 55) sorted by null

1 2 3

  /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"
49 * Returns a layer large enough for the specified dimensions. If no suitable
50 * layer can be found, a new one is created and returned. If creating a new
51 * layer fails, NULL is returned.
53 * When a layer is obtained from the cache, it is removed and the total
56 * @param width The desired width of the layer
57 * @param height The desired height of the layer
59 Layer* get(RenderState& renderState, const uint32_t width, const uint32_t height);
62 * Adds the layer to the cache. The layer will not be added if there i
    [all...]
Layer.cpp 19 #include "Layer.h"
32 ATRACE_FORMAT("%s HW Layer DisplayList %s %ux%u", \
40 Layer::Layer(Type layerType, RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight)
55 Layer::~Layer() {
68 void Layer::onGlContextLost() {
73 uint32_t Layer::computeIdealWidth(uint32_t layerWidth) {
77 uint32_t Layer::computeIdealHeight(uint32_t layerHeight) {
81 void Layer::requireRenderer()
    [all...]
LayerCache.cpp 37 INIT_LOGD(" Setting layer cache size to %sMB", property);
40 INIT_LOGD(" Using default layer cache size of %.2fMB", DEFAULT_LAYER_CACHE_SIZE);
81 void LayerCache::deleteLayer(Layer* layer) {
82 if (layer) {
83 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(),
84 layer->getFbo());
85 mSize -= layer->getWidth() * layer->getHeight() * 4
100 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(renderthread::RenderThread& thread, Layer* layer);
82 Layer* backingLayer() {
102 Layer* mLayer;
SkiaShader.h 33 class Layer;
78 Layer* layer; member in struct:android::uirenderer::SkiaShaderData::LayerShaderData
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();
87 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo());
103 // Layer support
163 const float height = mLayer->layer.getHeight();
186 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height)
198 Layer* layer = caches.layerCache.get(renderState, width, height); local
275 Layer* layer = new Layer(Layer::kType_Texture, renderState, 0, 0); local
    [all...]
OpenGLRenderer.h 170 void pushLayerUpdate(Layer* layer);
171 void cancelLayerUpdate(Layer* layer);
180 // Specialized saveLayer implementation, which will pass the convexMask to an FBO layer, if
189 void drawLayer(Layer* layer, float x, float y);
443 * Call this method after updating a layer during a drawing pass.
450 * appropriate layer(s).
456 * attaches it to the specified layer
    [all...]
Caches.h 127 * Can be used to delete a layer from a non EGL thread.
129 void deleteLayerDeferred(Layer* layer);
209 Vector<Layer*> mLayerGarbage;
ResourceCache.h 33 class 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;
74 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
Layer.cpp 43 #include "Layer.h"
57 int32_t Layer::sSequence = 1;
59 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client,
125 void Layer::onFirstRef() {
147 Layer::~Layer() {
160 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& /* hw */,
161 HWComposer::HWCLayerInterface* layer) {
162 if (layer) {
    [all...]
Client.cpp 26 #include "Layer.h"
46 sp<Layer> layer(mLayers.valueAt(i).promote());
47 if (layer != 0) {
48 mFlinger->removeLayer(layer);
57 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer)
60 mLayers.add(handle, layer);
63 void Client::detachLayer(const Layer* layer)
159 sp<Layer> layer = getLayerUser(handle); local
168 sp<Layer> layer = getLayerUser(handle); local
    [all...]
LayerDim.cpp 36 : Layer(flinger, client, name, w, h, flags) {
57 const Layer::State& s(getDrawingState());
DisplayDevice.h 43 class Layer;
50 // region in layer-stack space
107 void setVisibleLayersSortedByZ(const Vector< sp<Layer> >& layers);
108 const Vector< sp<Layer> >& getVisibleLayersSortedByZ() const;
203 Vector< sp<Layer> > mVisibleLayersSortedByZ;
205 // Whether we have a visible secure layer on this display
217 // user-provided visible area of the layer stack
SurfaceFlinger.h 67 class Layer;
131 const Vector< sp<Layer> >& getLayerSortedByZForHwcDisplay(int id);
140 friend class Layer;
156 class LayerVector : public SortedVector< sp<Layer> > {
282 * Layer management
291 sp<Layer>* outLayer);
295 sp<IGraphicBufferProducer>* outGbp, sp<Layer>* outLayer);
302 // this layer meaning it is entirely safe to destroy all
303 // resources associated to this layer.
304 status_t onLayerDestroyed(const wp<Layer>& layer)
    [all...]
Layer.h 65 * Layer is first referenced.
70 class Layer : public SurfaceFlingerConsumer::ContentsChangedListener {
81 // Layer serial number. This gives layers an explicit ordering, so we
82 // have a stable sort order when their layer stack and Z-order are
122 Layer(SurfaceFlinger* flinger, const sp<Client>& client,
125 virtual ~Layer();
127 // the this layer's size and format
162 virtual const char* getTypeId() const { return "Layer"; }
169 * on the layer. It does not examine the current plane alpha value.
171 virtual bool isOpaque(const Layer::State& s) const
    [all...]
SurfaceFlinger.cpp 68 #include "Layer.h"
1637 const sp<Layer>& layer = currentLayers[i]; local
1804 Layer* layer = layersWithQueuedFrames[i]; local
2276 sp<Layer> layer; local
    [all...]
  /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...]
Layer.java 19 public class Layer {
21 public Layer(int axis) {
  /frameworks/base/libs/hwui/renderstate/
RenderState.h 41 class Layer;
66 void registerLayer(Layer* layer) {
67 mActiveLayers.insert(layer);
69 void unregisterLayer(Layer* layer) {
70 mActiveLayers.erase(layer);
117 std::set<Layer*> mActiveLayers;
  /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...]
  /frameworks/base/libs/hwui/renderthread/
CanvasContext.h 46 class Layer;
89 bool copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap);
99 Layer* createTextureLayer();
117 // TODO: Replace with something better for layer & other GL object
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
PsdFile.java 245 final List<Layer> mLayers = new ArrayList<Layer>();
248 mLayers.add(new Layer(name, image, offset, visible));
253 for (Layer layer : mLayers) {
254 length += layer.getLength();
261 for (Layer layer : mLayers) {
262 layer.write(out);
267 for (Layer layer : mLayers)
    [all...]

Completed in 996 milliseconds

1 2 3