Loading services/surfaceflinger/Layer.cpp +0 −9 Original line number Diff line number Diff line Loading @@ -672,10 +672,6 @@ void Layer::draw(const RenderArea& renderArea, bool useIdentityTransform) { onDraw(renderArea, Region(renderArea.getBounds()), useIdentityTransform); } void Layer::draw(const RenderArea& renderArea) { onDraw(renderArea, Region(renderArea.getBounds()), false); } void Layer::clearWithOpenGL(const RenderArea& renderArea, float red, float green, float blue, float alpha) const { auto& engine(mFlinger->getRenderEngine()); Loading @@ -684,11 +680,6 @@ void Layer::clearWithOpenGL(const RenderArea& renderArea, float red, float green engine.drawMesh(getBE().mMesh); } void Layer::clearWithOpenGL(const RenderArea& renderArea) const { getBE().compositionInfo.firstClear = true; computeGeometry(renderArea, getBE().mMesh, false); } void Layer::setCompositionType(int32_t displayId, HWC2::Composition type, bool /*callIntoHwc*/) { if (getBE().mHwcLayers.count(displayId) == 0) { ALOGE("setCompositionType called without a valid HWC layer"); Loading services/surfaceflinger/Layer.h +0 −3 Original line number Diff line number Diff line Loading @@ -407,7 +407,6 @@ public: */ void draw(const RenderArea& renderArea, const Region& clip); void draw(const RenderArea& renderArea, bool useIdentityTransform); void draw(const RenderArea& renderArea); /* * doTransaction - process the transaction. This is a good place to figure Loading Loading @@ -505,8 +504,6 @@ public: // ----------------------------------------------------------------------- void clearWithOpenGL(const RenderArea& renderArea) const; inline const State& getDrawingState() const { return mDrawingState; } inline const State& getCurrentState() const { return mCurrentState; } inline State& getCurrentState() { return mCurrentState; } Loading Loading
services/surfaceflinger/Layer.cpp +0 −9 Original line number Diff line number Diff line Loading @@ -672,10 +672,6 @@ void Layer::draw(const RenderArea& renderArea, bool useIdentityTransform) { onDraw(renderArea, Region(renderArea.getBounds()), useIdentityTransform); } void Layer::draw(const RenderArea& renderArea) { onDraw(renderArea, Region(renderArea.getBounds()), false); } void Layer::clearWithOpenGL(const RenderArea& renderArea, float red, float green, float blue, float alpha) const { auto& engine(mFlinger->getRenderEngine()); Loading @@ -684,11 +680,6 @@ void Layer::clearWithOpenGL(const RenderArea& renderArea, float red, float green engine.drawMesh(getBE().mMesh); } void Layer::clearWithOpenGL(const RenderArea& renderArea) const { getBE().compositionInfo.firstClear = true; computeGeometry(renderArea, getBE().mMesh, false); } void Layer::setCompositionType(int32_t displayId, HWC2::Composition type, bool /*callIntoHwc*/) { if (getBE().mHwcLayers.count(displayId) == 0) { ALOGE("setCompositionType called without a valid HWC layer"); Loading
services/surfaceflinger/Layer.h +0 −3 Original line number Diff line number Diff line Loading @@ -407,7 +407,6 @@ public: */ void draw(const RenderArea& renderArea, const Region& clip); void draw(const RenderArea& renderArea, bool useIdentityTransform); void draw(const RenderArea& renderArea); /* * doTransaction - process the transaction. This is a good place to figure Loading Loading @@ -505,8 +504,6 @@ public: // ----------------------------------------------------------------------- void clearWithOpenGL(const RenderArea& renderArea) const; inline const State& getDrawingState() const { return mDrawingState; } inline const State& getCurrentState() const { return mCurrentState; } inline State& getCurrentState() { return mCurrentState; } Loading