summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-07-02 18:11:53 -0700
committerMathias Agopian <mathias@google.com>2009-07-02 18:50:51 -0700
commitd763b5d9197e01662cafa376e1227e53e0463a3c (patch)
treea8e3a71cf4581453aa4bbfe5c70c0f870756c2d3 /include/ui
parent0926b6184adb9bd1d4a432c7d4de0be58c602cc2 (diff)
downloadframeworks_base-d763b5d9197e01662cafa376e1227e53e0463a3c.zip
frameworks_base-d763b5d9197e01662cafa376e1227e53e0463a3c.tar.gz
frameworks_base-d763b5d9197e01662cafa376e1227e53e0463a3c.tar.bz2
get rid of references to MemoryDealer in SurfaceFlinger
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/ISurfaceComposer.h2
-rw-r--r--include/ui/ISurfaceFlingerClient.h2
-rw-r--r--include/ui/SurfaceComposerClient.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/ui/ISurfaceComposer.h b/include/ui/ISurfaceComposer.h
index ce2b94c..1788265 100644
--- a/include/ui/ISurfaceComposer.h
+++ b/include/ui/ISurfaceComposer.h
@@ -92,7 +92,7 @@ public:
virtual sp<ISurfaceFlingerClient> createConnection() = 0;
/* retrieve the control block */
- virtual sp<IMemory> getCblk() const = 0;
+ virtual sp<IMemoryHeap> getCblk() const = 0;
/* open/close transactions. recquires ACCESS_SURFACE_FLINGER permission */
virtual void openGlobalTransaction() = 0;
diff --git a/include/ui/ISurfaceFlingerClient.h b/include/ui/ISurfaceFlingerClient.h
index e93a4fa..932a70a 100644
--- a/include/ui/ISurfaceFlingerClient.h
+++ b/include/ui/ISurfaceFlingerClient.h
@@ -56,7 +56,7 @@ public:
status_t writeToParcel(Parcel* parcel) const;
};
- virtual void getControlBlocks(sp<IMemory>* ctl) const = 0;
+ virtual sp<IMemoryHeap> getControlBlock() const = 0;
virtual sp<ISurface> createSurface( surface_data_t* data,
int pid,
diff --git a/include/ui/SurfaceComposerClient.h b/include/ui/SurfaceComposerClient.h
index 2a35256..286f885 100644
--- a/include/ui/SurfaceComposerClient.h
+++ b/include/ui/SurfaceComposerClient.h
@@ -149,7 +149,7 @@ private:
// after assignment
status_t mStatus;
per_client_cblk_t* mControl;
- sp<IMemory> mControlMemory;
+ sp<IMemoryHeap> mControlMemory;
sp<ISurfaceFlingerClient> mClient;
SurfaceFlingerSynchro* mSignalServer;
};