diff options
author | Mathias Agopian <mathias@google.com> | 2010-04-20 17:55:49 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-04-21 22:28:20 -0700 |
commit | 1b5e1021b8c9b87113b70d94dfb7b50f8c5b01b8 (patch) | |
tree | 0647a68e25a4a6329cc0572a75dee37b8fd3dc19 /libs/surfaceflinger/LayerBlur.h | |
parent | 940bc0545faf7394419ce1f8d890e1e2ec0d3183 (diff) | |
download | frameworks_native-1b5e1021b8c9b87113b70d94dfb7b50f8c5b01b8.zip frameworks_native-1b5e1021b8c9b87113b70d94dfb7b50f8c5b01b8.tar.gz frameworks_native-1b5e1021b8c9b87113b70d94dfb7b50f8c5b01b8.tar.bz2 |
more surfaceflinger cleanups
get rid of the "fake rtti" code, and use polymorphism instead.
also simplify how we log SF's state (using polymorphism)
Change-Id: I2bae7c98de4dd207a3e2b00083fa3fde7c467922
Diffstat (limited to 'libs/surfaceflinger/LayerBlur.h')
-rw-r--r-- | libs/surfaceflinger/LayerBlur.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/surfaceflinger/LayerBlur.h b/libs/surfaceflinger/LayerBlur.h index 5b63dec..380f587 100644 --- a/libs/surfaceflinger/LayerBlur.h +++ b/libs/surfaceflinger/LayerBlur.h @@ -31,11 +31,6 @@ namespace android { class LayerBlur : public LayerBaseClient { public: - static const uint32_t typeInfo; - static const char* const typeID; - virtual char const* getTypeID() const { return typeID; } - virtual uint32_t getTypeInfo() const { return typeInfo; } - LayerBlur(SurfaceFlinger* flinger, DisplayID display, const sp<Client>& client, int32_t i); virtual ~LayerBlur(); @@ -43,6 +38,7 @@ public: virtual void onDraw(const Region& clip) const; virtual bool needsBlending() const { return true; } virtual bool isSecure() const { return false; } + virtual const char* getTypeId() const { return "LayerBlur"; } virtual uint32_t doTransaction(uint32_t flags); virtual void setVisibleRegion(const Region& visibleRegion); |