diff options
| author | John Reck <jreck@google.com> | 2014-06-12 17:07:13 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-06-10 21:38:43 +0000 |
| commit | e830c37a4a499c439083afc56c64fa178ea5889d (patch) | |
| tree | 2827de0c15a7711f5286839d3f1db3b30181aec8 /libs/hwui/RenderNode.h | |
| parent | 0811cbee480524521750f43ac2a608cf84dba8aa (diff) | |
| parent | a447d29c65fb811cd184775a3476101a1cede929 (diff) | |
| download | frameworks_base-e830c37a4a499c439083afc56c64fa178ea5889d.zip frameworks_base-e830c37a4a499c439083afc56c64fa178ea5889d.tar.gz frameworks_base-e830c37a4a499c439083afc56c64fa178ea5889d.tar.bz2 | |
Merge "Fix DA bugs"
Diffstat (limited to 'libs/hwui/RenderNode.h')
| -rw-r--r-- | libs/hwui/RenderNode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index 393d4ea..f0f6e7c 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -39,6 +39,7 @@ #include <androidfw/ResourceTypes.h> +#include "DamageAccumulator.h" #include "Debug.h" #include "Matrix.h" #include "DeferredDisplayList.h" @@ -125,6 +126,10 @@ public: return mDisplayListData && mDisplayListData->hasDrawOps; } + bool hasProjectionReceiver() const { + return mDisplayListData && mDisplayListData->projectionReceiveIndex >= 0; + } + const char* getName() const { return mName.string(); } |
