summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-06-20 17:51:20 -0700
committerMathias Agopian <mathias@google.com>2012-06-28 17:27:19 -0700
commit1b03149f3533db04e72e088d3fdd09d0087ca594 (patch)
tree1921dc46aa06157ba601ef3a14a68f47cb024bf9 /services/surfaceflinger/Layer.h
parent3094df359d1e6e2ae8ca4e935cc093f563804c96 (diff)
downloadframeworks_native-1b03149f3533db04e72e088d3fdd09d0087ca594.zip
frameworks_native-1b03149f3533db04e72e088d3fdd09d0087ca594.tar.gz
frameworks_native-1b03149f3533db04e72e088d3fdd09d0087ca594.tar.bz2
get rid of GraphicPlane
its functionality is now folded into DisplayHardware there will be more changes in that area.
Diffstat (limited to 'services/surfaceflinger/Layer.h')
-rw-r--r--services/surfaceflinger/Layer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index 32456f4..d47f2e8 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -66,18 +66,17 @@ public:
// LayerBase interface
virtual void setGeometry(HWComposer::HWCLayerInterface& layer);
virtual void setPerFrameData(HWComposer::HWCLayerInterface& layer);
- virtual void onDraw(const Region& clip) const;
+ virtual void onDraw(const DisplayHardware& hw, const Region& clip) const;
virtual uint32_t doTransaction(uint32_t transactionFlags);
virtual void lockPageFlip(bool& recomputeVisibleRegions);
virtual void unlockPageFlip(const Transform& planeTransform, Region& outDirtyRegion);
virtual bool isOpaque() const;
- virtual bool needsDithering() const { return mNeedsDithering; }
virtual bool isSecure() const { return mSecure; }
virtual bool isProtected() const;
virtual void onRemoved();
virtual sp<Layer> getLayer() const { return const_cast<Layer*>(this); }
virtual void setName(const String8& name);
- virtual void validateVisibility(const Transform& globalTransform);
+ virtual void validateVisibility(const Transform& globalTransform, const DisplayHardware& hw);
// LayerBaseClient interface
virtual wp<IBinder> getSurfaceTextureBinder() const;
@@ -137,7 +136,6 @@ private:
PixelFormat mFormat;
const GLExtensions& mGLExtensions;
bool mOpaqueLayer;
- bool mNeedsDithering;
// page-flip thread (currently main thread)
bool mSecure; // no screenshots