Searched refs:layerImage (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/ |
D | DeferredLayerUpdater.cpp | 86 sk_sp<SkImage> layerImage; in apply() local 93 layerImage = mSurfaceTexture->dequeueImage(textureTransform, &queueEmpty, in apply() 95 } while (layerImage.get() && (!queueEmpty)); in apply() 96 if (layerImage.get()) { in apply() 98 bool forceFilter = mWidth != layerImage->width() || mHeight != layerImage->height(); in apply() 99 updateLayer(forceFilter, textureTransform, layerImage); in apply() 111 const sk_sp<SkImage>& layerImage) { in updateLayer() argument 116 mLayer->setImage(layerImage); in updateLayer()
|
D | Layer.h | 86 inline void setImage(const sk_sp<SkImage>& image) { this->layerImage = image; } in setImage() 88 inline sk_sp<SkImage> getImage() const { return this->layerImage; } in getImage() 128 sk_sp<SkImage> layerImage; variable
|
D | DeferredLayerUpdater.h | 98 const sk_sp<SkImage>& layerImage);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 79 sk_sp<SkImage> layerImage = layer->getImage(); in DrawLayer() local 83 if (layerImage) { in DrawLayer() 92 textureMatrixInv.postScale(layerImage->width(), layerImage->height()); in DrawLayer() 144 canvas->drawImageRect(layerImage.get(), skiaSrcRect, skiaDestRect, &paint, in DrawLayer() 147 SkRect imageRect = SkRect::MakeIWH(layerImage->width(), layerImage->height()); in DrawLayer() 151 canvas->drawImage(layerImage.get(), 0, 0, &paint); in DrawLayer() 159 return layerImage != nullptr; in DrawLayer()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | DeferredLayerUpdaterTests.cpp | 45 sk_sp<SkImage> layerImage = SkImage::MakeFromBitmap(bitmap); in RENDERTHREAD_TEST() local 46 layerUpdater->updateLayer(true, scaledMatrix, layerImage); in RENDERTHREAD_TEST()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 301 BufferedImage layerImage = new BufferedImage( in GcSnapshot() local 309 Graphics2D layerGraphics = layerImage.createGraphics(); in GcSnapshot() 317 mLayers.add(mLocalLayer = new Layer(layerGraphics, layerImage, flags)); in GcSnapshot()
|