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

12

/frameworks/base/libs/hwui/
H A DLayerRenderer.h23 #include "Layer.h"
47 ANDROID_API LayerRenderer(Layer* layer);
55 ANDROID_API static Layer* createTextureLayer(bool isOpaque);
56 ANDROID_API static Layer* createLayer(uint32_t width, uint32_t height, bool isOpaque = false);
57 ANDROID_API static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height);
58 ANDROID_API static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
60 ANDROID_API static void destroyLayer(Layer* layer);
61 ANDROID_API static void destroyLayerDeferred(Layer* layer);
62 ANDROID_API static bool copyLayer(Layer* layer, SkBitmap* bitmap);
64 static void flushLayer(Layer* laye
[all...]
H A DLayer.cpp21 #include "Layer.h"
29 Layer::Layer(const uint32_t layerWidth, const uint32_t layerHeight) { function in class:android::uirenderer::Layer
47 Layer::~Layer() {
55 void Layer::removeFbo() {
63 void Layer::setPaint(SkPaint* paint) {
67 void Layer::setColorFilter(SkiaColorFilter* filter) {
H A DLayerCache.h21 #include "Layer.h"
59 Layer* get(const uint32_t width, const uint32_t height);
70 bool put(Layer* layer);
85 bool resize(Layer* layer, const uint32_t width, const uint32_t height);
106 void deleteLayer(Layer* layer);
118 LayerEntry(Layer* layer):
133 Layer* mLayer;
H A DResourceCache.h26 #include "Layer.h"
72 void incrementRefcount(Layer* resource);
78 void incrementRefcountLocked(Layer* resource);
84 void decrementRefcount(Layer* resource);
90 void decrementRefcountLocked(Layer* resource);
H A DLayerCache.cpp70 void LayerCache::deleteLayer(Layer* layer) {
87 Layer* LayerCache::get(const uint32_t width, const uint32_t height) {
88 Layer* layer = NULL;
104 layer = new Layer(entry.mWidth, entry.mHeight);
127 LAYER_LOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight);
131 bool LayerCache::resize(Layer* layer, const uint32_t width, const uint32_t height) {
156 bool LayerCache::put(Layer* layer) {
168 Layer* victim = mCache.itemAt(position).mLayer;
H A DLayerRenderer.cpp36 LayerRenderer::LayerRenderer(Layer* layer): mLayer(layer) {
197 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, bool isOpaque) {
208 Layer* layer = caches.layerCache.get(width, height);
255 bool LayerRenderer::resizeLayer(Layer* layer, uint32_t width, uint32_t height) {
272 Layer* LayerRenderer::createTextureLayer(bool isOpaque) {
275 Layer* layer = new Layer(0, 0);
293 void LayerRenderer::updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
312 void LayerRenderer::destroyLayer(Layer* layer) {
331 void LayerRenderer::destroyLayerDeferred(Layer* laye
[all...]
H A DResourceCache.cpp82 void ResourceCache::incrementRefcount(Layer* layerResource) {
116 void ResourceCache::incrementRefcountLocked(Layer* layerResource) {
145 void ResourceCache::decrementRefcount(Layer* layerResource) {
182 void ResourceCache::decrementRefcountLocked(Layer* layerResource) {
339 Layer* layer = (Layer*) resource;
H A DSnapshot.h28 #include "Layer.h"
143 Layer* layer;
H A DAndroid.mk19 Layer.cpp \
H A DCaches.h147 void deleteLayerDeferred(Layer* layer);
318 Vector<Layer*> mLayerGarbage;
H A DOpenGLRenderer.h141 ANDROID_API void pushLayerUpdate(Layer* layer);
172 virtual status_t drawLayer(Layer* layer, float x, float y, SkPaint* paint);
332 void drawTextureLayer(Layer* layer, const Rect& rect);
449 bool createFboLayer(Layer* layer, Rect& bounds, Rect& clip, GLuint previousFbo);
457 void composeLayerRegion(Layer* layer, const Rect& rect);
466 void composeLayerRect(Layer* layer, const Rect& rect, bool swap = false);
735 bool updateLayer(Layer* layer, bool inFrame);
802 Vector<Layer*> mLayerUpdates;
H A DLayer.h47 struct Layer { struct in namespace:android::uirenderer
48 Layer(const uint32_t layerWidth, const uint32_t layerHeight);
49 ~Layer();
332 }; // struct Layer
H A DCaches.cpp234 Vector<Layer*> layers;
252 Layer* layer = layers.itemAt(i);
258 void Caches::deleteLayerDeferred(Layer* layer) {
H A DDisplayListRenderer.h500 Vector<Layer*> mLayers;
582 virtual status_t drawLayer(Layer* layer, float x, float y, SkPaint* paint);
658 const Vector<Layer*>& getLayers() const {
818 inline void addLayer(Layer* layer) {
882 Vector<Layer*> mLayers;
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp41 #include "Layer.h"
53 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client) function in class:android::Layer
73 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& hw,
81 void Layer::onFirstRef()
86 FrameQueuedListener(Layer* layer) : mLayer(layer) { }
88 wp<Layer> mLayer;
90 sp<Layer> that(mLayer.promote());
116 Layer::~Layer()
[all...]
H A DSurfaceTextureLayer.h30 class Layer;
H A DLayer.h50 class Layer : public LayerBaseClient class in namespace:android
53 Layer(SurfaceFlinger* flinger, const sp<Client>& client);
54 virtual ~Layer();
56 virtual const char* getTypeId() const { return "Layer"; }
83 virtual sp<Layer> getLayer() const { return const_cast<Layer*>(this); }
H A DLayerBase.cpp34 #include "Layer.h"
204 const Layer::State& front(drawingState());
205 const Layer::State& temp(currentState());
208 // this is used by Layer, which special cases resizes.
211 Layer::State& editTemp(currentState());
217 flags |= Layer::eVisibleRegion;
238 const Layer::State& s(drawingState());
257 const Layer::State& s(drawingState());
333 const Layer::State& s(mDrawingState);
441 const Layer
[all...]
H A DAndroid.mk8 Layer.cpp \
H A DLayerBase.h46 class Layer;
131 virtual sp<Layer> getLayer() const;
H A DSurfaceFlinger.h61 class Layer;
142 friend class Layer;
267 * Layer management
273 sp<Layer> createNormalLayer(const sp<Client>& client,
H A DSurfaceFlinger.cpp62 #include "Layer.h"
900 const Layer::State& s(layer->drawingState());
1077 if (flags & Layer::eVisibleRegion)
1234 const Layer::State& s(layer->drawingState());
1278 const Layer::State& s(layer->drawingState());
1420 const Layer::State& s(layer->drawingState());
1901 sp<Layer> SurfaceFlinger::createNormalLayer(
1926 sp<Layer> layer = new Layer(this, client);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java55 * a list of Graphics2D for each layers. The class actually maintains a list of {@link Layer}
57 * ({@link Layer#getGraphics()}) is configured only for the new snapshot.
65 private final ArrayList<Layer> mLayers = new ArrayList<Layer>();
78 private final Layer mLocalLayer;
91 private static class Layer { class in class:GcSnapshot
110 Layer(Graphics2D graphics, Bitmap_Delegate bitmap) { method in class:GcSnapshot.Layer
120 * {@link Layer#Layer(Graphics2D, Bitmap_Delegate)} should be used.
126 Layer(Graphics2 method in class:GcSnapshot.Layer
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp737 jobject clazz, Layer* layer) {
746 static Layer* android_view_GLES20Canvas_createTextureLayer(JNIEnv* env, jobject clazz,
748 Layer* layer = LayerRenderer::createTextureLayer(isOpaque);
759 static Layer* android_view_GLES20Canvas_createLayer(JNIEnv* env, jobject clazz,
761 Layer* layer = LayerRenderer::createLayer(width, height, isOpaque);
774 Layer* layer, jint width, jint height, jintArray layerInfo) {
786 Layer* layer, SkPaint* paint) {
793 Layer* layer, SkiaColorFilter* colorFilter) {
800 Layer* layer, jboolean isOpaque) {
807 Layer* laye
[all...]
/frameworks/native/include/gui/
H A DSurfaceTexture.h240 // which is why class Layer is made a friend of SurfaceTexture below.
248 friend class Layer;

Completed in 145 milliseconds

12