diff options
| author | 2009-08-07 12:01:29 -0700 | |
|---|---|---|
| committer | 2009-08-10 12:58:05 -0700 | |
| commit | e186431c33fa332b585e37f6b5ef5efd39b359cf (patch) | |
| tree | 471d016198876e139ecd39934e126c6485cb47d4 | |
| parent | fc40bc2e35f73f6efac91f9acca14d8e116a7565 (diff) | |
Expose a variation of the createRenderer API that works on a plain Surface.
| -rw-r--r-- | include/ui/Surface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/Surface.h b/include/ui/Surface.h index 5665c1fda4..d5dad31d00 100644 --- a/include/ui/Surface.h +++ b/include/ui/Surface.h @@ -35,8 +35,8 @@ namespace android { // --------------------------------------------------------------------------- class BufferMapper; +class IOMX; class Rect; -class MediaPlayerImpl; class Surface; class SurfaceComposerClient; struct per_client_cblk_t; @@ -181,7 +181,7 @@ private: // mediaplayer needs access to ISurface for display friend class MediaPlayer; friend class Test; - friend class MediaPlayerImpl; + friend class IOMX; const sp<ISurface>& getISurface() const { return mSurface; } status_t getBufferLocked(int index); |