diff options
author | Eric Hassold <hassold@google.com> | 2011-02-23 14:10:04 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-02-23 14:10:04 -0800 |
commit | d9896edfa3f523ba5fd80506e73b8c509b02db43 (patch) | |
tree | 4f4764f3fea0a172780762276616832ed67dd285 /services/surfaceflinger/Layer.h | |
parent | 1beb48055208bca57c6bf9d26676f86386e3a5dc (diff) | |
parent | 2ae32bdd7579ca6a9a336c74613185b21d39c8d4 (diff) | |
download | frameworks_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.h | 3 |
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; } |