summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.h
diff options
context:
space:
mode:
authorEric Hassold <hassold@google.com>2011-02-23 14:10:04 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-02-23 14:10:04 -0800
commitd9896edfa3f523ba5fd80506e73b8c509b02db43 (patch)
tree4f4764f3fea0a172780762276616832ed67dd285 /services/surfaceflinger/Layer.h
parent1beb48055208bca57c6bf9d26676f86386e3a5dc (diff)
parent2ae32bdd7579ca6a9a336c74613185b21d39c8d4 (diff)
downloadframeworks_base-d9896edfa3f523ba5fd80506e73b8c509b02db43.zip
frameworks_base-d9896edfa3f523ba5fd80506e73b8c509b02db43.tar.gz
frameworks_base-d9896edfa3f523ba5fd80506e73b8c509b02db43.tar.bz2
Merge "Correctly handle translucency of device-specific pixel formats"
Diffstat (limited to 'services/surfaceflinger/Layer.h')
-rw-r--r--services/surfaceflinger/Layer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index 2b38414..bccc900 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -75,7 +75,8 @@ public:
virtual uint32_t doTransaction(uint32_t transactionFlags);
virtual void lockPageFlip(bool& recomputeVisibleRegions);
virtual void unlockPageFlip(const Transform& planeTransform, Region& outDirtyRegion);
- virtual bool needsBlending() const { return mNeedsBlending; }
+ virtual bool needsBlending(const sp<GraphicBuffer>& buffer) const;
+ virtual bool needsBlending() const;
virtual bool needsDithering() const { return mNeedsDithering; }
virtual bool needsFiltering() const;
virtual bool isSecure() const { return mSecure; }