Home
last modified time | relevance | path

Searched refs:layerImage (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp86 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()
DLayer.h86 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
DDeferredLayerUpdater.h98 const sk_sp<SkImage>& layerImage);
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp79 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/
DDeferredLayerUpdaterTests.cpp45 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/
DGcSnapshot.java301 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()