/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.h | 23 #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 D | Layer.cpp | 21 #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 D | LayerCache.h | 21 #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 D | ResourceCache.h | 26 #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 D | LayerCache.cpp | 70 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 D | LayerRenderer.cpp | 36 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 D | ResourceCache.cpp | 82 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 D | Snapshot.h | 28 #include "Layer.h" 143 Layer* layer;
|
H A D | Android.mk | 19 Layer.cpp \
|
H A D | Caches.h | 147 void deleteLayerDeferred(Layer* layer); 318 Vector<Layer*> mLayerGarbage;
|
H A D | OpenGLRenderer.h | 141 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 D | Layer.h | 47 struct Layer { struct in namespace:android::uirenderer 48 Layer(const uint32_t layerWidth, const uint32_t layerHeight); 49 ~Layer(); 332 }; // struct Layer
|
H A D | Caches.cpp | 234 Vector<Layer*> layers; 252 Layer* layer = layers.itemAt(i); 258 void Caches::deleteLayerDeferred(Layer* layer) {
|
H A D | DisplayListRenderer.h | 500 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 D | Layer.cpp | 41 #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()); 117 Layer::~Layer() [all...] |
H A D | SurfaceTextureLayer.h | 30 class Layer;
|
H A D | Layer.h | 50 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 D | LayerBase.cpp | 34 #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()); 334 const Layer::State& s(mDrawingState); 442 const Layer [all...] |
H A D | Android.mk | 8 Layer.cpp \
|
H A D | LayerBase.h | 46 class Layer; 131 virtual sp<Layer> getLayer() const;
|
H A D | SurfaceFlinger.h | 61 class Layer; 142 friend class Layer; 267 * Layer management 273 sp<Layer> createNormalLayer(const sp<Client>& client,
|
H A D | SurfaceFlinger.cpp | 62 #include "Layer.h" 900 const Layer::State& s(layer->drawingState()); 1077 if (flags & Layer::eVisibleRegion) 1277 const Layer::State& s(layer->drawingState()); 1321 const Layer::State& s(layer->drawingState()); 1463 const Layer::State& s(layer->drawingState()); 1944 sp<Layer> SurfaceFlinger::createNormalLayer( 1969 sp<Layer> layer = new Layer(this, client);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 55 * 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 D | android_view_GLES20Canvas.cpp | 737 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 D | SurfaceTexture.h | 240 // which is why class Layer is made a friend of SurfaceTexture below. 248 friend class Layer;
|