diff options
author | Mathias Agopian <mathias@google.com> | 2010-06-02 23:28:45 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-06-04 18:57:40 -0700 |
commit | 96f0819f81293076e652792794a961543e6750d7 (patch) | |
tree | 7107b6013f5fc9dea615fcf7b97405b0ebb47eda /libs/surfaceflinger/LayerBuffer.h | |
parent | a81aea7eca3233a4328301464cec5dfcc319b89e (diff) | |
download | frameworks_native-96f0819f81293076e652792794a961543e6750d7.zip frameworks_native-96f0819f81293076e652792794a961543e6750d7.tar.gz frameworks_native-96f0819f81293076e652792794a961543e6750d7.tar.bz2 |
clean-up client management.
simplified things a lot, the biggest change is that the concept
of "ClientID" is now gone, instead we simply use references.
Change-Id: Icbc57f80865884aa5f35ad0d0a0db26f19f9f7ce
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.h')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.h b/libs/surfaceflinger/LayerBuffer.h index d38dde2..413b8a4 100644 --- a/libs/surfaceflinger/LayerBuffer.h +++ b/libs/surfaceflinger/LayerBuffer.h @@ -53,7 +53,7 @@ class LayerBuffer : public LayerBaseClient public: LayerBuffer(SurfaceFlinger* flinger, DisplayID display, - const sp<Client>& client, int32_t i); + const sp<Client>& client); virtual ~LayerBuffer(); virtual void onFirstRef(); @@ -189,7 +189,7 @@ private: { public: SurfaceLayerBuffer(const sp<SurfaceFlinger>& flinger, - SurfaceID id, const sp<LayerBuffer>& owner); + const sp<LayerBuffer>& owner); virtual ~SurfaceLayerBuffer(); virtual status_t registerBuffers(const ISurface::BufferHeap& buffers); |