Lines Matching refs:Layer
55 int32_t Layer::sSequence = 1;
57 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, in Layer() function in android::Layer
115 void Layer::onFirstRef() { in onFirstRef()
134 Layer::~Layer() { in ~Layer()
147 void Layer::onLayerDisplayed(const sp<const DisplayDevice>& hw, in onLayerDisplayed()
155 void Layer::onFrameAvailable() { in onFrameAvailable()
163 void Layer::onRemoved() { in onRemoved()
171 const String8& Layer::getName() const { in getName()
175 status_t Layer::setBuffers( uint32_t w, uint32_t h, in setBuffers()
202 sp<IBinder> Layer::getHandle() { in getHandle()
220 wp<const Layer> mOwner; in getHandle()
222 Handle(const sp<SurfaceFlinger>& flinger, const sp<Layer>& layer) in getHandle()
230 sp<IGraphicBufferProducer> Layer::getBufferQueue() const { in getBufferQueue()
238 Rect Layer::getContentCrop() const { in getContentCrop()
265 Rect Layer::computeBounds() const { in computeBounds()
266 const Layer::State& s(getDrawingState()); in computeBounds()
275 FloatRect Layer::computeCrop(const sp<const DisplayDevice>& hw) const { in computeCrop()
340 void Layer::setGeometry( in setGeometry()
405 void Layer::setPerFrameData(const sp<const DisplayDevice>& hw, in setPerFrameData()
421 void Layer::setAcquireFence(const sp<const DisplayDevice>& hw, in setAcquireFence()
444 void Layer::draw(const sp<const DisplayDevice>& hw, const Region& clip) const { in draw()
448 void Layer::draw(const sp<const DisplayDevice>& hw) { in draw()
452 void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const in onDraw()
471 const sp<Layer>& layer(drawingLayers[i]); in onDraw()
472 if (layer.get() == static_cast<Layer const*>(this)) in onDraw()
548 void Layer::clearWithOpenGL(const sp<const DisplayDevice>& hw, const Region& clip, in clearWithOpenGL()
557 void Layer::clearWithOpenGL( in clearWithOpenGL()
562 void Layer::drawWithOpenGL( in drawWithOpenGL()
604 void Layer::setFiltering(bool filtering) { in setFiltering()
608 bool Layer::getFiltering() const { in getFiltering()
619 bool Layer::getOpacityForFormat(uint32_t format) { in getOpacityForFormat()
637 void Layer::computeGeometry(const sp<const DisplayDevice>& hw, Mesh& mesh) const in computeGeometry()
639 const Layer::State& s(getDrawingState()); in computeGeometry()
659 bool Layer::isOpaque() const in isOpaque()
672 bool Layer::isProtected() const in isProtected()
679 bool Layer::isFixedSize() const { in isFixedSize()
683 bool Layer::isCropped() const { in isCropped()
687 bool Layer::needsFiltering(const sp<const DisplayDevice>& hw) const { in needsFiltering()
691 void Layer::setVisibleRegion(const Region& visibleRegion) { in setVisibleRegion()
696 void Layer::setCoveredRegion(const Region& coveredRegion) { in setCoveredRegion()
701 void Layer::setVisibleNonTransparentRegion(const Region& in setVisibleNonTransparentRegion()
711 uint32_t Layer::doTransaction(uint32_t flags) { in doTransaction()
714 const Layer::State& s(getDrawingState()); in doTransaction()
715 const Layer::State& c(getCurrentState()); in doTransaction()
787 Layer::State& editCurrentState(getCurrentState()); in doTransaction()
793 flags |= Layer::eVisibleRegion; in doTransaction()
812 void Layer::commitTransaction() { in commitTransaction()
816 uint32_t Layer::getTransactionFlags(uint32_t flags) { in getTransactionFlags()
820 uint32_t Layer::setTransactionFlags(uint32_t flags) { in setTransactionFlags()
824 bool Layer::setPosition(float x, float y) { in setPosition()
832 bool Layer::setLayer(uint32_t z) { in setLayer()
840 bool Layer::setSize(uint32_t w, uint32_t h) { in setSize()
848 bool Layer::setAlpha(uint8_t alpha) { in setAlpha()
856 bool Layer::setMatrix(const layer_state_t::matrix22_t& matrix) { in setMatrix()
863 bool Layer::setTransparentRegionHint(const Region& transparent) { in setTransparentRegionHint()
868 bool Layer::setFlags(uint8_t flags, uint8_t mask) { in setFlags()
877 bool Layer::setCrop(const Rect& crop) { in setCrop()
886 bool Layer::setLayerStack(uint32_t layerStack) { in setLayerStack()
899 bool Layer::onPreComposition() { in onPreComposition()
904 void Layer::onPostComposition() { in onPostComposition()
934 bool Layer::isVisible() const { in isVisible()
935 const Layer::State& s(mDrawingState); in isVisible()
940 Region Layer::latchBuffer(bool& recomputeVisibleRegions) in latchBuffer()
961 Layer::State& front; in latchBuffer()
962 Layer::State& current; in latchBuffer()
964 Reject(Layer::State& front, Layer::State& current, in latchBuffer()
1130 const Layer::State& s(getDrawingState()); in latchBuffer()
1139 uint32_t Layer::getEffectiveUsage(uint32_t usage) const in getEffectiveUsage()
1150 void Layer::updateTransformHint(const sp<const DisplayDevice>& hw) const { in updateTransformHint()
1169 void Layer::dump(String8& result, Colorizer& colorizer) const in dump()
1171 const Layer::State& s(getDrawingState()); in dump()
1217 void Layer::dumpStats(String8& result) const { in dumpStats()
1221 void Layer::clearStats() { in clearStats()
1225 void Layer::logFrameStats() { in logFrameStats()
1231 Layer::LayerCleaner::LayerCleaner(const sp<SurfaceFlinger>& flinger, in LayerCleaner()
1232 const sp<Layer>& layer) in LayerCleaner()
1236 Layer::LayerCleaner::~LayerCleaner() { in ~LayerCleaner()